要阅读组,您需要:
- 任何有效的access_token(如果该组是公开的)(即组的
隐私设置为OPEN)
- user_groups权限用户的非公开组
- friend_groups用户的朋友的非公开组的权限
- Apps和游戏的组需要使用App access_token 。
- any valid access_token if the group is public (i.e. the group's
privacy setting is OPEN)
- user_groups permission for a user's non-public groups
- friends_groups permission for a user's friend's non-public groups
- Groups for Apps and Games require the use of an App access_token.
https://graph.facebook.com/me?fields=id,name,groups
您可以使用user_likes或friends_likes权限,通过向/ PROFILE_ID /喜欢发送HTTP GET来读取用户喜欢的页面。例如:
You can read the pages that a User has liked by issuing an HTTP GET to /PROFILE_ID/likes with the user_likes or friends_likes permissions. For example:
https://graph.facebook.com/me/likes