facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

Selecting FB base url in get_posts

Open pablobots opened this issue 1 year ago • 3 comments

Hello! I get the FB mobile base URL (https://m.facebook.com/) in the get_posts method, but it doesn't have the information I need. How can I force the get_posts method to get the FB base URL (https://facebook.com/)?

Thank you! Pablo

pablobots avatar Aug 02 '22 13:08 pablobots

I checked the code and the method get_posts is setting the url "https://facebook.com/" but I get results from "https://m.facebook.com/", any suggestions?

pablobots avatar Aug 02 '22 15:08 pablobots

You can reproduce this issue on this page: https://www.facebook.com/ladanesaperu

pablobots avatar Aug 02 '22 18:08 pablobots

The scraper only works with m.facebook.com. facebook.com is much harder to work with.

neon-ninja avatar Aug 02 '22 21:08 neon-ninja