开发者

Facebook Canvas url using routes.rb

开发者 https://www.devze.com 2023-04-08 22:44 出处:网络
I\'d like my FB canvas app apps.facebook.com/coolapp to behave the same as my web app coolapp.com I\'ve set up the canvas url in facebook developer page

I'd like my FB canvas app

apps.facebook.com/coolapp

to behave the same as my web app

coolapp.com

I've set up the canvas url in facebook developer page

http://coolapp.com/canvas/

Using Rails 3.1, I'd like t开发者_高级运维o know how I can easily route the /canvas into my app so that going to the first url above does not route outside of the facebook canvas page (and all the resources work as expected).


Copying the answer from the comments in order to remove this question from the "Unanswered" filter:

stackoverflow.com/a/18028579/156561 i link to how to do all this (2 yrs later) in this question.

~ answer per pjammer

0

精彩评论

暂无评论...
验证码 换一张
取 消