Facebook graph API - OAuth Token
- by Simon R
I'm trying to retrieve data using the new graph API, however the token I'm retriving from OAuth doesn't appear to be working.
The call I'm making is as follows;
$token = file_get_contents('https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=<app_id>&client_secret=<app secret>');
This returns a token…