实时更新页面提要
在这里我要真正更新“页面”,将字段添加到状态以接收“状态” 页面,我尝试添加为“链接”字段以接收订阅作品,但我确实这样做 发布链接时没有收到通知,真的很难 正确信息
{ “对象”:“用户”, "callback_url": "http://*/fbcallback.php", “字段”:[ “喂养”, “关联”, “地位” ], “活跃”:真实 ?
http://bugs.developers.facebook.net/show_bug.cgi id=18048#c40
here I am for real update "page", add fields to status to receive the "status" of
pages, I try to add as "link" fields to receive the subscription works but I do
not receive notification when I publish a link, it's really difficult to have
correct information
{
"object": "user",
"callback_url": "http://*/fbcallback.php",
"fields": [
"feed",
"link",
"status"
],
"active": true
}
http://bugs.developers.facebook.net/show_bug.cgi?id=18048#c40
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据 https://developers.facebook.com/docs/reference/api 上的文档/实时/:
看起来您正在发布一个 JSON 对象,而您应该做的是包含这些变量的普通帖子(就像您正在执行 with 操作一样) =“帖子”)。
顺便请注意,fields 参数需要有一个 CSV 值,因此将是“feed、link、status”,并且没有“active”属性。
As per the documentation at https://developers.facebook.com/docs/reference/api/realtime/ :
It seems like you're posting a JSON object while you should do is a normal post with these variables (as if you're doing a with action="post").
Note, by the way, that the fields parameter needs to have a CSV value, so that would be "feed,link,status", and that there's no 'active' attribute.