pablobarbera / Rfacebook

Dev version of Rfacebook package: Access to Facebook API via R
http://cran.r-project.org/web/packages/Rfacebook
350 stars 250 forks source link

getPost not retrieving the correct no. of likes #149

Open sks1987 opened 6 years ago

sks1987 commented 6 years ago

I am writing this to check with a small issue i am facing while using this package.

When i focus on a particular post in a page- I get to see the total likes on that post. However, when I use the getPost function to look at the users who liked that post, the number of people I am getting who liked that post depends on the value of "n" i am specifying.

So for eg., if total # of likes for a particular post = 55K. When i use getpost function to get a list of users who have liked that post & give the following details:

getpost(post='232323****', token=token, n=100000, likes=TRUE, comments=FALSE, reaction= FALSE)

the # of people who have liked the post comes out be 96K while it should be maximum 55K as we got when we checked initially about which post is the most trending in that page.

Am i misunderstanding the use of n in getpost? Can you please explain the use of n, n.likes & n.comments in your package. Hoping for a reply soon.