我正在创建一个应用程序,该应用程序将从我管理的Facebook页面中获取潜在客户,然后将其更新到Google表格中。
我已经设置了Webhook,使用以下权限生成了长寿命的页面访问令牌
当我尝试使用POST请求将页面订阅到我的应用程序时{page_id}/subscribed_apps
,出现以下错误
{
"error": {
"message": "(#100) The parameter subscribed_fields is required.",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "Fv7RbO8tYqo"
}
}
Run Code Online (Sandbox Code Playgroud)
研究表明,facebook在v3.2 api中添加了一个名为subscribed_fields的新参数,但是我不确定如何将值传递给该参数,或者我缺少什么?