Colin Law wrote in post #968890:
> On 16 December 2010 16:35, Guo Yangguang <[email protected]> wrote:
>> hello
>> the non rails url is
>>
>>
> 
https://graph.facebook.com/oauth/authorize?client_id=...&redirect_uri=http://www.example.com/oauth_redirect
>>
>> how do i use redirect_to method in my rails app to redirect to the url
>> above? i am confused how to append params.All of the following three
>> ways don't work.
>
> Just pass the complete url in as a string.
>
> Colin

But using the complete url, this 
url--https://graph.facebook.com/oauth/authorize?client_id=...&redirect_uri=http://www.example.com/oauth_redirect--
 
is not triggered directly by browser,which just displays an link.when i 
click that link, the above url is triggered, which is not the expected 
behavior.Maybe it is becuse the new facebook authen.

colin,is there any other way to redirect_to non rails url containing 
params?

-- 
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