Facebook scores blocked by “only me” visibility

拥有回忆 提交于 2019-12-11 05:38:40

问题


I have a game with highscores and I use the fb-score api to generate a friend leaderboard. One problem though ... to save a score for a fb-user, the app has to "post data for the user" ... in this case, the score-data. But the user can choose to mark this "posting" permission as visible for "only me" instead of global or friends. Which is something a lot of users will do since it sounds like something that would aid their privacy.

That however means that the score of ... lets say USER A ... will never show up in the leaderboard of a friend (USER B), since its something the app has posted for USER A, and this is now unintentionally invisible for all of his friends. But USER A has not really a way to find out about this mistake, and that none of his friends can see his awesome highscore, since he can see his highscore without problems.

That brings me to the question: How can I work around or even approach that problem in any way? Is there a way to get score data for a user even when he marked "app posts" as visible for only himself? Is that an accesstoken thing, user or app? Or could I somehow check if the user has done such a thing and alert him to change the post-permission visibility? As far as I know i can only check if a permission is given or not, but not its visibility. I would really want to work past setting up a server of my own to handle that data.


回答1:


Yes, unfortunately this seems to be the designed behaviour. User A has stated via his visibility preferences that he only wants to share information about this game (such as his score) with himself, therefore it makes sense that other users cannot see his score. To achieve your goal, an additional database is necessary.



来源:https://stackoverflow.com/questions/16071117/facebook-scores-blocked-by-only-me-visibility

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!