Similar to a problem from last month, suddenly fb logins do not work anymore.
Have tried with a number of accounts, and all result in output like the following example (user and pass masked)
It seems something has changed again.
Using latest fbchat-1.0.1
Example:
user@wwwserver# ./echobot.py
Logging in ...
Traceback (most recent call last):
File "./echobot.py", line 21, in
bot = EchoBot("", "")
File "./echobot.py", line 8, in init
fbchat.Client.init(self,email, password, debug, user_agent)
File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 73, in init
self.login(email, password, max_tries)
File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 318, in login
raise Exception('Cannot login: max_tries should be at least one')
Exception: Cannot login: max_tries should be at least one
A lot of fbchat's code has been updated in the new version, you're probably passing 0 to the parameter max_tries somewhere. Check out the documentation
Also, next time, remember to include some of your code ;)
Similar to a problem from last month, suddenly fb logins do not work anymore.
Have tried with a number of accounts, and all result in output like the following example (user and pass masked)
It seems something has changed again.
Using latest fbchat-1.0.1
Example: user@wwwserver# ./echobot.py Logging in...
Traceback (most recent call last):
File "./echobot.py", line 21, in
bot = EchoBot("", "")
File "./echobot.py", line 8, in init
fbchat.Client.init(self,email, password, debug, user_agent)
File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 73, in init
self.login(email, password, max_tries)
File "/usr/local/lib/python2.7/dist-packages/fbchat/client.py", line 318, in login
raise Exception('Cannot login: max_tries should be at least one')
Exception: Cannot login: max_tries should be at least one