简体   繁体   English

iOS社交框架发布到朋友墙

[英]iOS Social Framework to post to friends wall

My underlying goal is to allow the user of my app to invite a facebook friend to also use the app, by either posting a story to that friend's timeline, or by sending them a private message. 我的基本目标是允许我的应用程序的用户通过在好友的时间轴上发布故事或向他们发送私人消息来邀请Facebook朋友也使用该应用程序。

My hope is to do so using the iOS Social Framework exclusively. 我的希望是仅使用iOS社交框架来这样做。

My immediate questions are twofold: 我的直接问题是双重的:

  1. Can you use the SLComposeViewController to post to a friend's wall, or is that limited to only posting to the app user's wall? 您可以使用SLComposeViewController发布到朋友的墙上,还是仅限于仅发布到应用程序用户的墙上?

  2. If SLComposeViewController cannot be used to do that, then what is the recommended method for doing so (again, within the social framework)? 如果不能使用SLComposeViewController进行此操作,那么推荐的方法是什么(同样在社交框架内)?

Thanks! 谢谢!

不能在fecebook sdk中邀请朋友。.但是您可以轻松地向您的朋友发送消息。

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

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