我正在尝试使用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很复杂!