Stéphane Akkaoui
2008-Nov-26 12:17 UTC
[Facebooker-talk] 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> <status> <message>I''ll give talks at the #railsparty, about Facebooker and Yaps. http://4url.cc/5b.</message> <time>1227546876</time> <status_id>47387474745</status_id> </status> <political>Liberal</political> <pic_small>http://profile.ak.facebook.com/v230/475/16/t785637999_5809.jpg </pic_small> <name>St?phane Akkaoui</name> <quotes/> <is_app_user>1</is_app_user> <tv>Elfen Lied, Ergo Proxy, Bleach, Prison Break, Heroes, The Pretender</tv> <profile_update_time>1227612551</profile_update_time> .... So I''ve added an attr_accessor status_id to the Status class. Commit : 6df106d37fd5230295af06e8461663c7038dd244 HTH, -- St?phane Akkaoui http://www.sociabliz.com http://www.imeuble.info
And I''ve applied this to my tree. Thanks everyone for all your patches. I think I''ve only made about 25% of the changes over the last few months. I really appreciate all your great contributions. Mike On Nov 26, 2008, at 7:17 AM, St?phane Akkaoui wrote:> 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> > <status> > <message>I''ll give talks at the #railsparty, about Facebooker > and Yaps. http://4url.cc/5b.</message> > <time>1227546876</time> > <status_id>47387474745</status_id> > </status> > <political>Liberal</political> > <pic_small>http://profile.ak.facebook.com/v230/475/16/t785637999_5809.jpg > </pic_small> > <name>St?phane Akkaoui</name> > <quotes/> > <is_app_user>1</is_app_user> > <tv>Elfen Lied, Ergo Proxy, Bleach, Prison Break, Heroes, The > Pretender</tv> > <profile_update_time>1227612551</profile_update_time> > .... > > So I''ve added an attr_accessor status_id to the Status class. > > Commit : 6df106d37fd5230295af06e8461663c7038dd244 > > HTH, > > -- > St?phane Akkaoui > http://www.sociabliz.com > http://www.imeuble.info > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Hi All, I have recently returned to a pet facebook project that I had let sit idle for quite a while, so I am probably using a version of facebooker that is at least a year old. Nevertheless it was working up until a few hours ago... and then I started to have problems 1) First I started to get the ''undefined method `status_id='' error mentioned in this thread. Then, shortly afterwards I started getting 2) Facebooker::Session::SessionExpired (Session key invalid or no longer valid): which I assume is something to do with facebook''s recent changes to the session key format. My app is not ''live'' yet so this is not that big a deal, but it raises a few questions for me that hopefully some more experienced facebookerers can comment on 1) Does facebook make a habit of breaking stuff like this? One my app goes live am I going to have to monitor it constantly to see if its still working? 2) I know I am using an old version of facebooker, but it looks like the latest official release was in February, so I assume it would not contain fixes for my current problems. Should I be trying to check out from head or something? 3) Do most people ride the ''edge'' of facebooker in order to pick up the latest fixes for stuff like this? cheers Perryn
On Nov 26, 2008, at 10:07 AM, Perryn Fowler wrote:> Hi All, > > I have recently returned to a pet facebook project that I had let sit > idle for quite a while, so I am probably using a version of facebooker > that is at least a year old. > > Nevertheless it was working up until a few hours ago... and then I > started to have problems > > 1) First I started to get the ''undefined method `status_id='' error > mentioned in this thread. > > Then, shortly afterwards I started getting > > 2) Facebooker::Session::SessionExpired (Session key invalid or no > longer valid): > > which I assume is something to do with facebook''s recent changes to > the session key format. > > My app is not ''live'' yet so this is not that big a deal, but it raises > a few questions for me that hopefully some more experienced > facebookerers can comment on > > 1) Does facebook make a habit of breaking stuff like this? One my app > goes live am I going to have to monitor it constantly to see if its > still working?Yes, Facebook breaks things quite often. It''s a real pain.> > > 2) I know I am using an old version of facebooker, but it looks like > the latest official release was in February, so I assume it would not > contain fixes for my current problems. Should I be trying to check out > from head or something?Check out the new version on github. It has a bunch of changes> > > 3) Do most people ride the ''edge'' of facebooker in order to pick up > the latest fixes for stuff like this?With as frequently as Facebook changes I think most people just use the git tree. We haven''t really been doing releases all that often. I will start doing them more often once I get the github gem generation working. Mike> > > cheers > Perryn > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
Possibly Parallel Threads
- how to get value from the post on the List page
- Stop words, fields, StandardAnalyzer quagmire
- question about finding with :include versus nested dynamic finder (bad form? efficiency?)
- Strange intermittent no search results problem
- design recommendations for authenticating users with lots of different attributes..?