[英]Facebook Requests Dialog: Frictionless Requests in native iOS app possible?
As of Oct 10, 2011, the Facebook iOS SDK does again support the "apprequests" dialog for sending user-to-user requests from native iOS apps (see the screenshots in Facebook's developer docs for an example). 截至2011年10月10日, Facebook iOS SDK再次支持“apprequests”对话框,用于从本机iOS应用程序发送用户对用户请求(请参阅Facebook开发人员文档中的屏幕截图 )。
One thing that's missing compared to the apprequests dialog invoked via Javascript, though, is the possibility to enable the so-called frictionless requests (see the section about frictionless requests about halfway down the page), ie the ability for the user to allow the app to send user-to-user requests without the dialog popping up every time by checking a checkbox when the dialog pops up first. 但是,与通过Javascript调用的apprequests对话框相比,缺少的一件事是,可以启用所谓的无摩擦请求 (请参阅有关页面中间的无摩擦请求部分),即用户允许应用程序的能力通过在首先弹出对话框时选中复选框,每次都不会弹出对话框来发送用户到用户的请求。
Question: is there a way to enable frictionless requests for native iOS apps. 问题:有没有办法为本机iOS应用程序启用无摩擦请求。
To answer my own question, frictionless requests now work (as of late Oct 2011). 为了回答我自己的问题,无摩擦请求现在有效(截至2011年10月底)。 It seems Facebook has enabled the functionality.
似乎Facebook已启用该功能。
The reason it worked all of sudden might also have to do with us switching our FB app ID from a sandbox app (for internal testing) to an app used in production. 它突然工作的原因也可能与我们将FB应用程序ID从沙箱应用程序(用于内部测试)切换到生产中使用的应用程序有关。 So perhaps frictionless requests are enabled by Facebook only for production apps or on an app-by-app basis.
因此,Facebook可能仅为生产应用程序或逐个应用程序启用无摩擦请求。
The SDK references still claim it's not possible. SDK参考仍然声称它是不可能的。
"You cannot use frictionless requests in native iOS or Android apps, or from any server-side SDKs." “您不能在本机iOS或Android应用程序中使用无摩擦请求,也不能在任何服务器端SDK中使用无摩擦请求。”
https://developers.facebook.com/docs/reference/dialogs/requests/ https://developers.facebook.com/docs/reference/dialogs/requests/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.