FQL and generics

7 views
Skip to first unread message

kongo09

unread,
Sep 30, 2011, 11:09:22 AM9/30/11
to BatchFB
I would like to get a list of a user's status messages via FQL. I was
expecting to do something like this:

Later<List<FqlStatus>> statusList = batcher.query(fql, new
TypeReference<List<FqlStatus>>() {});

However, the TypeReference only seems to work with Graph queries.
What's the intended way to do this with FQL?

kongo09

unread,
Sep 30, 2011, 11:13:21 AM9/30/11
to BatchFB
There is a clear advantage for those who can (and do) read the
manual...

Later<List<FqlStatus>> statusList = batcher.query(fql,
FqlStatus.class);
Reply all
Reply to author
Forward
0 new messages