Since OAuthAccount is required to be subclassed anyway, I just
overrided the old loggout_url method with the new one in trunk. Works
great! :-) Thanks Michele.

On Sep 13, 9:11 am, Michele Comitini <[email protected]>
wrote:
> 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