This seems like a silly question, but I can't figure it out!
Trying to follow the example in the book to use openAuth2.0 and facebook's
graphAPI, we need to
from facebook import GraphAPI
as suggested, I installed pyfacebook
first via apt-cache search pyfacebook --> apt-get install python-facebook
(but that seemed not to be it)
and then via
git clone https://github.com/sciyoshi/pyfacebook.git
However, it seems that neither one of these defines class GraphAPI()
so that I get a web2py error :
from facebook import GraphAPI
ImportError: cannot import name GraphAPI
Are these both the wrong versions of a python facebook module?
Where can I get the proper one?
Thanks,
Luis.