[Facebooker-talk] How to instanciate a Group or Event model object

Malisart Aurélien aurelien.malisart.mailinglists at gmail.com
Sun Jan 25 16:23:53 EST 2009


Hi,

What do I have to do to have a populated object of class  
Facebooker::Group or Facebooker::Event populated with its group/event  
information if I know it's gid/eid? Is it required to use FQL?

I tried things like these:

Facebooker::Group.new(:gid => 42)
Facebooker::Event.new(:eid => 42)

since the initialize of Facebooker::Model takes a hash, but the object  
isn't populated.

Thanks

Aurélien


More information about the Facebooker-talk mailing list