假设 X 和 Y 是 Facebook 中的朋友,并且他们都在各自的手机中安装了应用程序.但在该应用的好友列表中,他们并不是彼此的好友.那么现在,可以X 从应用本身向Y发送好友请求,这样他们就可以成为好友了在应用的好友列表中?
Consider X and Y are friends in Facebook and they both have installed an app in their respective phones. But they are not friends with each other in that app's friend list. So now, can X send a friend request to Y from the app itself, so that they could be friends on the app's friends list?
在另一种情况下,X 已经在他的手机中安装了这个应用程序,而 Y 没有.再说一遍,X 邀请 Y可以使用那个应用吗?
Also in another case, X has installed this app in his phone, while Y has not. So again, can X invite Y to use that app?
它通过用户在 Facebook 中注册的电子邮件 ID 来跟踪他们.所以,找朋友是为了搜索已经应用的用户",他们不在应用的好友列表中,但在facebook是好友,邀请好友是为了邀请在 Facebook 成为好友的非应用用户.
It tracks the people through the email id they have registered with in Facebook. So, find friends is for searching the "already app users", who are not in the app's friend list, but are friends in facebook and invite friends is for inviting the non-users of the app who are friends in Facebook.
我的问题是,这在 iOS5 中是否可行,即.不使用仅在 iOS6 中引入的 Facebook sdk?
My question is, is this possible in iOS5 ie. without using the Facebook sdk which was introduced only in iOS6?
使用 Facebook-sdk 3.1
当应用允许用户选择一个或多个朋友来发送请求时,用户生成的请求就会启动.
User-generated requests are initiated when the app enables the user to select one or more friends to send a request to.
我们将引导您完成发送邀请或请求的步骤:
We will walk you through the steps to send out an invite or a request:
您可以将您的应用设置为在用户使用该应用一定次数后提示用户发送邀请.您还应该让用户能够随时通过使用他们可以随时访问的菜单按钮来邀请朋友使用该应用程序.在这一步中,我们将向您展示一种触发邀请请求的简单方法.
You can set up your app to prompt the user to send out an invite after the user has used the app a certain number of times. You should also give the user the ability to invite friends to use the app at any time through the use of a menu button they can always get to. In this step we will show you a simple way of triggering the invitation request.
请参阅 https://developers.facebook.com/docs/howtos/send-requests-using-ios-sdk/#protip2 了解不同类型的编码逻辑.
See https://developers.facebook.com/docs/howtos/send-requests-using-ios-sdk/#protip2 for different types of coding logic.
另见:
这篇关于我们可以邀请人们使用我们的应用程序或通过 iOS 5 中的 Facebook 从应用程序发送好友请求吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!