question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to Increase the number of returned comments

See original GitHub issue

Hi @neon-ninja , Good Morning from Algeria; Just would like to know how to set the number of retrieved comment of particular posts? I tried this for post in get_posts("zuck", options={"comments": True,"limit": 13000, "progress": True},cookies="cookies.txt" ): and this for post in get_posts("zuck", options={"comments": 13000, "progress": True}, cookies="cookies.txt" ): but the number of retrieved comments was 5000? is there a limit of facebook-scraper ? Im wondering if you can help??? How can I set a number of retrieved comments? Can I use facebook-scraper in order to collect data in real-time?? Thank you very much in advance!!!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
neon-ninjacommented, Apr 12, 2022

You’re not wrong, this is a limitation of m.facebook.com. Perhaps you could check the total comment count, and only extract comments if it’s increased significantly.

0reactions
MatteoSerafinocommented, Apr 6, 2022

Hi @neon-ninja when you say:

It depends what you mean by real-time. You can run it regularly. For example, you could run it every minute to check for new posts. So, near real-time.

How could we do that? As far as I can see the DateTime of comments are not in time order, so a real-time scrape would require a complete scrape and a check for new comments by means of their ID. Am I wrong?

Of course, I refer to posts younger than 24 hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I increase the number of results returned?
1 Answer 1 ... From Open Data Maker HTTP API: By default, results are returned in pages of 20 records at a time....
Read more >
Modern Comments in Word - Microsoft Support
Modern Comments in Word · A consistent experience · Stay in control · Choose how you view comments · Resolve comment threads ·...
Read more >
How to get count of comments for a specific post?
The first line would set a HubL variable which getst the number of comments using the length HubL filter. The second line would...
Read more >
3 Steps to Improve Your Product Descriptions with Returns Data
Good product descriptions can improve the customer experience. Learn how to improve product content by analyzing returns data.
Read more >
how to limit number of comments by query - php - Stack Overflow
This can be done either in PHP or jQuery. The benefit to doing it in PHP (really via the SQL Query) is that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found