非游戏应用程序可以在FB v2中使用FB apprequests对话框 [英] Can non-game app use FB apprequests dialog in FB v2

查看:121
本文介绍了非游戏应用程序可以在FB v2中使用FB apprequests对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在FB api v2.0 +中,非游戏应用程序可以使用apprequests https://developers.facebook.com/docs/games/requests/v2.2#implementation ?我测试了我们的应用程序被归类为购物应用程序似乎能够在切换到FB v2.1时使用apprequests,但是在 https://developers.facebook.com/docs/games/requests/v2.2#implementation ,它说请求可用于游戏在Canvas,iOS或Android上。为什么我的测试显示应用程序api适用于我的购物应用程序的FB v2,但文档说它只适用于Game应用程序?

解决方案

Facebook API中有一个关于非游戏画布应用程序的网络邀请的漏洞。 Facebook 2.2更改日志从v 2.2到v 2.3指出,打开请求对话框的应用程序功能现在仅限于游戏,非游戏应用程序应使用应用程序邀请。但是,App Invites只能在iOS和Android中工作。



尝试呈现非游戏应用的请求对话框将失败,并显示可用于游戏应用的错误只要。
目前,用户无法通过网络邀请朋友到非游戏画布应用,除了使用发送对话框,这是一个糟糕的用户体验,真的不应该被使用。 / p>

我已经向Facebook提交了一个错误报告,他们已经承认这是一个有效的错误。我们希望他们尽快解决这个问题。



https://developers.facebook。 com / bugs / 895531977178531


In FB api v2.0+, can non-game app use apprequests https://developers.facebook.com/docs/games/requests/v2.2#implementation? I tested that our app which is categorized as shopping app seems to be able to use apprequests without problem when switching to FB v2.1, however on the link of https://developers.facebook.com/docs/games/requests/v2.2#implementation, it says "Requests are available for games on Canvas, iOS or Android.". Why my test shows apprequests api works for FB v2 for my shopping app, but the documentation says it only work for Game app?

解决方案

There is in fact a current hole in the Facebook API regarding web invites to non-game canvas apps. The Facebook API changelog from v 2.2 to v 2.3 states that the apprequests function that opens the Request Dialog is now only limited to games, and that non-game apps should use App Invites. However, App Invites work only in iOS and Android.

Trying to render the Request Dialog for a non-game app will fail with an error indicating it is available for game apps only. So currently, there is no way for users to invite friends to a non-game canvas app via the web, except by using the Send Dialog which is a lousy user experience and really shouldn't be used for that.

I have filed a bug report with Facebook and they have acknowledged it is a valid bug. Let's hope they fix it soon.

https://developers.facebook.com/bugs/895531977178531

这篇关于非游戏应用程序可以在FB v2中使用FB apprequests对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆