similar to: Developing Facebook Platform Applications with Rails

Displaying 20 results from an estimated 1000 matches similar to: "Developing Facebook Platform Applications with Rails"

2008 Apr 07
7
Testing and Mocking
Can I second this question? Could someone provide a simple example of how they set up a functional test for a controller that uses facebooker?? Do you have to copy a lot of stuff from rails_integration_test.rb ? I guess that since we don''t have a test facebook to test against, we have to stub out a lot of stuff right? --simon > Hi, I''m wondering if folks would care
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs. I created the fbjs mime type in environment.rb: Mime::Type.register "application/javascript", :fbjs However, even if I specify fbjs in a parameter name format during AJAX post requests, it is being overwritten by Rails or Facebooker as FBML. I confirmed this by placing logger.debug params[:format] immediately before
2008 Aug 20
1
Facebook javascript (FBJS) library
I wrote an fbjs library to help speed up development of some of my applications. I plan to have some sort of "official" release with a blog entry and github repository at some point, but I thought you guys might want to have it earlier. It''s still a work in progress. I''ve been using every method at least once in my application but it''s still possible there is
2008 Jul 31
8
Facebook Connect
Is anyone planning on using Facebook Connect? I have the implementation that I think covers the user registration. I''m going to work on the UI stuff as well but would love to get some feedback on it. Mike -- Mike Mangino http://www.elevatedrails.com
2008 Mar 18
3
examples in subversion
Hey everyone. I have a quick question. Checking out facebooker as a plugin is currently really slow due to the example rails application. Would anyone object if I moved that out of the main plugin directory? Mike -- Mike Mangino http://www.elevatedrails.com
2008 Mar 14
8
Facebooker updates
I just went through and cleaned out most of the bugs and patches. I also added a facebooker.js file that implements enough of prototype to do $() and link_to_remote with :update and remote_form_for with :update Let me know if you run into any issues with it. Mike -- Mike Mangino http://www.elevatedrails.com
2008 Jan 28
3
A style question
I''m working on the ability to share a single session between Facebook and Non-Facebook requests. Right now, to setup a shared session, you create a link like: <%= link_to "Non-Facebook view",leaders_url(facebook_session_parameters.merge(:canvas=>false))%> The facebook_session_parameters includes all of the necessary info. Is this okay, or would it be better as
2008 Jan 10
3
A best practices question
Hey everyone. I''ve got a best practices question. How are you guys rendering newsfeeds? We have a couple of apps where we send newsfeed items from a backend process. As such, we aren''t in the context of a controller and can''t use the rails template rendering. We''ve tried about 3 different ways to make that bearable, but aren''t having much
2008 Jun 15
11
[PATCH] helper to create fb css stylized table
I attached a rails helper implementation of the fb_table described here: http://wiki.developers.facebook.com/index.php/Facebook_Styles I included testing and comments. I hope you find it useful. Curiously, it''s really a small extension of FBML. Richard -------------- next part -------------- Index: test/rails_integration_test.rb
2008 Jan 25
5
ajax with facebooker?
So if I am using fbml,canvas & facebooker, can I do ajax calls? if so how? From reading it seems they support some sort of mock ajax, but I don''t really understand, can somone explain to me? If I cant do ajax, can I still do javascript? Can I use 3rd party libs like prototype & scriptaculous? thanks Joel
2007 Nov 02
1
Some proposed changes
I''ve got some changes queued up that I want to run by everyone before I commit. First, I''ve added a filter that sets the :format variable to "fbml" when you are in the canvas view. That means with edge rails you can use index.fbml.erb for facebook and index.html.erb for non facebook requests and the right thing will happen. This is important for doing things
2007 Dec 04
5
new facebooker
Hi guys, I am new to this list and thought i''d say hello. I am using facebooker on a new project and so far I am really pleased with it. I saw that some users are having woes with the url_rewriter breaking urls for paths outside of the facebook canvas (i.e. your site supports both facebook and non-facebook users). I don''t have a prefect answer for this but I wrote a
2008 Mar 31
13
request for change in URL pointing to facebook domain
I am requesting that we change the paths that absolutely point to the facebook URL. In the PHP client there is a method in the facebook.php file called get_facebook_url() so this is easy to change there. One reason for this: Ringside Networks is a drop in replacement for Facebook that can be used for localhost development and eventually an abstraction for most social networks - it mimics the
2007 Dec 08
3
Uploading photos using facebook & attachment_fu
Hi All, I''m trying to use a form to upload a photo that I will save using attachment_fu. I''m very new to Facebookr so I apologize if this is covered somewhere, but I''m kind of stumped. Here''s what I''m doing now: <% facebook_form_for(:my_object, :url => { :action => ''upload_photo'', :id => params[:id] }, :html => {
2008 Jan 31
2
Facebooker and file_column
Facebooker URL Rewriter stuff overloads ActionController::AbstractRequest.relative_url_root, causing a conflict with the plugin file_column and possibly other utilities. file_column constructs image URLs using the server host and relative_url_root This is not related to the sandbox patch I added to the rewriter. Facebooker overloaded relative_url_root before I touched it. I''ve
2008 Jan 16
10
Towards a 1.0 release
Hey everybody. I''ve been using Facebooker on several projects over the last few months and feel like it is really starting to mature. I''d like to push towards a 1.0 release within the next month. I''d really like everybody''s input on what still needs to be done, as well as some help in wrapping things up. I''ve created a list of things that still
2008 Jun 29
6
gem / plugin install
Hey, I am using Rails 2.1. I was wondering if there is a preference between using gem or script/plugin to install facebooker. Latest revision on svn (225) seems to be missing an "end" in lib/facebooker/models/user.rb (line 218). Thanks, Ram -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Jun 28
5
asset_host?
Hi there, I''m wrapping my head around Facebooker to try and build some integration points between an existing ROR application and facebook. I''ve managed to get FB talking to my app but when I tried to access my ROR app directly I noticed that all requests for images, CSS, and JS files were being made through my callback_url. Commenting out the following line from
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
2008 Jan 24
5
Is there a test for setting the session ID to the fb_sig_session_key param?
Hey all, I have a patch that fixes a problem I am having with IFramed pages in rails 2.0. I am relying on the session being retrieved via fb_sig_session_key. I am looking for the test code that tests this functionality but I can''t seem to find it. So you on the list today Chad, gotta pointer for me? Thanks, I want to get a test in for this fix, Dave