similar to: Facebook Redirects to Callback Path after log in

Displaying 20 results from an estimated 1000 matches similar to: "Facebook Redirects to Callback Path after log in"

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
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
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 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 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 23
4
redirect_to broken?
Is ActionController''s redirect_to method broken by Facebooker? When I try to invoke it and execute through apps.facebook.com, I get a blank page returned, response code 200, no redirect. When I try to connect directly to the server (not through apps.fb), I get the infinite recursion error described minutes ago. Are any of you able to use redirect_to successfully, and if so, any ideas
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 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 Apr 03
3
loading settings from database
I''m just wondering what the best way to go about loading my API keys from the database is ... Should I simply place them in the ENV variable? Is there a way better way to go about this?
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
2008 Mar 20
2
Anyone having problems with asset_host not getting set up right?
Hey All, I think I found a bug but I would be suprised since it would cause major problems. We setup the asset_host in init.rb with: if File.exist?(facebook_config) FACEBOOKER = YAML.load_file(facebook_config)[RAILS_ENV] ENV[''FACEBOOK_API_KEY''] = FACEBOOKER[''api_key''] ENV[''FACEBOOK_SECRET_KEY''] =
2008 Mar 11
0
How to get a facebook session for desktop applications (or unit tests?)
Normally, in a rails app, all one would have to do is call set_facebook_session, or the ensure_* filters to get a valid session. I''ve been looking through the sessions code to figure out how to get a valid session for desktop applications (or unit tests)--basically outside of rails controller. As far as I can ascertain, you should just be able to do this: require
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 Feb 01
2
Facebooker interfering with existing application
Hi! I have an existing application, basically a very simple Hobo app. It works... When I install the Facebooker plugin and create the facebooker.yml file (with valid or fake content, doesn''t matter), the original app starts behaving strangely. The controller and view logic keeps working, but several static files stop being served from http://localhost:3000/javascripts and start being
2008 Dec 16
3
ApplicationProperties
Hi There, I was wondering what the appropriate way to use the applicationproperties.rb model was. I was hoping to query it to find out which users are developers for my app and then grant special permissions to them ... I tried creating something like this: class ApplicationProperties < ActiveRecord::Base def facebook_session @facebook_session ||= returning
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 Jun 03
2
Order of authentication methods is causing unnecessary call to API?
Hey Guys, I am wondering if I am missing something here. I am noticing that after a user installs my app I get a request that not only contains an auth_key but also contains a valid session key. Occasionally I am seeing that Facebook server is occasionally sending a connection reset during the auth key authentication method, this caused me to notice that secure_with_token is given precedence in
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 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