[Facebooker-talk] New status_id in Facebook API - FIX

Stéphane Akkaoui stephane.akkaoui at imeuble.info
Wed Nov 26 07:17:33 EST 2008


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


More information about the Facebooker-talk mailing list