Facebook: get list of pages that a user is admin of

后端 未结 10 525
陌清茗
陌清茗 2020-12-07 08:50

I\'m using the graph api.

I have a logged in user, and want to get back a list of page ids of all the pages that the user is an admin of.

Is there a way of d

10条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-07 09:26

    go to this address

    https://developers.facebook.com/tools/explorer/431294226918345/?method=GET&path=me%2Faccounts%3Ftype%3Dpage`

    Just click on get Access token and go to extended Permission

    Check the manage_pages checkbox

    and click Get Access Token

    Then under FQL write this

    me/accounts?type=page

    Click on Submit . and you will get all page lists that logged in user admin

提交回复
热议问题