我从我的 Facebook 墙上检索了所有帖子,但现在我想使用post_id
. 我正在使用以下代码,但得到下面提到的异常
{Response: responseCode: 200, graphObject: null, error: {HttpStatus: -1, errorCode: -1, errorType: null, errorMessage: null}, isFromCache:false}
我的代码:
Request likeRequest = new Request(Session.getActiveSession(), fBPostId + "/likes", null, HttpMethod.POST, new Request.Callback()
{
@Override
public void onCompleted(Response response)
{
Log.d("Like clicked",response.toString());
}
});
Request.executeBatchAndWait(likeRequest);