[Seaside] retaining a session across redirect - a retooling of yesterday's question..

Francois Stephany tulipe.moutarde at gmail.com
Thu Oct 4 19:52:55 UTC 2012


Can't you build the 'redirect_uri' so it that it redirects the user to 
an URL which work with the session?

https://graph.facebook.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=http://APP_URL&scope=user_about_me"

You can register a callback like this:
redirectUri := html urlForAction: [self displaySuccess].

Facebook will then redirect the user to your application in which the 
callback 'displaySuccess' will be executed.

Does that help?

On 04/10/12 11:05, sergio_101 wrote:
>> self session: (SBSession pendingUsers at: fbUserId).
>>
>
> oh! i like this better..
>
> i am getting more and more of the hang of this now..
>
> i think my problem was..
>
> i went from c.. to c++ .. to php (for web apps).. to ruby(for rails)...
>
> and never lived in an environment that treated objects like objects,
> and bossed them around..
>

-- 
http://tulipemoutarde.be
CA: +1 778 558 3225
BE: +32 65 709 131


More information about the seaside mailing list