Facebook 应用程序:在一篇文章中将多张图片上传到墙上 [英] Facebook Application: Uploading multiple images in one post to wall

查看:23
本文介绍了Facebook 应用程序:在一篇文章中将多张图片上传到墙上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过api在一篇文章中上传多张图片?

像这里:http://www.facebook.com/SocialCity?v=wall

我通过 curl 请求只上传了一张图片.

卷曲-F "access_token=token_here"-F "message=message_here"-F "图片=http://www.example.com/image.jpg"https://graph.facebook.com/app_id_here/feed

或者不能以这种方式发布多张图片?

有人吗?

谢谢;)

解决方案

现在可以使用 Open Graph,但它似乎只适用于用户生成的照片:https://developers.facebook.com/docs/opengraph/usergeneratedphotos/>

How to upload multiple images in one post via api?

Like here: http://www.facebook.com/SocialCity?v=wall

I have managed to upload only one image via curl request.

curl -F "access_token=token_here" -F "message=message_here" -F "picture=http://www.example.com/image.jpg" https://graph.facebook.com/app_id_here/feed

Or it's not possible to post multiple images this way?

Anyone?

Thanks ;)

解决方案

It's possible by now with the Open Graph however it seems to apply only to user generated fotos: https://developers.facebook.com/docs/opengraph/usergeneratedphotos/

这篇关于Facebook 应用程序:在一篇文章中将多张图片上传到墙上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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