Adding Facebook Photos to my personal website? - facebook

sorry if this has been asked before, but I was wondering how you would be able to grab individual Facebook photos (not entire albums) and put them directly onto a personal website. I am not familiar with how to use the Facebook Photo API, so if that is the correct method, would someone be able to explain how to use it?
The website's language is HTML with some CSS.

Just use the Embedded Posts feature
For fine tuned programming, you haven't stated your website language or what is the exact issue you are having or anything like that, so you need to be more specific.
Consider reading the documentation https://developers.facebook.com/docs/graph-api/reference/v2.2/photo and then come back with a specific question about implementation.

Related

collect picture from comments in facebook page status

I currently need to collect pictures-comment (someone comment by pasting a picture) from facebook page group
I have done some research and find that
1.Support for this hasn't yet been added to the Graph API and as with many of the other messaging APIs, it's currently only avaialable for testing (i.e you must be a developer of the app to use it presently)
from
View attachments in threads
2.You have to use the old php SDK until graph supports attachments
from
Posting Attachment Facebook Graph API
could any one provide some codes to me?
I need to know
Are the two approaches really works?? If yes, then... If no, I guess i will need to write/find a crawler (but it again sounds difficult as facebook group page is dynamic web)
What should I do if I want to follow 1st approach?
Should I register as developer and set up an app and...? (I have no experience in setting up facebook app and would appreciate any useful step-by-step tutorial)
If I am going the 2nd approach (php SDK), are there are tutorial as I have no idea what should I do next.
I know java, c++ and little js but facebook apis are something really new to me.
Really appreciate any help.

Use Facebook to share albums/pictures with a page

I don't know if it's already possible but I am trying to implement a "sharing system" on my site. Basically I have a blog and I want to add a section where people can share one picture or one entire album so it can be visible on the site itself.
Since I don't want to re-invent the wheel, I would love to do that via Facebook. I already have a Facebook Page for my site, so it would be really interesting if users could directly share the photos they already uploaded via Facebook with my existing page. I thought about using "tags" but it's too limited for what I wanted to do.
Anyone can help ?
Facebook didn't allowed to use the feature of shared albums (https://www.facebook.com/help/151724461692727/) in SDK, so you need to find an alternative.

fb-walls module for drupal

I'm learning my way around drupal a little bit by making someone a site. I'm asked to display facebook wall posts in a block.
I found this module. Now I have no clue how to get started on this.
What I do know is that in drupal>admin>configuration>facebook-wall I need to fill in an application ID of the wall and then the secret code. But I have no clue on how retrieve that. I searched here in SO and using google but all I'm lead to is the facebook developer's pages where it's talking about app creation and developer's stuff I don't understand (eventhough I know a little basic php).
I simply don't know where to start looking, so I guess all i'm asking is for a little more understandable resource to figure this out.
You would want to start here
https://developers.facebook.com/
And since your developing for a website you would want to click the website option, which brings you to here.
https://developers.facebook.com/docs/guides/web/
If you read that page, not even a quarter of the way down, you would see something about Authentication... Which in the first paragraph makes mention of your AppID, and gives you some other links to follow.
https://developers.facebook.com/docs/authentication
Which talks about how the authentication process works, and then there is
https://developers.facebook.com/apps/
Which is used to register you application, which the paragraph it is linked in mentions you need to do in order to use Facebook on your website (which is what your trying to do). Clicking on that link should be pretty self explanatory at that point as to how to get your AppID and Secret.
There you go, I have reduced the amount of reading you now need to do to a level that should be manageable....
Hope this helps.

Facebook UI documentation

I am trying to create a bookmarklet to process some Facebook data about my contacts, what will possibly require to load another profile pages and see who my friends are.
I am trying to know which urls should I query to get this information. And also how to interact with FB's UI libraries and/or elements.
Is there any documentation for this?
You probably are looking for Facebook JavaScript SDK.
Here is documentation on the FB.ui(): http://fbdevwiki.com/wiki/FB.ui
EDIT: it's updated by user contributions and lately it hasn't been changed much

Is the Like Button the only currently supported method for posting a webpage to Facebook?

The Like Button seems like a very specific, and not very elegant in my opinion, solution to allowing users to post a web page to their Facebook profile. You have two options: 1) Use the iFrame solution, which allows very little flexibility in functionality, integration or appearance or 2) the XFBML solution which requires loading the entire Facebook javascript SDK just for one little "share this" button.
Is the Like Button the only way that is currently supported by Facebook to allow sharing of content to a user's Facebook profile? It seems to be the only method mentioned anywhere in the Facebook developer documentation, and I've had trouble finding any alternatives elsewhere on the internet.
There was a service called Facebook Share:
http://www.facebook.com/sharer.php?u=<your url>&t=<your title>
I guess it's still working but I'm seeing people having troubles using it and Facebook is forcing developers to use the Like Plugin.
Now:
Most likely your visitors will have the Facebook JS Library cached on their browsers
Facebook uses CDNs and their servers are super fast
Even if it doesn't fit in your design, don't forget that users are used to it
You can create a Facebook Application and use the Graph API but it's way more complicated
Don't use their services!
Actually, Facebook share is the simplest and most natural solution to share content on your FB profile.
You may want to read this article.