有关Facebook Graph Api 中的一些笔记

1.user_friends

Facebook Graph api 2.0+版本中对好友的访问更具保护性。

官网的说明如下:

https://developers.facebook.com/docs/graph-api/reference/user/friends

其中明确提到

  • 这只会返回任何使用(通过Facebook登录)发出请求的应用程序的朋友。

  • 如果该人的朋友拒绝了user_friends的权限,该朋友将不会显示在该人的朋友列表中

也就是说此种引用方法只能返回同样使用当前应用的朋友。
https://stackoverflow.com/questions/23417356/facebook-graph-api-v2-0-me-friends-returns-empty-or-only-friends-who-also-u
描述了如何标记和邀请朋友,可使用新的需审核的api接口。


未完待续......

你可能感兴趣的:(Android)