facebook - 使用 Graph API Explorer 创建的帖子成功但任何人都无法使用
问题描述
我已经在使用 Facebook Graph API 创建的页面中发布了帖子,它返回了一个成功的响应,其中包含新创建的 post_id、其永久链接等。
但是,只有我的用户(页面的创建者)可以看到以这种方式发布的帖子。所有其他人(包括其他主页管理员)都无法使用它。
这是带有“成功”响应的请求:https ://i.ibb.co/gPdkTDV/Capture-de-cran-2020-03-30-a-15-38-28.png
截图中的固定链接 URL:https ://www.facebook.com/113704106942055/posts/114980426814423/ (除我的用户外,所有人都无法使用)
从我的帐户可见帖子:https ://i.ibb.co/j8n4d7T/Capture-de-cran-2020-03-30-a-15-50-12.png
知道为什么此内容不可用吗?
笔记:
- 此请求与read-after-write文档中显示的相同
- 它也与端点,发布部分中显示的相同
/feed
- 我使用Get Access Tokens of Pages You Manage获取我的页面访问令牌,没有任何错误
- 我正在使用 Python sdk
facebook
并遇到此错误,然后尝试使用原始 Pythonrequests
模块。我在想问题来自于其中一个的误用,但由于结果与官方 Facebook Graph API Explorer 相同,我不知道问题可能出在哪里。 - 创建的帖子处于公开模式。
- 每个人都可以看到使用通常的 Web 界面(不是通过 FB Graph API/请求)创建的帖子。
- 页面设置看起来不错:它处于已发布模式,即使访客也可以在页面上发布帖子和照片。
- 没有应用程序链接到此页面。
来自 Graph API Explorer 的调试信息:
==== Query
curl -i -X POST \
"https://graph.facebook.com/v6.0/feed?message=Coucou%20!&fields=created_time%2Cfrom%2Cid%2Cmessage%2Cpermalink_url&access_token=<access token sanitized>"
==== Access Token Info
{
"perms": [
"manage_pages",
"pages_show_list",
"publish_pages",
"business_management",
"public_profile"
],
"page_id": 113704106942055,
"user_id": <hidden>,
"app_id": 2816738828445148
}
==== Parameters
- Query Parameters
{
"message": "Coucou !",
"fields": "created_time,from,id,message,permalink_url"
}
- POST Parameters
{}
==== Response
{
"created_time": "2020-03-30T13:38:10+0000",
"from": {
"name": "Recipe Ideas Generator",
"id": "113704106942055"
},
"id": "113704106942055_114980426814423",
"message": "Coucou !",
"permalink_url": "https://www.facebook.com/113704106942055/posts/114980426814423/",
"__debug__": {}
}
任何提示或导致解决方案将不胜感激。谢谢!