简体   繁体   English

如何使用Android的Facebook sdk3.1的Facebook页面ID

[英]How to Facebook page id using Facebook sdk3.1 for Android

在我的Android应用程序中,我需要发布登录到他拥有的用户页面。如果有多个页面,我需要所有页面的id 。如何获取要发布的页面的id 。请帮助我。

To retrieve the list of the pages you can query the following end point 要检索页面列表,您可以查询以下端点

/me/accounts

This end point along with manage_pages permission will give you the list of the pages the User administers and you can use the same along with the Page's access_token provided with each to post on the corresponding pages. 该端点以及manage_pages权限将为您提供用户管理的页面列表,您可以将其与每个页面提供的页面的access_token一起使用,以张贴在相应的页面上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM