我已采取的步骤:
我创建了一个状态为“开发中”的 Facebook 应用
创建 Webhook,订阅 Page>Feed。APPID/订阅响应是
{
"data": [
{
"object": "page",
"callback_url": "https://example.com/webhook/",
"active": true,
"fields": [
{
"name": "feed",
"version": "v3.2"
}
]
}
]
}
我可以从仪表板接收示例提要字段更新!
Dashboard webhook page shows red warning "Applications will only be able to receive test webhooks sent from the app dashboard while they are in development. No production data, including that of app admins, developers, and testers, will be delivered unless the app is live."
创建测试用户并授予权限 manage_pages、publish_pages
订阅了测试用户创建的测试页面。TESTPAGEID/subscribed_apps 响应为 {success: true}
{
"data": [
{
"category": "Business",
"link": "https://example.com/",
"name": "Application Name",
"id": "<APPID>",
"subscribed_fields": [
"feed"
]
}
]
}
现在,当我在测试页上发帖、点赞和评论时,它不会收到任何更新。我错过了什么?