如何通过 iPhone 应用程序单击一次按钮在 Facebook 墙上发布图像 [英] How to post images on facebook wall on a single button click from an iPhone app

查看:16
本文介绍了如何通过 iPhone 应用程序单击一次按钮在 Facebook 墙上发布图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在制作一个 iPhone 应用程序,用户希望通过单击按钮将所选图像发布到 Facebook 墙上.

I am making an iPhone app where in the user wants that the selected image should be posted on facebook wall on a single button click.

我为此设置了 Actionsheet 按钮.

I have Actionsheet button for this.

我希望单击一次按钮即可执行用户身份验证(以下教程中的loginButtonTapped)和将图像发布到墙上(以下教程中的rateTapped).

I want that both authentication of user(loginButtonTapped in tutorial below) and posting images to the wall(rateTapped in tutorial below) be carried out on a single button click.

我使用下面链接中的示例作为在 facebook 墙上发布图片的参考

I am using the example on the link below as my reference for posting images on facebook wall

http://www.raywenderlich.com/1626/how-to-post-to-a-users-wall-upload-photos-and-add-a-like-来自您的 iPhone 应用的按钮

我是新手.

我该怎么办?

我该如何继续?

请帮助和建议.

谢谢.

推荐答案

您可以使用 facebook Graph Api 将图像发布到墙上..

You can use the facebook Graph Api for posting images to wall..

这里是这个教程...

http://www.capturetheconversation.com/technology/iphone-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2

这篇关于如何通过 iPhone 应用程序单击一次按钮在 Facebook 墙上发布图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆