可能重复:
我正在使用脸谱图形API,我想知道是否有一个列表,所有的用户和他们当前的在线状态(即在线或离线)在一个电话?
现在我可以从Hash图书示例中获得用户列表,在返回的JSONArray中没有任何与此在线状态相关的对象。
编辑:现在我使用这个查询获取好友列表query = "select name, current_location, uid, pic_square from user where uid in (select uid2 from friend where uid1=me()) order by name";,但我只想要在线好友列表。
谢谢你的帮助!