strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.
https://github.com/strohne/Facepager/releases
506 stars 198 forks source link

pagenation doesnt seem to work on facebook #68

Closed bbzkarim closed 7 years ago

bbzkarim commented 7 years ago

hello, i add in the post in the node id up top, then i set max pages to 100 and it ruturns only 200 from the 1,400 comments on that post. how do i get them all, gotta catch em all :D

strohne commented 7 years ago

pls provide more details about the node id and the settings. and try to set the limit parameter. maybe you run into privacy setting issues? see graph api reference.

bbzkarim commented 7 years ago

Hello, attached is my screenshot after I run with an error,

I am using an object ID 10154926705568437 which is a video post with over 1.4k comments on it, but now cant seem to reach the data itself anymore... My question here is: does Facepager automatically do pagination for the APIs response or is it not supported?

Thanks for the quick reply too

On Sat, Aug 19, 2017 at 11:45 PM, strohne notifications@github.com wrote:

pls provide more details about the node id and the settings. and try to set the limit parameter. maybe you run into privacy setting issues? see graph api reference.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/strohne/Facepager/issues/68#issuecomment-323549479, or mute the thread https://github.com/notifications/unsubscribe-auth/AduZZbbui2bmMojqF6yhM_3vULyccGKjks5sZ1d5gaJpZM4O8cdT .

-- Thank you, Karim B

strohne commented 7 years ago

Yes, paging is handled automatically. But it seems like the access to comments on this specific post via the API is limited. I can get no more than 317 comments, but the summary statistic shows me 1876 comments on top level and 4846 comments including replies.

This could be due to privacy settings. Sorry, no solution.

btw: your screenshot is missing, github ignores email attachments.

bbzkarim commented 7 years ago

error facepager

Oops. Sorry here you go. I know Facebook inflates their comment count I only use it as an indicator. I think we solved my original issue. But why can't I run anything anymore? Uuh I think I broke something...

strohne commented 7 years ago

Well, you simply forgot to define where the Object ID should kick in. Add parameter <post> (left side) with value <Object ID> (right side).

bbzkarim commented 7 years ago

Thanks. Will do that and confirm back here tomorrow

On Aug 20, 2017 11:55 PM, "strohne" notifications@github.com wrote:

Well, you simply forgot to define where the Object ID should kick in. Add parameter (left side) with value (right side).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/strohne/Facepager/issues/68#issuecomment-323614514, or mute the thread https://github.com/notifications/unsubscribe-auth/AduZZYdA-VHGXk0ts0KsIeRKYHjZ18S6ks5saKtGgaJpZM4O8cdT .