iphone开发:从friendpicker向多个facebook好友发送应用请求

时间:2013-05-29 12:26:58

标签: iphone ios objective-c facebook facebook-graph-api

我一直在寻找这么长时间没找到合适的答案,所以如果你有任何想法它会是完美的。

在我的应用程序中,我有friendpicker控制器,它列出了我所有的朋友。当我选择其中一些并按下完成按钮时,我可以成功记录我选择的那些。所以没有问题。但我想要做的是向所选用户发送应用请求。我怎样才能做到这一点?我需要的是向从friendpicker中选择的朋友发送多个app请求。谢谢

(Facebook SDK 3.5)

1 个答案:

答案 0 :(得分:-1)

You should design experiences into your app to allow users to send requests to     friend to drive re-engagement. Some design experiences include giving users the ability to request gifts, accept gifts, or help them complete a mission in your app. For example in Diamond Dash you can send a life to a friend. If that friend has not been using the app for a while this could help re-engage them.

Another design experience to consider is to allow users invite their friends to use    your app. For example, there are apps that ask users to rate the app after some time. If you wanted to build something similar to drive engagement you could ask users to invite their friends. Wherever you have a button or call to action to rate   the app, think about adding a flow to invite friends.

These 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:

Triggering when the invitation or request is sent
Sending the request
Sending additional data with the request, such as a virtual gift

请参阅本教程:http://developers.facebook.com/docs/howtos/send-requests-using-ios-sdk/

这可能会对你有帮助。