Creating facebook application in rails 3 with heroku

753 Views Asked by At

I m new to heroku. I deployed my rails 3 application in heroku and it is running successfully. My need is to integrate this application to a facebook canvas application. My doubt is whether i need to create a new app with cloud hosting services in facebook or i can use my existing heroku app? If so, how can i make use of existing heroku app in facebook.?

Thanks in advance.

2

There are 2 best solutions below

1
On BEST ANSWER

To get your Heroku Rails app running in a Facebook canvas:

  1. Go to your Facebook application's settings page: https://developers.facebook.com/apps/<app_id>/summary
  2. Enter your Heroku app's URL into both the Canvas URL and Secure Canvas URL fields

Note: Facebook requires SSL (https) for all canvas apps. If you don't have a certificate, just add the free Piggyback SSL plugin on your Heroku app: http://addons.heroku.com/ssl

0
On

Go to your app settings and enter in the URL to your website into the canvas app settings section.