similar to: something wrong with event_members

Displaying 20 results from an estimated 3000 matches similar to: "something wrong with event_members"

2008 Mar 12
3
a way to restrict who can install your app, for private testing
This is something I just cooked up to allow me to restrict temporarily who can access my app, based on an array of UIDs. It''s messy but works. Put at the top of your controller, at the end of your filters. # This filter is only until we open everything up before_filter do |c| acceptable_uids = [''594180515'', ''122612996''] unless
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 Mar 27
0
handling post-remove URL / uninstall of application
Hi there, I''ve configured my post-remove URL (which has to be directly to my site, not an apps.facebook.com URL) and now I''m trying to figure out how to handle this. It''s poorly documented here: http://wiki.developers.facebook.com/index.php/Post-Remove_URL It seems as though support for this is currently not yet in Facebooker. In order to get it to work, it
2008 Mar 30
0
undefined method using ensure_authenticated
I''ve stepped through the basics of setting up facebooker, but I consistently see this message: "undefined local variable or method `ensure_authenticated_to_facebook'' for FacebookController:Class" My controller is defined: << class FacebookController < ApplicationController ensure_authenticated_to_facebook def index @facebook_user =
2008 Jul 28
2
Profile updates using profile_main
Hi all! I just updated to the most recent version of Facebooker from Github and have been playing around with getting our FB app working with the new Facebook design at www.new.facebook.com (using the "api: new" option in the facebooker.yml file). As far as I can tell, everything seems to be working as expected so far except I can''t seem to get our apps profile box to
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
2007 Jul 11
3
Problem with scheduled task mysteriously stopping
Hi there, I have a scheduled task which I started from Rails, set to run every 5 minutes, it takes probably about 20-30 seconds to execute (it''s aggregating some feeds). It ran for about 5 hours and then mysteriously stopped -- the logs show no errors. This kind of sucks because it''s like a silent failure, has anyone else had this problem? --simon --
2008 May 06
1
check_friendship method only returning value of last pair
Hello, I''m new to facebooker and ruby, so not sure if the issue I am having is due to my misunderstanding or a bug in facebooker plugin. Here is what I have: def show @current_user ||= facebook_session.user @member ||= params[:id].to_s==@current_user.id.to_s ? @current_user : Facebooker::User.new(params[:id]) #for each of current_user''s friends, check if they are
2008 Jun 12
0
Double Frame Problem
The only solution I''ve seen to the problem of the nested frame on the login/install pages (when using iframes rather than fbml), is to use JS to cause a redirect (c.f. http://rubyforge.org/pipermail/facebooker-talk/2008-May/000638.html, http://webjazz.blogspot.com/2008/03/gotchas-of-internal-iframe-facebook.html): def create_new_facebook_session_and_redirect!
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 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 14
0
New features: Application properties and cookies
Hey guys- Two new features: Set/get app properties like this: properties = { :application_name => "Video Jukebox", :default_fbml => "blah" } facebook_session.admin.set_app_properties(properties) properties = facebook_session.admin.get_app_properties(:application_name, :default_fbml) Set/get cookies: facebook_session.data.set_cookie(uid,
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 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
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 =&gt; [: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 20
1
can someone write tests for my patch?
Sorry ... I''m really lazy (and insanely busy more to the point) .. but you''ll get support for fb:dialog... http://rubyforge.org/tracker/? func=detail&atid=16132&aid=18772&group_id=4187 --simon -- http://simonwoodside.com
2007 Dec 22
1
upgraded to rails 2.0.1 and borked sessions
I just pushed my facebook app up to 2.0.1 and noticed that I am now getting these errors: ActionView::TemplateError (Session key invalid or no longer valid) on line #3 of users/index.fbml.erb: It appears that I get the facebook_session object back but when i introspect and try and get the user''s name or something i get the session error. Has anyone else had these problems?
2008 Jan 26
0
New feature: get profile pictures
The profile picture album is treated as a special album by Facebok and is not returned in the normal get photo albums API call. A bunch of special operations have to be performed to get the aid for the profile picture album. I added a method to User to get the profile pics. Use as follows: facebook_session.user.profile_photos # returns Photo objects Enjoy, Shane -- http://myfitbuddy.com |
2008 Mar 18
0
Merge Facebook friends with app friends
I have an attribute on my user model called friends, is it possible to merge the session[:facebook_session].user.friends_with_this_app with the friends attribute? Optimally I could call @user.friends and it would return the standalone app''s friends and the Facebook friends who have the app.
2008 Mar 25
7
Facebooker::Session::SessionExpired (Session key invalid or no longer valid)
Hi All, I''m having horrible problems with this exception, which seems to happen as soon as I access the session object. Does anyone know what the path is to recover from this? This post looked to be the most promising: http://rubyforge.org/pipermail/facebooker-talk/2007-December/000047.html And I followed all of the steps except switching my session store, and modifying the default