Restfb令人困惑的异常消息

时间:2012-07-11 16:44:18

标签: facebook restfb

我正在尝试使用RestFB库发布到Facebook群组,但我得到了:

com.restfb.DefaultFacebookClient makeRequestAndProcessResponse: 

Facebook responded with HTTP status code 403 and response body: {"error":{"message":"(#200) Posts where the actor is a page cannot also include a target_id","type":"OAuthException","code":200}}

甚至认为我的访问令牌是一个应用程序访问令牌。

 {
         "name": "LottoShop",
         "access_token": "ACCESS_TOKEN_CODE",
         "category": "Application",
         "id": "xxxx"
      },

我在调用

时获得上述访问令牌
https://graph.facebook.com/me/accounts?access_token=MY_OWN_ACCESS_TOKEN

在我个人看来,这个Facebook Graph API很复杂!

0 个答案:

没有答案