Facebook Graph API - Getting Started with Facebook Graph API

by
Jeremy Canfield |
Updated: October 28 2023
| Facebook Graph API articles
Create your App.
- Go to https://developers.facebook.com and select My Apps.
- Select Create App.
- Select Other > Business.
- 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.
- In the top nav bar, select Tools > Graph API Explorer.
- Select Get Page Access Token.
- 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