Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>first, you'll need to set up an application on facebook, and specify you'll be using it on a website. You can do that at <a href="http://developers.facebook.com/apps/" rel="nofollow">http://developers.facebook.com/apps/</a></p> <p>since you mention c# (which is vary hard to work with), here's the best way to do it in JS:</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script language="javascript"&gt; var facebookappid = '##FACEBOOK_APP_ID##'; //this is the site owners facebook id. note she must make all her galleries and pictures public var userid = '8979567465474'; //load the facebook SDK window.fbAsyncInit = function() { FB.init({appId: facebookappid, status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); //get albums var albums; FB.api('/'+userid+'/albums/', 'get', function(response){ if (!response || response.error) { albums = response.error; } else { albums = response; } }); &lt;/script&gt; </code></pre> <p>From there you can take your albums variable, which is going to give you an array of album ids. Loop through each album, and use the same code FB.api to get '/'+userid+'/'+albumid+'/photos'</p> <p>You can use the Graph API explorer to view all of the information you get back from each array <a href="https://developers.facebook.com/tools/explorer?method=GET" rel="nofollow">https://developers.facebook.com/tools/explorer?method=GET</a></p> <p>Here's an example of the data returned from my profile pictures album: <a href="https://developers.facebook.com/tools/explorer?method=GET&amp;path=159665340734292%2Fphotos%2F" rel="nofollow">https://developers.facebook.com/tools/explorer?method=GET&amp;path=159665340734292%2Fphotos%2F</a></p> <p>Hopefully that helps! If you need further explanation just let me know :)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload