FQL seems to produce NilClass with Test Users - Using Koala

38 views
Skip to first unread message

eEnergy

unread,
Oct 2, 2012, 6:23:29 PM10/2/12
to koala...@googlegroups.com

I'm using Koala to query the FB API. It works fine for users that are not Test Users. The following FQL results in a Nil class.

@result = @graph.fql_query('SELECT pic_square FROM user WHERE uid = Test_User_id')

Any clues why this is the case. Thanks!

Alex Koppel

unread,
Oct 3, 2012, 5:01:15 AM10/3/12
to koala...@googlegroups.com, koala...@googlegroups.com
I'm guessing that test users don't have pictures -- is it returning nil or the actual class NilClass?  If you set the log level to debug in Koala::Utils, what does Facebook send back?

Best,

Alex 

Von meinem iPad gesendet
--
You received this message because you are subscribed to the Google Groups "Koala & The Facebook Graph API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/koala-users/-/erHVrS_LPIsJ.
To post to this group, send email to koala...@googlegroups.com.
To unsubscribe from this group, send email to koala-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/koala-users?hl=en.

Nabil Takla

unread,
Oct 5, 2012, 12:32:46 PM10/5/12
to koala...@googlegroups.com
Thanks Alex for your reply. I'm sorry for my late reply. I was working on another project. It is returning the actual class NilClass. I get the following error when I query Graph API explorer:

{
  "error": {
    "message": "Error validating access token: The session is invalid because the user logged out.", 
    "type": "OAuthException", 
    "code": 190, 
    "error_subcode": 467
  }
}

I have designated the user as a user who installed my app. I'm not sure at this point why I get access token error. Best!
Reply all
Reply to author
Forward
0 new messages