Displaying 20 results from an estimated 1000 matches similar to: "redirect_to broken?"
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 29
17
facebook_url_rewriting.rb
Here''s the fix for Facebook apps that specify a controller in their callback URLs. First, set this variable in your environment scripts:
ENV[''FACEBOOKER_CALLBACK_PATH''] = ''/controller''
# where controller is the name of your Facebook controller
And then patch vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb as shown in the
2008 Feb 02
3
Question abt redirect_to..
I found a reference to using attachment_fu and followed the lead of it
but having an issue with the redirect_to that renders the fb:render
tag - In my form I''m setting the canvas to false, file is being
uploaded / save fine but when I attempt to redirect:
redirect_to :action => :new, :canvas => true
Unfortunatly it looks like my callback URL is getting printed twice, e.g.
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 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 Jan 23
2
Accessing the current session
I''m trying to fetch a session (and other fb user variables from the session) at the start of my controller, so that all the actions in that controller can make use of it. Here''s the code:
class FacebookController < ApplicationController
ensure_application_is_installed_by_facebook_user
fb_session = session[:facebook_session]
# ... action functions here ...
end
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 31
3
presenting validation errors via fbml?
Hi Facebookers,
Is there a helper or suggested approach for presenting validation
errors on an fbml form?
Something to translate rails error markup to fbml:error markup?
thanks
Joel
2007 Dec 05
7
Better RESTful routes with fb_sig_request_method
With the new fb_sig_request_method provided by Facebook, I''ve patched
shanev''s pseudo-resource routes to generate restful routes, minus some
exceptions.
The announcement: http://www.facebook.com/developers/message.php#msg_126
Patch is submitted here: http://rubyforge.org/tracker/index.php?func=detail&aid=16105&group_id=4187&atid=16132
Blog entry about it:
2008 Mar 06
2
patches on the rubyforge tracker
Hi I just made some changes / additions for myself in facebooker and
posted the patches on rubyforge, e.g.:
https://rubyforge.org/tracker/index.php?
func=detail&aid=18639&group_id=4187&atid=16130
(adds support for fb:dialog FBML tag)
Is this the right way to do it?
--simon
--
http://simonwoodside.com
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 Mar 14
14
Facebooker MQ now on RubyForge
I don''t know if anyone is using this but I just fixed a bunch of bugs, some
big ones, and moved this project to RubyForge SVN servers.
So you can get it here now:
script/plugin install
http://facebooker-mq.rubyforge.org/svn/trunk/facebooker-mq/
This is working great for me on a couple of projects.
Here is the README
Updated: 3/14/2008
Purpose:
The purpose of FacebookerMQ is to
2008 Jan 29
3
Facebook Redirects to Callback Path after log in
Hey,
I am wondering if anyone has run into this issue before. I can''t seem
to figure out what Facebook is doing.
I have an application that only requires Facebook Authentication, the
user doesn''t need to "add" the app. So at the top of my main
controller I have
class GettingStartedController < ApplicationController
ensure_authenticated_to_facebook
......
2008 Jan 11
18
getting started
Hey all,
Been reading through all the old posts (and the docs) to familiarize
myself but I still feel a bit lost.
I''m on trunk and am having a bit of a hard time knowing where to start
with the particular I''m trying to solve.
So far, I''ve downloaded backgroundrb, done the basic rails setup,
created my worker and started it using `script/backgroundrb start`.
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 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
2007 Dec 20
1
facebooker rails 2.0
Hey guys,
Anyone using facebooker on a rails 2.0 site? I noticed at least one
deprecated call in facebooker, which i am working on a patch for but
didn''t know if anyone else has tried it out on the new build of rails
yet.
Later,
Mark
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
2007 Dec 13
1
session.send_notification for emails
Hey All,
I am wondering if anyone has done any work around sending emails
through the API. It looks like facebooker is using part of a
deprecated API, Notifications.send used to take an email part. They
now have a Notifications.sendEmail call which will take recipients,
subject, text part and fbml part.
Looking at the code it seems like I need to add a method to the
session
2008 Jan 31
2
request to install app
Hi,
I would like to generate a facebook call on behalf of a user to create
a request to another user to install the app.
Is there a way to do this without being in a fb_request_form?
the use case is:
Fred is creating a task, he assign it to a friend Sally , if Sally has
already installed & setup my app, no problem, if she hasnt, I want to
send an add request from Fred along with