将照片从另一个服务器上传到Facebook
问题描述:
我试图用一个简单的脚本:
Im trying to do a simple script with this:
但我的问题是两件事:
- 我希望用户能够将图片从我的网站发送到Facebook,不必下载,然后上传
- 我想要有一个不同的回应,从Facebook上获得的数字
我看到一些页面这样做
请帮助
答
该文档说你可以上传通过发出具有照片内容的HTTP POST请求和可选描述来进行照片。尝试或许与图像的网址。根据这个,它应该可以工作。
The doc says "you can upload a photo by issuing an HTTP POST request with the photo content and an optional description". Try perhaps with the image's web url. According to this, it should work.
第二,您应该使用 XMLHTTPRequest 。