1

这就是我的 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。授权申请的步骤是什么?

4

1 回答 1

1

我想您需要向该端点发出 HTTP POST 以发布新的提要故事,facebook 提供“method=post”GET 参数来“伪造”帖子,这可能对您有用。

https://graph.facebook.com/USER_ID/feed?access_token=TOKEN&message=HelloFacebook&method=post

wrt回复你会得到一个ID:

{
   "id": "499801468_1001264776039"
}

更多详情请参考

对于 GraphAPI - http://developers.facebook.com/docs/reference/api/#publishing

另请检查您的许可标签

于 2013-08-12T10:17:51.397 回答