Yagnesh Vaidh
2008-Apr-10 11:15 UTC
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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Visit Indonesia 2008
2008-Apr-10 12:30 UTC
Re: How i setup my developed rails application on facebook?
> 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 http://apps.facebook.com/railsadvance/ - 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 -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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- s.net> wrote:> > 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 tohttp://localhost:3000/ > - Set the Canvas Page URL tohttp://apps.facebook.com/railsadvance/ > - 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 > > Reinharthttp://teapoci.blogspot.com > -- > Posted viahttp://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---