facebook - Getting the right access token -


i'd application read posts group.

to it, got access token in following url:

https://developers.facebook.com/tools/explorer?method=get&path=404425692946289%2ffeed

and call que following url:

https://graph.facebook.com/404425692946289/feed?access_token=debug_token_generated_from_above_url

and works charm.

but can't results when call url above token generated using application id , secret:

https://graph.facebook.com/oauth/access_token?client_id=myid&client_secret=mysecret&grant_type=client_credentials <--- token generated url not work! =(

i receiving following data:

{ "data": [

] }

i supposedly have read_stream extended permission configured on application.

one way check self permissions token in api explorer has, call /me/permissions

in addition grant_type=client_credentials app tokens. need user token likely. please review documentation got information from.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -