post 消息发送到墙上时出现权限错误
Permission error when post message to wall
使用 POST 时 post 到 fb feed 时出现以下错误。使用 GET 方法可以正常工作。添加需要权限吗
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 manage_pages \n and
publish_pages permission with page token; If posting to a page, \n
requires both manage_pages and publish_pages as an admin with \n
sufficient administrative permission, I20191112-19:45:36.182(5.5)?
type: OAuthException, I20191112-19:45:36.182(5.5)? code: 200,
I20191112-19:45:36.183(5.5)? fbtrace_id: AJbuFD_SHxv-s8iOWWyZIVg
}
graph.post("me/feed", wallPost, function(err, res) {
console.log(res); // { id: xxxxx}
});
谢谢
无法再发布到用户个人资料:https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#login-4-24
您只能使用 Sharing 选项,但是没有 API 并且 publish_actions
消失了。
使用 POST 时 post 到 fb feed 时出现以下错误。使用 GET 方法可以正常工作。添加需要权限吗
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 manage_pages \n and publish_pages permission with page token; If posting to a page, \n
requires both manage_pages and publish_pages as an admin with \n
sufficient administrative permission, I20191112-19:45:36.182(5.5)?
type: OAuthException, I20191112-19:45:36.182(5.5)? code: 200, I20191112-19:45:36.183(5.5)? fbtrace_id: AJbuFD_SHxv-s8iOWWyZIVg }
graph.post("me/feed", wallPost, function(err, res) {
console.log(res); // { id: xxxxx}
});
谢谢
无法再发布到用户个人资料:https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#login-4-24
您只能使用 Sharing 选项,但是没有 API 并且 publish_actions
消失了。