2010/9/13 Albert Abril <[email protected]>:
> So, the helloFacebook app works in trunk, and not in current yet?
yes, you  can make it work with current, but redirection (i.e. the
"next" parameter in logout_url/login_url)
is not supported by Auth class in a proper way in current (1.83.2)


>
> On Mon, Sep 13, 2010 at 11:32 AM, Michele Comitini
> <[email protected]> wrote:
>>
>> Yes it is correct, in trunk you can find:
>>
>>    def logout_url(self, next="/"):
>>        del self.session.token
>>        return next
>>
>>
>> 2010/9/13 H. Das <[email protected]>:
>> > Hi, in the documentation for oauth20 facebook section in chapter 8,
>> > the following correction should be made:
>> >
>> > # import required modules
>> > from facebook import GraphAPI, GraphAPIError
>> >
>> > (the import of GraphAPIError is missing in the documentation)
>> >
>> > Also, i noticed that logging out when using this method doesn't work
>> > properly all the time... I get redirected to a page that says 'None'.
>> > I think making the following correction to a method in
>> > oauth20_account.py solves that:
>> >
>> > def logout_url(self, next="/"):
>> >        return next
>> >
>> > Am I correct? I'm not as skilled as most of you here, so I could be
>> > wrong ;-)
>
>

Reply via email to