简体   繁体   中英

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 for 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM