challenge_brag and challenge_score in Friend Smash tutorial

筅森魡賤 提交于 2019-12-11 17:26:51

问题


With reference to the Friend Smash tutorial as https://developers.facebook.com/docs/games/unity/unity-tutorial what is the relevance of the challenge_brag parameter in the FB.Feed call and the challenge_score parameter in the FB.AppRequest call? As far as I can see they are not explained.


回答1:


They are just custom parameters that go back to the game. It allows you to pass data through a request so you can handle it when the request is accepted and the invitee goes into the game. You can then call FB.GetDeepLink() to retrieve these params.



来源:https://stackoverflow.com/questions/23810267/challenge-brag-and-challenge-score-in-friend-smash-tutorial

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