开发者

Is there any way that I can get a friend's online status with Facebook's Graph API?

开发者 https://www.devze.com 2023-03-05 16:49 出处:网络
Can I get friend\'s online status without using FQL? I am u开发者_如何学Csing Rails3 and accessing Facebook\'s Graph API using the Koala gem.It seems like I cant access the online status using graph

Can I get friend's online status without using FQL?

I am u开发者_如何学Csing Rails3 and accessing Facebook's Graph API using the Koala gem.


It seems like I cant access the online status using graph API.


Yes, you can, but you need to get the 'friends_online_presence' permission from the user. See the facebook OAuth permissions list here

EDIT: I've looked further into this, and can't seem to get the online_presence field even when this permission has been properly set. It doesn't seem to appear as a possible field in the Facebook Graph API anywhere. Strange.

0

精彩评论

暂无评论...
验证码 换一张
取 消