English 中文(简体)
如何得出全部意见/类似意见? (Facebook)
原标题:how to get total comments/likes count? (Facebook)

例如,I wanna通过图表(me/albums )获得一个小册子。

The result didnt include comments / likes total count.

还有一些人说:

您必须提供一个称为“离职”的参数。

但是,没有“邮资”。

I use graph path: "uid/feed" or "me/home"

fb服务器的回报包括总数。

I m 希望了解一个物体的总评论/类似数字(albums/photo/video)。

帕勒兹与我们分享你们的任何想法,祝福!

问题回答

Try to use something like this as the URL to fetch what you need:

https://graph.facebook.com/albumID/photos?fields=id,likes.summary(true),comments.summary(true)&access_token=XXXXXX

http://stackoverflow.com/questions/32085722/how-to-count-all-of-the-s-and-comments-in-a-facebook-photo-album>a post,详细说明了类似问题。

您必须使用<代码>/id/<linkion>检索这一数据。 首先,请见《手册》(http://code>/me/albums或/<uid>/albums)。

供评论:





相关问题
Facebook Connect login dialog not working

I am using Facebook Connect for iPhone and following the official instructions. I use the following code to display the login dialog: FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:...

Facebook App Profile Tab is Empty ... No Content Displayed?

I can view my application via the http://apps.facebook.com/myapplication/ link and the content shows up correctly. I also added the application as a tab to a facebook page. However, when viewing the ...

Facebook Platform error: "Object cannot be liked"

I m working on a Facebook Application that generates wall posts. In testing these posts, I ve discovered that the Facebook Platform action of "liking" a post is failing. The specific error message ...

how to call showPermissionsDialog() in php (facebook api)?

I was reading over the documentation yet I could not figure out how to call Facebook.showPermissionsDialog() in php include_once ./facebook-platform/php/facebook.php ; $facebook = new Facebook(my ...

Facebook connect

If I plug in the facebook connect into my website, How can I prevent double signups? Lets say I have a user that s already signed up to my site but he clicked the connect with facebook, is there a ...

热门标签