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.
1
redirect_to("https://graph.facebook.com/oauth/authorize?",:overwrite_params=>{'client_id'=>'1038eeaa39323304f3319aac31f472d2','redirect_uri'=>'http://custom-survey.heroku.com/users/normal_auth_result'})
2
redirect_to("https://graph.facebook.com/oauth/authorize?","client_id=1038eeaa39323304f3319aac31f472d2&redirect_ur=http://custom-survey.heroku.com/users/normal_auth_result")
3
redirect_to("https://graph.facebook.com/oauth/authorize?client_id=1038eeaa39323304f3319aac31f472d2&redirect_ur=http://custom-survey.heroku.com/users/normal_auth_result")
--
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.

