使用v2 oAuth API中的
blog/{blog-host}/post
API调用以发布照片时,我在指定图像的“源”方面遇到了问题。API规定此参数应该是一个图片的来源:
http://www.tumblr.com/docs/en/api/v2#posting
我使用了我服务器上的一张图片,比如这个链接。Facebook和其他API正确接受并处理它:
http://streamified.me/p/d4xh6o/
不幸的是, Tumblr返回以下响应:
发布其他类型的状态正常运行...meta = {
msg = "Bad Request"; status = 400; }; response = { errors = ( "Error uploading photo." );
};