kevinzg / facebook-scraper

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

When using credentials, the locale/language used is based on the browser/device location rather than fb settings #919

Open NegiXNodoka789 opened 2 years ago

NegiXNodoka789 commented 2 years ago

for post in get_posts( page_name, pages=page_count, credentials=( "username", "password" ) ):

I get this warning when running it on my local machine UserWarning: Facebook language detected as tl_PH - for best results, set to en_US

I get this warning when running it on my server UserWarning: Facebook language detected as zh_CN - for best results, set to en_US

I'm getting these warning when using credentials even though my facebook account's language setting is in EN US

image

I don't have this problem when using cookies but I'd rather want to use credentials since I don't want to remember to change the cookies for my app/tool every 10-11 months

lingo169 commented 11 months ago

@neon-ninja

I have the same question. pls help