Facebook Graph API + Facebook Pages

后端 未结 9 1585
温柔的废话
温柔的废话 2021-02-06 09:17

Using Facebook\'s Graph API, given a username xyz (assuming they\'ve authenticated my site), how do I get a list of all of the facebook pages that the user administers?

9条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-06 10:02

    You can get list of pages from a simple Facebook Graph API Hit.

    https://graph.facebook.com/{user-id}/accounts?access_token={access-token}
    

    It will give a list of pages for user which he/she has created.

提交回复
热议问题