Using the Facebook graph API how do I tell if a user is online or not?

后端 未结 1 1250
[愿得一人]
[愿得一人] 2021-01-24 08:15

Need to know if a Facebook user is online or not. Can\'t find the graph api call for this?

Is this possible?

1条回答
  •  别那么骄傲
    2021-01-24 08:35

    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.

    0 讨论(0)
提交回复
热议问题