On 17 December 2010 10:47, Guo Yangguang <[email protected]> wrote: > 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.
Sorry I have not the foggiest idea what you are talking about. Are you saying redirect_to is not generating the html you expect? Perhaps you should show exactly the code you have used, and the html generated, and explain what is wrong with it. Colin -- 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.

