如何通过 iPhone 应用程序单击一次按钮在 Facebook 墙上发布图像

2023-10-03移动开发问题
1

本文介绍了如何通过 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 墙上发布图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

Cocos2d - 如何检查不同层中对象之间的交集
Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)...
2024-08-12 移动开发问题
8

突出显示朗读文本(在 iPhone 的故事书类型应用程序中)
Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))...
2024-08-12 移动开发问题
9

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

如何将 32 位 PNG 转换为 RGB565?
How to convert 32 bit PNG to RGB565?(如何将 32 位 PNG 转换为 RGB565?)...
2024-08-12 移动开发问题
21

正确的 cocos2d 场景重启?
Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)...
2024-08-12 移动开发问题
7