How to Solve NameError: name 'Client' is not defined -- fbchat

Solution: Import the 'Client' module

To Solve the error, add the following line to the top of your code.

from fbchat import Client

 

For more information:
Python fbchat Client