I tried running this small snippet of code:
from pyfacebook import GraphAPIapi = GraphAPI(access_token="token")
but I got the error:
ImportError: cannot import name 'GraphAPI' from 'pyfacebook' (/home/ec2-user/.local/lib/python3.7/site-packages/pyfacebook/__init__.py)
I am using amazon web services EC2. What is the solution to this?
I tried running this small snippet of code:
from pyfacebook import GraphAPI
api = GraphAPI(access_token="token")
but I got the error:ImportError: cannot import name 'GraphAPI' from 'pyfacebook' (/home/ec2-user/.local/lib/python3.7/site-packages/pyfacebook/__init__.py)
I am using amazon web services EC2. What is the solution to this?