similar to: Develop Facebook app using rail

Displaying 20 results from an estimated 800 matches similar to: "Develop Facebook app using rail"

2011 Jan 06
1
Invalid argument - https://graph.facebook.com/19292868552
require ''rubygems'' require ''hpricot'' require ''open-uri'' doc = Hpricot(open("http://graph.facebook.com/226723089703")) @doc = doc.to_s.gsub(/"id.+?likes":/,"").gsub("{","").gsub("}","") puts @doc OR require ''rubygems''
2008 Jan 04
2
Nested Routes + Facebook Resources
Does anyone have nested routes working with the facebook_resources method? My routes.rb has: map.facebook_resources :users do |users| users.facebook_resources :images users.facebook_resources :connections end but user_connections_url won''t generate. "rake routes" gives me: new_user POST /users/new {:action=>"new",
2008 Jan 21
1
Facebooker website
I just wanted to contribute a quick-start page with details about how to get the Facebook session (for internal apps), how to get user info, set profile FBML, post to the news feed, etc. I could even send this as text, or I can add a page using the Radiant CMS if it''s not too cumbersome. I am also working with Dave Clements to augment the configuration options to make it easier for
2010 Jun 03
1
need to save generated pdf in public folder
hai im ruby on rails developer, im integrating princely plugin and prince software to my rails application i have generated pdf file successfully using the following code princely = Princely.new() html_string = render_to_string(:template => ''test_methods/ visual_test/generate_report.rhtml'', :layout=> false) send_data(
2008 Jan 24
12
getting started with facebooker
Hi, I started with rfacebook but given the recent events figure its best to move over to facebooker. I have: 1.) Installed the facebooker plugin 2.) setup my facebook app (fbml/canvas) 3.) created a method on controller & view to handle initial request 4.) added "ensure_application_is_installed_by_facebook_user" to top off application.rb I am able to get to my landing page
2010 Sep 04
3
its easy but i forgot all
my models borrower ----- has_many :loans loan ----- belongs_to :borrower my loans _controller def new @borrower = Borrower.find(params[:borrower_id]) logger.debug '' @borrower.id'' logger.debug @borrower.id @loan = Loan.new respond_to do |format| format.html # new.html.erb format.xml { render :xml => @loan } end
2008 Jan 31
3
Using facebooker AND Haml/Sass
For anyone using both and encountering trouble with stylesheets (specifically, the paths being incorrect in production mode)... Removing facebooker solves the issue. But I bet you don''t want to do that, eh? So, simply setting ActionController::Base.asset_host = '''' also works like butter. I''m not 100% clear on why asset_host has anything to do with
2007 Dec 29
1
20-Minute Quick Start Guide for RFacebook - 10 Easy Steps to Create a Facebook App Using Rails
Hello, I''ve published a new 20-Minute Quick Start Guide for RFacebook that shows you how to create a Facebook application from scratch using Ruby on Rails in 10 easy steps: o Install the rfacebook gem o Create a Rails application o Install the rfacebook Rails plugin o Log on to Facebook and set up a new application o Create facebook.yml configuration file and add API key and
2008 Jan 26
3
Facebooker::Session::IncorrectSignature
I think I must be missing something obvious on this one, but I can''t get past the initial "ensure_application_is_installed_by_facebook_user" in a rails app that I''m trying to put together. I''m running on edge rails with the latest Facebooker as a plugin. I''ve tried adding my settings to the environment configs and recently I tried the new yaml
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers, It looks to me like facebooker does not currently support iframe facebook apps - or am I missing something? My first problem as I understand it is as follows - When you are logged into facebook, and access a facebook application, facebook tacks on a whole lot of extra fb_sig parameters to the request (including fb_sig_user) that the application can then validate to
2008 Mar 06
1
Getting at the FB response XML in Facebooker
I''m working with Matt [rfacebook] on a ''Migration to Facebooker'' tag that essentially sets the stage [with backward compatibility] for a low-risk transition to Facebooker but had a quick question - doesn''t look like it possible to get at the raw XML from Session/Service/etc - is that a correct or perhaps I missed something? We don''t intend to recreate
2010 Aug 20
5
country state city drop down list rails
hi every one please tell me the recommended way to get country state city drop down list in rails any gem - plug-in tutorial thanks in advance. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application, for now I have decided to go the route of creating a controller for facebook stuff (called FaceController). (setup is canvas, fbml) So I have: facebook config http://myurl:myport/face/ My controllers name is face, so I dont even need a manual route, for the landing page it works like a charm. but, when I try to make
2008 Apr 03
3
routes.rb definitions not working???
Hello Eveyone, I am new here, and am have no idea how to setup routes in the routes.rb file while using fbml. The regular map.resources :gifts map.resources :wishlists map.resources :invitations map.resources :comments does not work. This tutorial http://rfacebook.wordpress.com/2008/02/04/quickstartfacebooker/ says to create a map.root, such as the one mentioned "map.root
2008 Jan 31
2
Multiple FB apps in a single Facebooker app?
May seem strange but I''ve gotten a couple requests from clients [2 out of 4] abt this.. generally the requirement is that they want to serve up slightly different content but from more or less the same app.. I dug into init.rb and determined that its seems likely with some rearranging of facebooker.yml config - is there anything else of the top of anybody''s head that might be an
2007 Jun 12
15
facebook api
hello guys, i want to use facebook api for my app any body have any idea.... -- Arun Agrawal --~--~---------~--~----~------------~-------~--~----~ 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
2008 Jan 26
14
Introducing facebooker.yml
If you are using facebooker as a plugin, you can now have all your configuration in one place, namely config/facebooker.yml. You can create this file with rake facebooker:setup. It is also generated when you install it as a plugin. It has a similar setup to database.yml with sections for each environment. You can also configure your ssh reverse tunnels. If you are upgrading, make sure to
2008 Sep 15
3
Best way to run hundreds of concurrent tasks?
Hi all, I''m trying to figure out to run some asynchronous tasks in a Facebook app. I''ve got things working, but BRB crashes after a little while, and I''m not sure if my setup is ideal. Here''s the scenario: - whenever a user visits my app, I need to fire off a bunch of API calls. - these calls need to start right away, because the user sees a
2007 Dec 19
0
Using the Facebooker gem? Tell us about your Facebook app - Facebooker Sightings Series
Hello, May I introduce myself - I''m the publisher of the new ruby API for facebook site (for now titled rfacebook questions & answers) - and way back I''ve published the Java Web Start F.A.Q (*1). Anyways, if you''re using the Facebooker gem I invite you to let us know about your Facebook app and if you''re sign-on I will follow-up with sending you four
2000 Apr 13
6
Connection refused
Hi, Here is my situation : I have installed Samba 2.0.6 on my computer, which is running with Linux RedHat 6.0. When somebody tries to connect to this server, he's got a 'refused connection' message after he tried to my_IP@:139. I don't think the smb.conf is responsible because we have tried with the basic one, and it doesn't change anything. As I'm fresh in Linux (and