这是我的logcat作为回复显示的内容
{
Response: responseCode: 403,
graphObject: null,
error: {
HttpStatus: 403,
errorCode: 200,
errorType: OAuthException,
errorMessage: (#200) The user hasn't authorized the application to perform this action
},
isFromCache:false
}
由于此错误,我无法发布到Facebook。授权申请的步骤是什么?
答案 0 :(得分:1)
我想您需要向该端点发出HTTP POST以发布新的Feed故事,facebook提供“method = post”GET参数来“伪造”帖子,这可能适合您。
https://graph.facebook.com/USER_ID/feed?access_token=TOKEN&message=HelloFacebook&method=post
w.r.t回复你会得到一个id:
{
"id": "499801468_1001264776039"
}
了解更多详情,请参阅
for GraphAPI - http://developers.facebook.com/docs/reference/api/#publishing
另请检查您的许可标签