简体   繁体   English

从ios xcode发布到特定的Facebook用户的时间轴

[英]Posting to a specific facebook user's timeline from ios xcode

I'm trying to figure out how to post from xcode to a specific user's timeline. 我试图弄清楚如何从xcode发布到特定用户的时间轴。 I found a lot of posts but they seemed to be for older versions of the facebook sdk. 我发现了很多帖子,但它们似乎是针对旧版本的sdk的。

I'm looking here: 我在这里看:

https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.4 https://developers.facebook.com/docs/sharing/reference/feed-dialog/v2.4

And the only option I'm seeing is to use url redirection. 我看到的唯一选择是使用URL重定向。

I'm looking here for options here: https://developers.facebook.com/docs/sharing/ios 我在这里寻找选项: https : //developers.facebook.com/docs/sharing/ios

But I'm not seeing any way to specify it to post to a different user's timeline. 但是我看不到有任何方法可以指定它发布到其他用户的时间轴。

So is the url redirection the only way to do it? 那么url重定向是唯一的方法吗? What I want to do is press a button on my ios app, and then have it post to a facebook wall. 我想做的是在ios应用程序上按一个按钮,然后将其发布到Facebook墙上。 If I use url redirection, it will open up a browser... do the posting and then redirect somewhere... where I assume I will have javascript code to close the browser. 如果我使用url重定向,它将打开浏览器...进行发布,然后重定向到某处...我以为我将使用JavaScript代码关闭浏览器。

Are there any other options? 还有其他选择吗? Thanks. 谢谢。

You can only post to the timeline of the logged in user. 您只能发布到已登录用户的时间轴。 Posting to the timeline of one or more friends of the user is not supported. 不支持将其发布到用户的一个或多个朋友的时间轴上。

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

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