Possible Duplicate:
Facebook online friend
I am using the Facebook Graph API and I was wondering if there was anyway to get a list of all the users and their current online-status (i.e Online or Offline) in one call?
Now i'm able to get list of users from Hash book Example, in that return JSONArray don't have any object related to this online-status.
EDIT: now i'm using this query for getting friends list query = "select name, current_location, uid, pic_square from user where uid in (select uid2 from friend where uid1=me()) order by name";
but i want only online friends list.
Thanks for any help!