开发者

check if app can manage page

开发者 https://www.devze.com 2023-04-06 13:13 出处:网络
I have a problem here. I have three parameters which I want to ch开发者_如何学Pythoneck if they go along together:

I have a problem here. I have three parameters which I want to ch开发者_如何学Pythoneck if they go along together:

  • an app id
  • an page id
  • an impersonated app access token for manage_pages permission for the given page id.

What I want to do now is to check if the given app really can access and manage the given page with the given access token. In detail - I want to check if the app could post on the pages wall in behalf of the page.


Access https://graph.facebook.com/pageID?fields=access_token&access_token=... and if it returns a valid result, that means you have proper manage_pages permission, which is the permission you need to post images as an admin of the page.

0

精彩评论

暂无评论...
验证码 换一张
取 消