Bootstrap FreeKB - Facebook Graph API - Getting Started with Facebook Graph API
Facebook Graph API - Getting Started with Facebook Graph API

Updated:   |  Facebook Graph API articles

Create your App.

  1. Go to https://developers.facebook.com and select My Apps.
  2. Select Create App.
  3. Select Other > Business.
  4. Give your app a name and select Enter.

You should then see your app. Make note of your App ID (you'll need this in a moment)

 

Generate your Access Token.

  1. In the top nav bar, select Tools > Graph API Explorer.
  2. Select Get Page Access Token.
  3. In Permissions, add User Data > Email.

 

You can now use curl to see if you are able to make a GET request.

]$ curl --request GET --url "https://graph.facebook.com/<your app ID>?access_token=<your access token>"
{"link":"https:\/\/www.facebook.com\/games\/?app_id=123456789","name":"default","id":"123456789"}

 

 

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter dadd79 in the box below so that we can be sure you are a human.