Skip to content

Unable to get the full amount of comments #790

Answered by neon-ninja
Magicen0722 asked this question in Q&A
Discussion options

You must be logged in to vote

I'm unable to reproduce this issue. The code:

set_cookies("cookies.txt")
post = next(get_posts(post_urls=["https://www.facebook.com/nintendo/posts/5417215251696217"], options={"comments": True}))
print(f"Comments: {post['comments']}, Top level comments: {len(post['comments_full'])}, Replies: {sum(len(c['replies']) for c in post['comments_full'])}")

outputs:

Comments: 336, Top level comments: 113, Replies: 129

for me. Try update to version 0.2.57 with pip install -U facebook-scraper.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Magicen0722
Comment options

@neon-ninja
Comment options

@Magicen0722
Comment options

@neon-ninja
Comment options

@Magicen0722
Comment options

Answer selected by Magicen0722
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants