我的应用中有基本的 Facebook 集成,用于发布屏幕截图。我想知道如何实现以下目标。
您可以创建自己的高分系统,也可以使用 Scores API:https://developers.facebook.com/docs/games/scores
请参阅“为玩家和 friend 阅读分数”:
You can read the set of scores for a player and their friends by issuing an HTTP GET request to /APP_ID/scores with the user access_token for that app. The user_friends permission is required in order to view friends' scores. This returns a list of scores for a player and friends who have authorized the app. The list is sorted by descending score value, so it returns friends with the highest scores first. You can use this call to generate a leader board for a player and friends.
关于ios - 如何访问使用我的 iOS 应用程序的 Facebook friend 的高分?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26317316/
欢迎光临 OStack程序员社区-中国程序员成长平台 (https://ostack.cn/) | Powered by Discuz! X3.4 |