xcode 在 Facebook 上分享链接而无需创建 Facebook 应用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4602437/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 03:38:40  来源:igfitidea点击:

Share a link on FaceBook without creating a facebook app

iphonecocoa-touchxcodeiphone-sdk-3.0ios4

提问by includeMe

From my iPhone app I would like to share a link on Facebook. I know that this can be done by creating an app in the facebook and use the id/key of that Facebook app.

在我的 iPhone 应用程序中,我想在 Facebook 上分享一个链接。我知道这可以通过在 facebook 中创建一个应用程序并使用该 Facebook 应用程序的 id/key 来完成。

Is there any other way for sharing a link in FB, like the AddThis library for webapps. So that I neednot create an app in the facebook

有没有其他方法可以在 FB 中共享链接,例如 webapps 的 AddThis 库。这样我就不需要在 facebook 中创建一个应用程序

采纳答案by jithinroy

AddThis has iOS Sdk now : http://www.addthis.com/help/ios-overview

AddThis 现在有 iOS Sdk:http: //www.addthis.com/help/ios-overview

回答by ma11hew28

Not that I know of. AFAIK, the best & easiest way to do this is w a Facebook app. User authentication (through a Facebook app) is required in order to post anything to a wall; anonymous wall posts are not allowed. It's really easy to create a Facebook app. Then, check out the facebook-ios-sdk.

从来没听说过。AFAIK,最好和最简单的方法是使用 Facebook 应用程序。需要用户身份验证(通过 Facebook 应用程序)才能将任何内容发布到墙上;不允许匿名墙贴。创建 Facebook 应用程序真的很容易。然后,查看 facebook-ios-sdk。

回答by kgutteridge

Unfortunately you cannot have anonymous wall posts to facebook, so I would recommend using the sdk, if you only need to post to walls, take a look at www.getsharekit.com which will make this trivial to do

不幸的是,您不能在 facebook 上发布匿名墙贴,所以我建议使用 sdk,如果您只需要在墙上发帖,请查看 www.getsharekit.com,这将使这项工作变得微不足道