Read more

Using the Facebook Graph API

Dominik Schöler
September 16, 2014Software engineer at makandra GmbH

App tokens

For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an instead use the combination of app_id|app_secret as your access token. This token will never expire, and should suffice for retrieving basic information from the Graph API.

http://graph.facebook.com/endpoint?key=value&access_token=app_id|app_secret
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

Since you don't make requests for a certain user, the Graph API might respond with an error in case you're requesting a resource that requires authenticating as a human being.

Pagination

Facebook has quite a powerful pagination, which unfortunately is not too obvious. Read more Show archive.org snapshot .

Time-based pagination

Parameter: until, since, limit, next, previous

Posted by Dominik Schöler to makandra dev (2014-09-16 10:55)