Reza
Reza

Reputation: 426

Generate long time facebook user access token for Fan page

I can generate 60 min valid user token via Graph API Explore, but for extending it

https://graph.facebook.com/oauth/access_token?             
    client_id=APP_ID&
    client_secret=APP_SECRET&
    grant_type=fb_exchange_token&
    fb_exchange_token=EXISTING_ACCESS_TOKEN 

we need to have app_ID and APP_secret. Is APP_ID my userID and APP_Secret my password ?

Do I need to have a facebook application for extending user access token to manage my facebook fan page (I dont have any FB application).

Upvotes: 1

Views: 1822

Answers (1)

mb21
mb21

Reputation: 39209

Yes, you need a FB application (it's actually quite quick to set up). Or to just play around, try the Graph Explorer.

Upvotes: 1

Related Questions