简体   繁体   English

没有应用程序请求对话框,是否可以将应用程序请求发送给Facebook朋友?

[英]Is there a way to send app request to Facebook friends without the app request dialog?

I am creating an app that is connected to Facebook. 我正在创建一个连接到Facebook的应用程序。

One functionality of this app is to send notifications to Facebook friends (they will able to see using any browser when they log in to Facebook, or in Facebook app) to try and download the app. 此应用程序的功能之一是向Facebook朋友发送通知(当他们登录到Facebook或在Facebook应用程序中时,他们可以使用任何浏览器查看),以尝试下载该应用程序。

I was able to create a table list of Facebook friends who don't have the app. 我能够创建一个没有该应用程序的Facebook朋友的列表。 And in each UITableViewCell, I added a UIButton titled "Invite" that will call an function to invite that particular friend in the cell. 在每个UITableViewCell中,我添加了一个名为“邀请”的UIButton,它将调用一个函数来邀请单元格中的特定朋友。

I want that when the user tapped the button, the Facebook SDK will send a notification to that Facebook friend. 我希望当用户点击按钮时,Facebook SDK将向该Facebook朋友发送通知。

I don't want to use the default app request dialog the Facebook SDK has. 我不想使用Facebook SDK具有的默认应用程序请求对话框。 I want to customise my own. 我想定制我自己的。

Is it possible? 可能吗?

It is not possible what you are looking for.. See my below answer which would clarify you.. 不可能找到您想要的东西。请参阅我的以下答案以使您澄清。

There is option of frictionless requests . 可以选择无frictionless requests
On Facebook developer site they mentioned in section of Invites and Requests 在Facebook开发人员网站上,他们在“ Invites and Requests部分中提到了

We touched on a scenario where users exchange requests back and forth. 我们谈到了用户来回交换请求的情况。 If this scenario is typical in your game, it can be a bad user experience to force them through the request dialog every time they want to send a request. 如果这种情况在您的游戏中很常见,则每次他们要发送请求时都迫使他们通过请求对话框可能是一种糟糕的用户体验。 The solution for this is frictionless requests. 解决方案是无摩擦的请求。

Frictionless requests let users send requests to friends from an app without having to click on a pop-up confirmation dialog. 无摩擦请求使用户可以从应用程序向好友发送请求,而无需单击弹出确认对话框。 When sending a request to a friend, a user can authorize the app to send subsequent requests to the same friend without another dialog. 向好友发送请求时,用户可以授权该应用将后续请求发送给同一好友,而无需其他对话框。 This streamlines the process of sharing with friends. 这简化了与朋友共享的过程。

For more reference see Facebook Invites and Requests 有关更多参考,请参阅Facebook邀请和请求

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

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