Using the Facebook graph API how do I tell if a user is online or not?
Need to know if a Facebook user is online or not. Can't find the graph api call f开发者_运维百科or this?
Is this possible?
Use online_presence via FQL
The user's Facebook Chat status. Returns a string, one of active
, idle
, offline
, or error (when Facebook can't determine presence information on the server side). The query does not return the user's Facebook Chat status when that information is restricted for privacy reasons.
精彩评论