What do I do after I fetch the data?

45 views
Skip to first unread message

Pavee Udomkarnpaisarn

unread,
Mar 24, 2013, 2:15:01 PM3/24/13
to fb_g...@googlegroups.com
I honestly have no idea what to do with the data I fetch.

For example,

I do:
@fb = FbGraph::User.me([token])
@fb = @fb.fetch
@fb.home({:fields => "from,message", :limit => 5}) (or something else)

I always get something like:

[#<FbGraph::Post:0x00000005d6dcb0 @identifier="1411086....etc, etc

which is not a JSON object. Yes, I can see that there are JSON objects inside @raw_attributes but I have completely no idea how to access them.

This is probably a stupid question to ask but I'm new to these kinda things and I've been searching on the internet for hours now but to no avail.
Reply all
Reply to author
Forward
0 new messages