问题
https://developers.facebook.com/docs/facebook-login/access-tokens/:
Here is what I put in my browser:
https://graph.facebook.com/?endpoint&key=value&access_token=[THE APP ID]|[THE APP SECRET]
Here is the result.. an error message:
(#803) Some of the aliases you requested do not exist: endpoint
Help!
回答1:
- Goes to "https://developers.facebook.com/tools/explorer"
- Copy the code of "Access Token"
I use "Access Token" as Token for Rfacebook Packages. and it works.
Hope it can work on your side.
回答2:
The error told everything : endpoint alias does not exist.
If you want to generate the Facebook access token to test, just use the Graph API Explorer:
https://developers.facebook.com/tools/explorer
Or, you should use Oauth process to grant the Facebook app to get access_token.
来源:https://stackoverflow.com/questions/22594189/facebook-graph-api-getting-an-access-token-with-an-app-id-and-secret