DEV Community

Discussion on: Python Facebook Posts Scraper with Requests and BeautifulSoup4

Collapse
 
nassera2014 profile image
nassera2014

Hi, Thank you for sharing this, that's works well, but when i run the program, i get just 6 posts from a facebook page? how can i get more posts ?
Thank you.

Collapse
 
chalst1988 profile image
Surya Teja Challapalli • Edited

Hi @nassera2014

In order to get more number of posts I suggest to use Facebook_Scrapper Library where one can configure get_posts() with number of pages and posts per page to be scrapped. And by the way you could get all granular level info of reactions, like, comments, post_id, post date, etc.,

Please find the below link for your information,
pythonzero.com/2021/12/how-to-extr...