Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First, you need to get an access token (there is no getting around this). This is done via an OAuth Dialog where the user signs-in and provides the required permission. You will have to request the "offline_access" and "read_stream" permissions to do what you are trying to. Getting the access_token is pretty simple. Follow the instruction here: <a href="http://osnapz.wordpress.com/2010/04/23/using-asp-net-with-facebooks-graph-api-and-oauth-2-0-authentication/" rel="nofollow">http://osnapz.wordpress.com/2010/04/23/using-asp-net-with-facebooks-graph-api-and-oauth-2-0-authentication/</a></p> <p>Also, read up Facebook's documentation: <a href="http://developers.facebook.com/docs/authentication/" rel="nofollow">http://developers.facebook.com/docs/authentication/</a></p> <p>You will have to store your access token somewhere for later use (this is the infinite session key)</p> <p>After you get the access token, you can call the graph API directly:</p> <pre>https://graph.facebook.com/me/feed/?access_token=YOUR-TOKEN-HERE</pre> <p>OR you can use the Facebook C# SDK (recommended).</p> <p>FYI, the link you posted is out-dated and Facebook will not support that method soon.</p> <p><strong>UPDATE - MANUAL WAY OF GETTING AN ACCESS TOKEN:</strong></p> <p>Since you are only interested in your data, so you will only have to get the access token ONCE. Of course, you will have to do this again if you change your password.</p> <p>I will detail a manual way of getting your token.</p> <ol> <li>Make sure you are using Firefox. It actually displays JSON strings.</li> <li>Navigate to this URL. Add your App ID, callback-url (this should match the domain you in your registration). I have added a lot of permissions.</li> </ol> <p><a href="https://www.facebook.com/dialog/oauth?display=popup&amp;client_id=YOUR-APP-ID&amp;redirect_uri=YOUR-CALLBACK-URL&amp;scope=offline_access,read_stream,email,read_insights,user_events,user_groups,user_interests,user_likes,user_location,user_notes,user_photo_video_tags,user_photos,user_relationships,user_religion_politics,user_status,user_videos,user_website,user_work_history,read_friendlists,read_requests,friends_likes,friends_location,friends_notes,friends_photo_video_tags,friends_photos,friends_relationships,friends_religion_politics,friends_status,friends_videos,friends_website,friends_work_history,user_checkins,friends_checkins" rel="nofollow">https://www.facebook.com/dialog/oauth?display=popup&amp;client_id=YOUR-APP-ID&amp;redirect_uri=YOUR-CALLBACK-URL&amp;scope=offline_access,read_stream,email,read_insights,user_events,user_groups,user_interests,user_likes,user_location,user_notes,user_photo_video_tags,user_photos,user_relationships,user_religion_politics,user_status,user_videos,user_website,user_work_history,read_friendlists,read_requests,friends_likes,friends_location,friends_notes,friends_photo_video_tags,friends_photos,friends_relationships,friends_religion_politics,friends_status,friends_videos,friends_website,friends_work_history,user_checkins,friends_checkins</a></p> <ol> <li><p>Once you authenticate and "Allow", Facebook will redirect to your callback URL is a "code" parameter. Make a note of this parameter.</p></li> <li><p>Now call another URL, add your app id, api secret, and the code.</p></li> </ol> <p><a href="https://graph.facebook.com/oauth/access_token?client_id=YOUR-APP-ID&amp;redirect_uri=YOUR-CALLBACK-URL&amp;client_secret=API-SECRET&amp;code=CODE-YOUR-COPIED-BEFORE" rel="nofollow">https://graph.facebook.com/oauth/access_token?client_id=YOUR-APP-ID&amp;redirect_uri=YOUR-CALLBACK-URL&amp;client_secret=API-SECRET&amp;code=CODE-YOUR-COPIED-BEFORE</a></p> <ol> <li><p>Calling the URL above will display the access token in the browser. Save this access token. Now you can use this token to make API calls on your behalf.</p></li> <li><p>Remember, you will have go through this process again if you change your password.</p></li> </ol> <p>This is a manual way and only intended in your scenario where you are only interested in your data. I do this for testing purposes.</p>
    singulars
    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.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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