java - https://graph.facebook.com/v2.10/me/photos?access_token=xxxxxx returning error -


i trying posts of specific facebook brand page using following curl command

https://graph.facebook.com/v2.10/me/photos?access_token=xxx

getting following error

{   "error": {     "message": "an active access token must used query information current user.",     "type": "oauthexception",     "code": 2500,     "fbtrace_id": "dh1t17dmqr+"   } } 

i have used following curl command active access token https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=xxx&client_secret=yyy

facebook app have been created page admin , client id & client secret used app access token.

earlier using page-id instead of "me" identifier post using above curl , working fine specific facebook account.

where page-id id of specific facebook page post want get.

now, same configuration not working other page.

the page restricted age or location, have use user token or page token /page-id/photos.

more information tokens:


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -