[使用FB Graph API使用FB Live但未审查的应用使用FB Graph API在Facebook页面上发布

问题描述 投票:0回答:1

我想使用Graph API在我自己的Facebook页面上发布。为此,我创建了一个应用程序。

[当应用程序处于开发模式时,我可以使用具有适当权限的页面访问令牌在页面上发布内容。但是,这里的问题是,除非我启用该应用程序,否则该帖子对公众不可见。帖子仅对页面管理员可见。

但是当我启用我的应用程序时,我正在从FB API中获得例外。

{
"error": {
    "message": "(#200) If posting to a group, requires app being installed in the group, and \\\n          either publish_to_groups permission with user token, or both pages_read_engagement \\\n          and pages_manage_posts permission with page token; If posting to a page, \\\n          requires both pages_read_engagement and pages_manage_posts as an admin with \\\n          sufficient administrative permission",
    "type": "OAuthException",
    "code": 200,
    "fbtrace_id": "abcdefgh"
}

}

我将我的App启用后重新生成了页面访问令牌,但仍然出现上述错误。我检查了一些资源,说我需要提交我的应用程序以供审核。但我不想经历漫长的过程。

[因此,还有其他方法可以使用API​​在Facebook页面上发布,而无需将我的应用进行审查吗?其他任何类型的令牌(即页面访问令牌以外的令牌)在这里都可以工作吗?

请注意,我想确保我发表的帖子可以被所有人看到,而不仅仅是页面管理员。

facebook facebook-graph-api facebook-opengraph chatbot
1个回答
0
投票

[从https://developers.facebook.com/tools/explorer/app_id生成访问令牌,1.选择您的facebbok应用2.从用户/页面选项中选择您的FB页面3.添加权限pages_read_engagement和pages_manage_posts这些权限是必需的,4.无需单击“生成访问令牌”按钮,将页面添加到应用程序后,页面的新令牌会自动生成。5.只需复制令牌并重试发布即可。

© www.soinside.com 2019 - 2024. All rights reserved.