DEV Community

Discussion on: Python Facebook Posts Scraper with Requests and BeautifulSoup4

Collapse
 
hhsm95 profile image
Hugo Sandoval

Hi, the key to scraping on Facebook is the use of a User Agent from an old phone, as in this case use a Nokia C3. To extract the comments from the posts, it is necessary to enter the post and locate the CSS selectors that identify the comments, it is possible that I update the post adding this functionality.