Colin Law wrote in post #969060:
> On 17 December 2010 13:26, Guo Yangguang <[email protected]> wrote:
>> #when user is not authorized,redirect to authorize_url to authorize user
>> mechanism which is still in development.or maybe rails method
>> redirect_to has special grammar when it comes to non rails url with
>> params.
>
> What happens if you put the url directly into the browser window?
> when put it in browser directly,the response works well like fb doc 
says,popuping an iframe.

> What does the rails log show when it runs the redirect?
> i have attached the server log images.As it shows,when 'signed_request' param 
implys the user is not authorized in the home/index method,he will be 
redirected 
to fb url(whose response should be popup window) 
"https://graph.facebook.com/oauth/authorize?client_id=...&redirect_uri=http://custom-survey.heroku.com/users/normal_auth_result".But
 
i still need to click 1.png to get popup window.
> Colin

Attachments:
http://www.ruby-forum.com/attachment/5588/3.jpg


-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to