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 <himel.p....@gmail.com>:
> 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