kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.47k stars 635 forks source link

Error in followers count from page #466

Open AndreaWozzup opened 3 years ago

AndreaWozzup commented 3 years ago

Hi, I have a problem with scraper. When I run the get_page_info on a page identifier with a number in it I get the wrong followers count.

My code: facebook_scraper.get_page_info(identifier, **{'cookies': cookies, 'allow_extra_requests': False})

if identifier is set to "02blog.it" (https://www.facebook.com/02blog.it) I get this result:

{ "about": "News & Media Website", "likes": 2 }

Whilst the page has 8865 likes image

I'm guessing the 2 is coming from the page name? Thanks for your help

neon-ninja commented 3 years ago

Duplicate of https://github.com/kevinzg/facebook-scraper/issues/415. I already fixed this in https://github.com/kevinzg/facebook-scraper/commit/93d33b785a9b1dd454915d470a11f11a05df6d46. I've pushed a new release as 0.2.46, try update to that

AndreaWozzup commented 3 years ago

thank you!

duongnguyen1996 commented 1 year ago

I only get the total number of likes. How can I get total number of followers 'Kana, Montreal, Quebec. 5,941 likes · 7 talking about this. Kana is a way of being. It is a way of looking at the world, and how we can make things...' image