我们可以邀请人们在iOS 5中通过Facebook使用我们的应用程序或通过应用发送朋友请求吗? [英] Can we invite people to use our app or send friend request from the app via Facebook in iOS 5?

查看:105
本文介绍了我们可以邀请人们在iOS 5中通过Facebook使用我们的应用程序或通过应用发送朋友请求吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑 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.

另请参见:


  1. 如何发送添加好友请求(给Facebook用户)从iOS应用程序?

  2. 可以从我自己的应用程序发送Facebook的朋友请求吗?

  1. How to send add friend request (to facebook user) from iOS application?
  2. Can a facebook friend request be sent from my own app?

这篇关于我们可以邀请人们在iOS 5中通过Facebook使用我们的应用程序或通过应用发送朋友请求吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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