Closed asif-ca closed 1 year ago
Code i am trying to run is:
from fbthon import Facebook
from fbthon.login import Web_Login
user_agent = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36'}
email = "My_login_email"
password = 'My_fb_password'
login = Web_Login(email,password, headers = user_agent)
cookie = login.get_cookie_str()
fb = Facebook(cookie)
post = fb.post_parser("https://web.facebook.com/stories/1820175268041336/UzpfSVNDOjE4MzY0MTEyNDQ3Mjc3Mw==/?bucket_count=9&source=story_tray")
print(post.post_file)
Make sure your email and password are correct
Hi,
Even email and password is correct it is always giving this error
Is there any reason of this?