Skip to content

Facebook login "TypeError: 'NoneType' object is not subscriptable" #1

@Kozubi

Description

@Kozubi

Hello,
After providing correct id/pass this exception occurs:

Traceback (most recent call last):
File "<pyshell#10>", line 1, in
cilent = fbchat.Client(login,pass)
File "C:\Python34\lib\site-packages\fbchat\client.py", line 63, in init
if not self.login():
File "C:\Python34\lib\site-packages\fbchat\client.py", line 106, in login
self.fb_dtsg = soup.find("input", {'name':'fb_dtsg'})['value']
TypeError: 'NoneType' object is not subscriptable

Any ideas?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions