I want to log in to Facebook, but it is showing me nothing in the command window. I think it is not working. Any corrections??
Here is my code:
import requests
s = requests.session()
url1 = "https://m.facebook.com/"
payload = {
'lsd': 'AVqAE5Wf',
'charset_test': '€,´,€,´,水,Д,Є',
'version': 1,
'ajax': 0,
'width': 0,
'pxr': 0,
'gps': 0,
'm_ts': 1392974963,
'li': 'cxwHUxatQiaLv1nZEYPp0aTB',
'email' : 'andrew.whiteman77@gmail.com',
'pass' : 'xxxxxx',
'login' : 'Log In',
}
r = requests.post(url1,data=payload)
if 'Find Friends' in r.text or 'Two-factor authentication required' in r.text:
print("Password found: "+ passw)
Any help would be appreciated!!