I would like to build a web app that allows users to post THEIR Facebook images to my web app to share with the greater community. Does anyone know if this is possible, or which part of the Facebook API would allow this?
My initial digging into the Facebook API seems to require a Facebook ID for any access to images….this is fine when the user is “posting” his/her image to my app….but when another use comes to the website (logged into Facebook or NOT), I want to be able to bring up that first user’s image and display it – obviously I might not have any Facebook ID at that point.
Said another way, I’d like the user to basically just provide the Facebook URL to the image he/she wants to share, then I’ll store that URL in my database and when a different user comes to the site, I’ll load the image from the Facebook URL and display it on my site.
The Graph API for Photo (login required) will return the URL for the image in various sizes. Once you get the proper access token you can fetch a photo’s Graph API entry and then just extract and save the CDN image you want.