FQL problem

72 views
Skip to first unread message

eEnergy

unread,
Jul 23, 2012, 5:32:02 PM7/23/12
to koala...@googlegroups.com
This works:
@userAlbums = @rest.fql_query("select name, object_id, size FROM album WHERE owner = me()")

And this does NOT:
@userAlbums = @rest.fql_query("select name, object_id, size, type FROM album WHERE owner = me() AND type != "profile"")

I don't understand why. Thanks!

Rafi Jacoby

unread,
Jul 24, 2012, 11:00:13 AM7/24/12
to koala...@googlegroups.com
Is it failing b/c of the early closing of your double-quotes?

--
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/-/nEPDqLJUFXEJ.
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.

banane

unread,
Jul 24, 2012, 12:42:15 PM7/24/12
to koala...@googlegroups.com
Must be the double-quote, use single-ticks around 'profile', (fql works for that)

It's not your FQL, I tested that and it works.

add "fql?q=" then paste in your query:

http://developers.facebook.com/tools/explorer/fql?q=select name, object_id, size, type FROM album WHERE owner = me() AND type != "profile"
Reply all
Reply to author
Forward
0 new messages