(所有路由都相对于https://graph.facebook.com/v3.2,除非指定,默认为GET)
有效的步骤:
当我尝试发表评论或喜欢推荐时,问题就会开始
当我尝试推荐时:
POST /<recommendation_id>/likes
我收到一个错误:
{
"error": {
"message": "Unsupported post request. Object with ID <recommendation_id> does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "AmsWYqiYcS+"
}
}
当我尝试发布推荐时:
POST /<recommendation_id>/comments {message: 'some'}
我收到一个错误:
{
"error": {
"message": "Permissions error",
"type": "OAuthException",
"code": 200,
"error_subcode": 2069006,
"is_transient": false,
"error_user_title": "User Cannot See This App",
"error_user_msg": "The user who owns object 2,269,569,259,406 cannot see this app.",
"fbtrace_id": "BzRCVZFnPk"
}
}
应用具有以下权限:publish_pages, manage_pages
应用是开发人员。模式,我拥有应用和页面。
有什么建议吗?
预先感谢, 迈克