Facebook Open Graph API Examples – How to get the access token?

As long as you only want to test…

Use the Graph API Explorer to generate a token with the permissions you want.

Selection Permissions pop-up

Don’t hesitate to select all of them.

Then, just copy/paste the token at the end of each graph.facebook.com URL. For instance:

https://graph.facebook.com/v1.0/me/friends?access_token=<ACCESS_TOKEN>

The day you want to get the access taken for an app…

Start by reading this doc.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)