简体   繁体   English

如何使用iPhone的Facebook Connect API邀请朋友加入应用程序或发送消息

[英]How can I use the facebook connect api for the iphone to to invite friends to an application or send a message

In my iPhone application, I wanted to add the function of signing into Facebook and letting a friend know about the app. 在我的iPhone应用程序中,我想添加登录Facebook并让朋友知道该应用程序的功能。 I know how to sign in and get the friends list, but I cannot find a good way of inviting a friend. 我知道如何登录并获取好友列表,但是找不到邀请好友的好方法。 So far, I haven't been able to come up with a way to invite a friend (I don't think one can with the iphone facebook sdk yet) or send a message to the inbox. 到目前为止,我还没有想办法邀请朋友(我认为还没有人可以使用iphone facebook sdk)或将消息发送到收件箱。 Is there a way to do either of these? 有办法做到这些吗? If not are there any better options I haven't thought of? 如果没有,还有我没想到的更好的选择? Thank you for any advice. 感谢您的任何建议。

checkout this tutorial. 查看本教程。 i used it to get the facebook header files sorted out. 我用它来整理出Facebook头文件。 Once thats done, everything should be in place for you to send a message easily : 一旦完成,一切都应该准备就绪,以便您轻松发送消息:

http://www.mobileorchard.com/marketing-in-code-part-2-setting-a-users-status-in-facebook-from-an-iphone-app-a-tutorial/ http://www.mobileorchard.com/marketing-in-code-part-2-setting-a-users-status-in-facebook-from-an-iphone-app-a-tutorial/

查看此帖子。它显示了我们对facebook api的使用方法

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

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