KyleAMathews / facebook-export

Tools to help administer your Facebook groups
MIT License
104 stars 29 forks source link

Only 25 likes by post are retrieved #10

Open maxim-uvarov opened 9 years ago

maxim-uvarov commented 9 years ago

I used facebook-export -a XXX -g 164688833612008 -d

And I found that it retrieves data for only 25 likes by post, even if there were more.

As I understand to get more likes it should use paging. Is it possible to add a such function?

KyleAMathews commented 9 years ago

Possibly we can use the same trick with likes that we use here for comments?

If you'd like to experiment with this and report back, that'd be great.

maxim-uvarov commented 8 years ago

It works! Thank you!

url = "https://graph.facebook.com/#{ program.group_id }/feed?limit=100&access_token=#{ program.accessToken }& fields=from,to,message,picture,link,name,caption,description,created_time,updated_time,likes.limit(999),comments.limit(999)"

KyleAMathews commented 8 years ago

Cool! This would be a nice thing to add to facebook-export. Would you like to create a PR to add your change?