How i setup my developed rails application on facebook?

Hi guys.

I already made the application in Ruby on rails. How i put that application using rfacebook and mysql database on facebook? I have joyent server also. If u any have idea,send me the reply. also i m facing problem of ssh tunnel ,how i show the port of ssh. Please tell me.

Thanks Yagnesh

I already made the application in Ruby on rails. How i put that application using rfacebook and mysql database on facebook?

   1. Create a Rails application

   2. Install the Facebooker Rails plugin       script/plugin install       http://facebooker.rubyforge.org/svn/trunk/facebooker/

   3. Log on to Facebook and set up a new application       - Browse to the Facebook Developers page (facebook.com/developers)       - click "Set Up New Application".(Picture : http://rubyurl.com/JHE1)       - Use "RailsAdvance Workshop" for your Application Name.       - Set your Callback URL to http://localhost:3000/       - Set the Canvas Page URL to Log into Facebook       - Build a web application using inline frames (iframe).       - Check (X) Use iframe and (X) Website for Application Type.       - Hit submit to get your API key and secret created.       - Write down your API key and secret for the next step.       - example : API Key: 47013ae80a97cc151707961fc03bc9bf                   Secret: 7f296d598f9c79a5f439289e1240dc69

   4. Add your API key and secret to the facebooker.yml configuration file       - Example :             development:             key: 47013ae80a97cc151707961fc03bc9bf             secret: 7f296d598f9c79a5f439289e1240dc69             canvas_page_name: /your_app_name/

   5. Create Rails controller (and view skeletons)       - $ script/generate controller workshop index

   6. Configure default route and remove public/index.html page       - map.root :controller => "workshop"

   7. Use Facebooker to get your name, profile pic and status       - Add a ensure_authenticated_to_facebook to the top of controller.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; class WorkshopController < ApplicationController

  ensure_authenticated_to_facebook

  def index       @user = session[:facebook_session].user   end

end ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

   7. DONE

also i m facing problem of ssh tunnel ,how i show the port of ssh. Please tell me.

Ansewer : port 22 for default ssh port, to see your connection ssh tunel port. Open putty.exe ->> in Category Box, Choose Connection ->> Click SSH ->> Click Tunnels

Enjoy & Good Luck

Reinhart http://teapoci.blogspot.com

cAN U GUIDE ME ABOUT SSH SETTINGS WITH STEPS USING PUTTY? tHANKS YAGNESH