Tumblr API2: Create A Photo Post with several Images
Hi I have read the docs here: http://www.tumblr.com/docs/en/api/v2#posting
I know how to upload one pic via the The photo 'source' URL parameter. like:
sou开发者_运维问答rce: 'http://www.example.com/example.jpg'
How can I upload several pics in one photo post?
Thanks a lot!
Did you see this on the API page link for photo uploads?
data Array (URL-encoded binary contents) Limit: 5 MB
You would pass in an array containing the image links containing the multiple values as data instead of a single source file.
精彩评论