简体   繁体   English

Facebook请求对话框:本机iOS应用程序中的无摩擦请求可能吗?

[英]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.

相关问题 为什么Facebook iOS应用程序没有收到应用程序请求的通知? - Why do Facebook iOS app is not receiving notifications for application requests? 通过Facebook为本地iOS应用发送带有对话框的个人邀请 - send individual invite with dialog for Native iOS app via Facebook 应用程序请求通知未出现在Facebook应用程序中 - App requests notifications are not appearing in facebook app iOS 上的 Facebook apprequest 实现 - 接受的请求正在打开应用商店,而不是我的应用 - Facebook apprequest implementation on iOS - accepted requests are opening app store, not my app 是否可以在iOS上控制http请求和流量? - Is it possible to control http requests and traffic on iOS? 如何监控HTTP请求以便在我内置的ios应用程序中查看我的标头请求 - How to monitor http requests in order to see my header request in my ios app built in react native 测试Facebook Native iOS App - Testing Facebook Native iOS App 在 iOS 上通过本机 Facebook 应用程序打开 Facebook 链接 - Open a facebook link by native Facebook app on iOS Cordova应用程序没有XHR请求在IOS中工作 - Cordova app no XHRs requests work in IOS 签署iOS应用程序请求服务器以防止垃圾邮件 - sign iOS app requests to server to prevent spam
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM