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?
-
Create a Rails application
-
Install the Facebooker Rails plugin
script/plugin install
http://facebooker.rubyforge.org/svn/trunk/facebooker/
-
Log on to Facebook and set up a new application
- Browse to the Facebook Developers page (Redirecting...)
- 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
-
Add your API key and secret to the facebooker.yml configuration
file
- Example :
development:
key: 47013ae80a97cc151707961fc03bc9bf
secret: 7f296d598f9c79a5f439289e1240dc69
canvas_page_name: /your_app_name/
-
Create Rails controller (and view skeletons)
- $ script/generate controller workshop index
-
Configure default route and remove public/index.html page
- map.root :controller => “workshop”
-
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- 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
On Apr 10, 5:30 pm, Visit Indonesia 2008 <rails-mailing-l…@andreas-