Displaying 20 results from an estimated 1100 matches similar to: "routes.rb definitions not working???"
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
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
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 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 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 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 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
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 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 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 Jun 12
6
Session Best Practices
Hi All- I am still trying to figure out the best way to handle facebook session for my users. Here is my current flow:
in my "external accounts controller"
1) before_filter :ensure_authenticated_to_facebook, :only => [:authenticate_facebook, :edit_facebook]
2) when the user links into facebook, facebooker authenticates and redirects back to my application
3) i detect the
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 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 Oct 15
5
REXML vs libxml
Hi all,
I''ve been looking at the performance of my fb app and one glaring issue
seems to be with the parsing speed of rexml in processing the results. Has
anyone looked into porting the facebooker parser from rexml to libxml? If
not, any reason I shouldn''t try?
Thanks!
Yu-Shan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jan 25
3
More on routing, relative_root and facebooker
Hey there!
I would like the discussion to continue on how facebooker handles
routes, as it appears that there is an unsolved issue.
Mike, I read your recent reply involving setting facebook''s
callback_path to the root of the rails app, and adding a route to
catch all calls to the app root where canvas => true.
I just want to point out this is counterintuitive to some folks and
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 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.
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 Mar 12
2
Developing Facebook Platform Applications with Rails
I was hoping to announce this a month ago, but some legal wrangling
took longer than expected.
Developing Facebook Platform Applications with Rails is now available
in Beta at http://www.pragprog.com/titles/mmfacer
It walks you through creating a Facebook application with Facebooker,
all the way from setup to handling large number of users.
Thank all of you for asking questions on this