similar to: Fan Pages and Sessions

Displaying 20 results from an estimated 3000 matches similar to: "Fan Pages and Sessions"

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 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
2008 Nov 26
3
New status_id in Facebook API - FIX
Hi, I''ve had one of my application broken this morning (French time) with this error : NoMethodError (undefined method `status_id='' for #<Facebooker::User::Status:0x2ad52d1c8478 @message={}, @time="0">): It appear that Facebook API had change in the status : a status_id node is new : <user> <uid>785637999</uid>
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
0
bug in external apps
I was connecting directly to my server to try to debug something. I disabled the ensure_application_is_installed_by_facebook_user check, then tried to connect to my index action. Got this error: SystemStackError in FacebookController#index stack level too deep RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2008 Jul 11
0
canvas url rewriting fails for templates loaded through ajax
I just encountered a bug that caused the links in my partials to be generated as non-canvas routes when the partial was loaded via ajax. This bug is due to facebooker url rewriting checking for fb_sig_in_canvas to determine if the application is running in or outside a canvas, and fb_sig_in_canvas is not sent for ajax requests. My hacked together patch diff is below, sorry I didn''t have
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 11
0
Facebooker-talk Digest, Vol 5, Issue 12
Hi all, I wanted to test requests from internal facebook apps, so I''ve been mimicking FBML requests from facebook in my tests using the following: def test_can_facebook_internal_app_login fb_login_as :facebooker num_of_members = Member.count facebook_request :get, :home assert_response :success assert_equal num_of_members, Member.count
2008 Mar 13
0
ActionView::TemplateError when FQL query does not return any results
I submitted this as a bug here: http://rubyforge.org/tracker/index.php?func=detail&aid=18799&group_id=4187&atid=16130 However, I just realized that I probably should have posted here first. Has anyone else had a similar experiance with queries that don''t return results? I have the following FQL Query: "SELECT uid FROM user WHERE has_added_app = 1 AND uid IN (SELECT
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
Facebook_request in unit tests
Apologies for not chaning the subject line. :( Hi all, I wanted to test requests from internal facebook apps, so I''ve been mimicking FBML requests from facebook in my tests using the following: def test_can_facebook_internal_app_login fb_login_as :facebooker num_of_members = Member.count facebook_request :get, :home assert_response :success assert_equal
2009 Jan 20
0
alias_method_chain in Facebooker Causing Stack Level Too Deep
I installed the Facebooker plugin and upon placing it on a staging server, I keep running into stack level too deep errors. It seems to stem from Facebooker using alias_method_chain to override some of the ActionController methods. I believe it''s getting loaded twice causing confusion. I''ve tried various methods include wrapping a unless respond_to?(:method) around the
2007 Dec 20
0
Relative URL fix
Hi Facebookers, I have been working on a change to facebooker to allow facebook and non-facebook apps to exist on the same code-base. I modified the url rewriting in facebooker a bit so that it would continue to use the facebook relative url when needed but not prepend the facebook app name to controller paths that didn''t have anything to do with your facebook app. Here is the
2007 Dec 19
0
Using the Facebooker gem? Tell us about your Facebook app - Facebooker Sightings Series
Hello, May I introduce myself - I''m the publisher of the new ruby API for facebook site (for now titled rfacebook questions & answers) - and way back I''ve published the Java Web Start F.A.Q (*1). Anyways, if you''re using the Facebooker gem I invite you to let us know about your Facebook app and if you''re sign-on I will follow-up with sending you four
2008 Jan 25
1
form error with datetime select
Hi, Im trying to build a form using: <% facebook_form_for(:task, at task,:url => create_task_path) do |f| %> Assign Task To: <%= fb_friend_selector %> <%=f.text_field :ttype, :label=> "Title"%> <%=f.datetime_select :duedate, :label=> "Due Date"%> <%=f.buttons "Add" %> <% end %> But im getting an
2009 Mar 03
1
shoulda tested better
We''ve made quite a few contributions in our facebooker fork (http://github.com/collectiveidea/facebooker ), but unfortunately, one thing some of our contributions have in common with many others is the lack of testing. I want to change that. I''d like to help lead an effort to make the facebooker tests better. One thing that I think would help is a little better
2008 Jan 18
0
faceboooker_mq
Hey Mike and the rest of the Gang, I just finished packaging up a plugin for backgrounding many of the Facebook API calls so that they don''t take up the request cycle. Hopefully you will find it useful, once I started to package it up I realized that there was a much simpler approach so I don''t have this in production yet but it will be soon. It turned out to be simple
2008 Jun 08
0
Test driving Facebooker with Rspec?
I''ve been spiking on a Facebook application so far just to learn the Facebook(er) API, but I''d prefer to test drive. It seems to me (with my limited knowledge) that what''s needed is some sort of mocking framework at the network level. I''m thinking of creating a set of YAML files similar to fixtures that represent the remote Facebook state, then overriding
2008 Aug 14
0
Anyone have issues with refreshRefUrl
Wonder if anyone is having issue with refreshRefURL. I am seeing a session key no longer valid error but the doc''s indicate that we no longer need a session key for this call. Here is my stack Session key invalid or no longer valid RAILS_ROOT: /Users/dclements/workspace/ttb/travtab/site/trunk Application Trace | Framework Trace | Full Trace
2007 Aug 26
2
ror app with advanced rspec?
Hi! Can anybody link to some ror based project what is using rspec, so nuby as me can learn from it. So it should have updated and practising advanced rspec. After reading last threat about "testing behaviour or testing code?", I just realised that I would definitely learn something from app like that. Some casual googling didn''t help me this time. Thanks! Priit at