Agamemnus
Agamemnus

Reputation: 1426

Facebook Graph API: getting an access token with an app ID and secret

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!

Upvotes: 5

Views: 4806

Answers (2)

Ning Chen
Ning Chen

Reputation: 742

  1. Goes to "https://developers.facebook.com/tools/explorer"
  2. 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.

Upvotes: 6

Phat H. VU
Phat H. VU

Reputation: 2370

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.

Upvotes: 1

Related Questions