moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
77 stars 28 forks source link

Unable to obtain all comments,Only 10 results #20

Closed 526319491 closed 8 months ago

526319491 commented 9 months ago
MAX_COMMENTS = 1000 
gen = get_posts(
            post_urls=[POST_ID],
            options={"comments": MAX_COMMENTS, "progress": True},
            cookies=cookiefile
        )

POST_ID is : https://mbasic.facebook.com/100078036108194/posts/pfbid0yB1ipsREMfte9hLXjJbhVxnkfC3Px2q1vbLnXknRFbFQ4gKyvBEuBsNu54m27dtbl

Only 10 results

526319491 commented 9 months ago

Is there a solution

moda20 commented 9 months ago

@526319491 I am not sure what the problem is here, please paste more info, did it work before ? did it not ? when and after which update it stopped. you need to do some effort here

moda20 commented 8 months ago

@526319491 were you able to get this fixed ? should we close this issue ?

Raymondkltse commented 7 months ago

the mbasic return 10 comments only, i am also looking at how the script work to load "View more comment" button.