kevinzg / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
2.45k stars 633 forks source link

wrong password when use the credential option (i've used the cookies but my account got perma ban when using it) #937

Open Tuan0304 opened 1 year ago

Tuan0304 commented 1 year ago

i'm using this line of code: posts= get_posts(groups, pages=pages,encoding='utf-8',timeout=60, options={"comments": True,"posts_per_page": posts},credentials=( "100083635347851", "LamQuynhyghx|" )) and i am 100% sure this password is correct but when i run the code it always tell me wrong password, i even try with other accounts, same result, can someone pls help me?

alankar66 commented 1 year ago

I am also facing the same issue

Tuan0304 commented 1 year ago

I am also facing the same issue

i ended up with creating a lot of facebook account, then extract their cookie, combine with node js and mysql to rotate the cookies when they get banned. this approach are just clunky as hell but for some reason, catching TemporarilyBanned exception method isn't work for me, i always get "during handling of the above exception, another exception occurred" when catching them, i got two TemporarilyBanned at once, which cause my python crash.