import facebook
token = 'meu token'
graph = facebook.GraphAPI(token)
graph.put_object("me", "feed", message="Hello, World!")
Friends,
I'm using Ubuntu and Python 2.7 and 3.5.2
The following error occurs:
"graph = facebook.GraphAPI (ACCESS_TOKEN) AttributeError: module 'facebook' has no attribute 'GraphAPI'
I've already researched Stack Overflow here but no answer solved my problem.
I installed the Facebook-SDK from here:
Any suggestions?