similar to: couple of newbie questions about redirects

Displaying 20 results from an estimated 7000 matches similar to: "couple of newbie questions about redirects"

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
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
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 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 Apr 10
7
Facebooker and existing website?
Hi I am trying to use facebooker with an existing website that already has a model named ''User''. I therefore created a model called BkUser for use with facebooker. Also I have different controllers for all facebook requests. I am using acts_as_authenticated for handling login etc for my website and everytime a user is logged into my facebook app and tries to also browse the
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 Apr 02
1
facebooker plugin!?
I''m trying to create a facebook application but I have no success. I either get one of those two errors depending on which revision of the plugin I use: CGI::Session::CookieStore::TamperedWithCookie (Using plugin from directory) or ActionView::TemplateError (Session key invalid or no longer valid) (Using plugin from a week ago or so). Has anyone successfully gotten an app that as to
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
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 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 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 Apr 08
3
Session Expired for Profile Publishing
Ok. I''m not having any success with publishing profile FBML. Example code: class WelcomeController < ApplicationController layout "facebook" ensure_application_is_installed_by_facebook_user def index @user = facebook_session.user ... @user.profile_fbml = render_to_string( :template => ''welcome/profile'' ) end end Results in
2007 Nov 09
2
Helpers and URL Rewriting
Hey folks, I''m part way through a project using, I think rev 73 of Facebooker, and was getting along pretty well. I''ve since tried the latest rev (86) and have run into a few problems. First one was with the helpers in that for some reason now none of them are available so I''ve had to use helper :application, etc in my controller. Second one, which
2008 Mar 10
15
facebooker is rewriting URLs even off of facebook canvas
The URLs for CSS/JS files are being rewritten to the address specified in the tunnel even when outside of the facebook canvas. Is anyone else having this problem?
2008 May 15
8
facebooker, respond_to and firefox 3 beta5/pre
Hi there, I have a controller that responds to fbml and html, with html at the top. In all browsers, this works as expected - When I''m hitting the controller from my normal app, I get html. When I hit it inside facebook, I get fbml. However, with Firefox 3 hitting the normal app, I''m getting fbml for some odd reason. Am I crazy? Sudara
2008 Oct 17
4
Error when posting facebook.feed.publishActionOfUser
posting ''facebook.feed.publishActionOfUser'' with {:title=>"<fb:fbml> <fb:name ifcantsee=\"A Hidden User\" linked=\"true\" uid=\"579947937\" /> wrote a <a href=\"http://apps.facebook.com/dailycaption/captions/1273\">caption</a></fb:fbml>",
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 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 Aug 19
6
redirect with application add
There are groups within our app that people can be invited too. If a user recieves an invite to a group and hasn''t yet added the application the filter chain ends up redirecting them to the main canvas page instead of the the group page directly. Is there a way to handle this if the user hasn''t installed the app, I tried redirect_back_or_default in one of my controllers but it
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do within a fb:editor? if I do: <% facebook_form_for(:task, at task,:url => create_task_path) do |f| %> Assign Task To: <%= fb_friend_selector %> <%=f.text_field :ttype, :label=> "Title"%> <%=text_field_tag :newrnumdays, ndays, :label => "# Days"%>