简体   繁体   English

Facebook Unity SDK Invitable_friends API问题

[英]Facebook Unity SDK Invitable_friends API Issue

I am using Facebook unity SDK. 我正在使用Facebook unity SDK。 I recently upgraded the unity SDK. 我最近升级了统一SDK。 Now, If I want to get invitable friends data. 现在,如果我想获得邀请的朋友数据。 My app should be game and must contain canvas presence (Ref : https://developers.facebook.com/docs/games/invitable-friends/v2.0?locale=en_GB ). 我的应用程序应该是游戏,并且必须包含画布(请参阅: https : //developers.facebook.com/docs/games/invitable-friends/v2.0? locale =en_GB )。 My game is mobile based (iOS/Android). 我的游戏是基于移动设备的(iOS / Android)。 I don't have canvas app. 我没有画布应用。 But to use invitable_friends API, I had to provide dummy URL of the canvas app in facebook developer app settings. 但是要使用invitable_friends API,我必须在facebook开发人员应用程序设置中提供canvas应用程序的虚拟URL。 I read it some where on the internet so that I can access invitable_friends data. 我在互联网上的某些地方阅读了该书,以便可以访问invitable_friends数据。 Now, it works fine. 现在,它工作正常。 But I am now thinking, that is it right to use by above method. 但是我现在在想,按上述方法使用是正确的。 Can this thing be of some problem (my app is already LIVE on app store). 这件事有什么问题吗(我的应用程序已经在应用程序商店中运行)。 Should I create canvas app as well? 我也应该创建画布应用程序吗?

Yes, you should. 是的你应该。 Right now you can send see the invitable friends, but sending an app request using token to someone who is not a developper/tester/admin will fail. 现在,您可以发送邀请邀请对象,但是使用令牌将应用程序请求发送给不是开发人员/测试人员/管理员的人将会失败。 In order to use the tokens you need to submit the app for a review, and facebook won't approve this permission without an active game in canvas. 为了使用令牌,您需要提交应用程序进行审阅,而没有画布上的有效游戏,facebook不会批准此许可。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM