Colin Law wrote in post #969042: > On 17 December 2010 10:47, Guo Yangguang <[email protected]> wrote: >>>> above? i am confused how to append params.All of the following three >> 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
colin I am developing an app for facebook.Facebook need to authorize the user using the fllowing authorize url whose response should be a popup iframe. #sorry,i can not post my client_id.this url with params is offered by facebook,and i should replace the client_id and redirect_uri with myown. authorize_url="https://graph.facebook.com/oauth/authorize?client_id=...&redirect_ur=http://custom-survey.heroku.com/users/normal_auth_result" #when user is not authorized,redirect to authorize_url to authorize user #in my rails app. redirect_to(authorize_url) so when redirect_to(authorize_url) runs,a popup(2.png) should appear,but i get an image with bottom link(1.png). what's more,when i click the 1.png,the 2.png appears.I mean i should get the 2.png directly,not the indirect one like above.I am sure i am doing to the fb doc,and the authorize_url is made as fb doc says. I think maybe it is because i am using the new beta authorizing mechanism which is still in development.or maybe rails method redirect_to has special grammar when it comes to non rails url with params. Attachments: http://www.ruby-forum.com/attachment/5581/1.jpg http://www.ruby-forum.com/attachment/5582/2.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.

