Now fixed in the book, with link to the Python SDK.

On Saturday, June 11, 2011 2:55:04 AM UTC-4, Anthony wrote:

> It appears the book is incorrect. I think you're looking for Facebook 
> python-sdk (https://github.com/facebook/python-sdk), not pyfacebook.
>  
> Anthony
>
> On Saturday, June 11, 2011 2:40:25 AM UTC-4, Luis Goncalves wrote:
>
>> 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. 
>>
>

Reply via email to