如何分享图片到Facebook? [英] How to Share an Image to facebook?

查看:315
本文介绍了如何分享图片到Facebook?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从iPhone应用程序共享图像到Facebook?

How to share an image from an iPhone application to facebook?

我非常感谢任何指南或帮助。

I am greatly appreciative of any guide or help.

推荐答案

有关如何使用新的Facebook图形API的Ray Wenderlech教程。

There is a Ray Wenderlech tutorial on how to use the new Facebook graph API.

http://www.raywenderlich.com / 1488 / how-to-use-facebooks-new-graph-api-from-your-iphone-app

现在一旦你有了用户给你留言,在你的情况下会是publish_stream。您可以使用参数调用图形API,以便在墙上张贴照片。

Now once you have got the user giving you persmission, in your case it would be publish_stream. You can call the graph API with the parameters to post a photo on the wall.

您将需要深入开发人员帮助指南,以准确找到符合你的要求您将不得不使用第一步获得的accesstoken来进行后续呼叫。

You will need to dig into the developers help guide to find accurately the Graph api which meets your requirement. You will have to then use the accesstoken got from the first step to make the subsequent calls.

这篇关于如何分享图片到Facebook?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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