Looks like self.args=dict(scope='publish_stream,email,user_hometown')
works! :)

On Fri, Nov 25, 2011 at 5:54 PM, Tito Garrido <[email protected]> wrote:

> I've tried to do:
>     def __init__(self, g):
>         OAuthAccount.__init__(self, g,
>                               YOUR_CLIENT_ID,
>                               YOUR_CLIENT_SECRET,
>                               self.AUTH_URL,
>                               self.TOKEN_URL,
>                               args=dict(scope='email'))
>
> But it didn't work either :-/
>
>
> On Fri, Nov 25, 2011 at 4:50 PM, Tito Garrido <[email protected]>wrote:
>
>> Hi Folks,
>>
>> I've been using facebook auth described on the book:
>> http://web2py.com/book/default/chapter/08?search=facebook#Other-Login-Methods-and-Login-Forms
>>
>> Is there a way to increase the scope of the authentication? I'd like to
>> have email and publish streams...
>>
>> I was wondering if using "fbconsole" on auth.settings.login_next would
>> solve the problem... but fbconsole opens a new window using
>> fbconsole.authenticate()
>>
>> Anybody knows a better approach?
>>
>> Regards,
>>
>> Tito
>>
>> --
>>
>> Linux User #387870
>> .........____
>> .... _/_õ|__|
>> ..º[ .-.___.-._| . . . .
>> .__( o)__( o).:_______
>>
>
>
>
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>



-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to