I've been searching for a few months now and I'm just tired of searching...
I have a PERSONAL facebook account. It is not a business account or a fan account or anything like that. I want to automagically put the photos on my personal website. This is what I've found: Hundreds of examples about how easy it is, but they only work with fan accounts. A few claims that if I spend a few years making a Horoku app, I might be able to get it to work. Many blogs about people who tried this, gave up, installed Wordpress and converted everything to Wordpress, tried all the Facebook photo widgets only to find that none of them work, and finally giving up.
So... Is there an example ANYWHERE of someone who wrote some code to fetch the names of all albums shared with the public and all the pictures shared with the public for a personal Facebook account? Also - this is NOT a request for a widget or app. I asked this question twice before and both times it was closed right away because the first person buzzing by said I was asking for a Wordpress widget or app.
https://graph.facebook.com/PAGE_ID/photos
(no access token required) and parse the returned json to display the photos (or use any number of tutorials / prepared scripts to display the photos).user_photos
permission and store the short-term access token you are given.https://graph.facebook.com/me/albums?access_token=ACCESS_TOKEN
, and find the id
of the album you want to share.https://graph.facebook.com/ALBUM_ID/photos.fields(source)&access_token=ACCESS_TOKEN
and parse the returned json object to use the urls returned in each source
object as the src
for <img>
tags to display these photos.