我已经用restfb编写了很多程序,但我不能计算评论,只有评论没有答案,图片可以更好地说明这一点。enter image description here Example post comment facebook 我的代码 Post post = clienteFacebook.fetchObject,在本例中为57条评论。在https://developers.facebook.com/docs/graph-api/reference
我正在努力升级到图形api,我将restfb jar从1.6 (v1.x)升级到1.13(v2.3),我的应用程序做了两件事-- 1)将文档发布到facebook 2) --在该帖子上得到评论。(DefaultFacebookClient.java:1154) at com.restfb.DefaultFacebookClient.makeRequestAndProcessResponse(DefaultFacebookClient.java:1087) at com.restf
://graph.facebook.com/me?09 PM com.restfb.DefaultWebRequestor execute
[java] FINE: Facebook responded with HTTP status code: Received Facebook error response of type OAuthException: An active access token must be used to query[java
登录到我的web应用程序的任何用户那里获取数据,因为我在这里手动获取我的访问权如何在使用facebook sdk登录时为任何用户获取数据。while trying to communicate with Facebook: Facebook request failed (HTTP status code null)
at com.restfb.DefaultFacebookClient.makeRequestAndProcessResponse(DefaultFacebookClient.java</em
我正在使用restFB API运行一个简单的代码,在我创建令牌访问之后,程序正在运行,从我的Facebook帐户中检索数据,但是过了一段时间,我收到了这条异常消息。Exception in thread "main" com.restfb.exception.FacebookOAuthException: Received Facebook error response:688)
at com.restfb.DefaultFacebookClient.makeRequestAn
com.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException:com.restfb.DefaultFacebookClient.throwFacebookResponseStatusExceptionIfNecessary(DefaultFacebookClient.java:688)
at com.restfb.DefaultFacebookClient.m
使用下面的类似,我能够阅读我在Facebook页面上的帖子收到了多少反应(详细)。https://restfb.com/cookbook/现在我需要阅读有多少人已经看到了我特别需要限制日期的帖子。基于https://developers.facebook.com/docs/graph-api/reference/post/seen/,我写了以下代码:我的代码: int postNumber=0(DefaultFaceboo