Skip to content

Instantly share code, notes, and snippets.

@seizethedave
Created October 28, 2010 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seizethedave/652496 to your computer and use it in GitHub Desktop.
Save seizethedave/652496 to your computer and use it in GitHub Desktop.
API v2 post snippet
{ ...
"body":"<div>this is a post with several images.</div><div><br></div>[[posterous-content:lR2jp4Hb7XzZ4BDqb4iO]]<br><div><br></div><div>and some text</div><div><br></div><div>[[posterous-content:xaBboiu6rO5ZocBFlAT3]]<br> </div><div><br></div><div>and more text</div><div><br></div><div>blah</div><div><br></div><div>[[posterous-content:K4uoOUqxyzzatT0B6T14]]<br></div><div><br></div><div>foo</div>","is_private":false,"id":31847580,
"media":
[
{"audio_files":[]},
{"videos":[]},
{"images":
[{
"scaled500":{"post_id":31847580,"username":"seizethedave","height":333,"caption":"multi images","url":"http://posterous.com/getfile/files.posterous.com/seizethedave/9gWARJcf9isgtju6yIWNg3QNZ6byLvOYftYkirMdTvl7RtNefofo6G2hCeTI/My_Fishies.jpg.scaled.500.jpg","width":500,"size":49},
"full":{"post_id":31847580,"username":"seizethedave","height":399,"caption":"multi images","url":"http://posterous.com/getfile/files.posterous.com/seizethedave/83P7r2zTzCBydmGarDNW6RBvEpl5nzx6KUAiUzHTrkzUAotUmdGE7bNL8SnA/My_Fishies.jpg","width":600,"size":49}
},
{"full":
{"post_id":31847580,"username":"seizethedave","height":150,"caption":"multi images","url":"http://posterous.com/getfile/files.posterous.com/seizethedave/bPW7RdkjUfhlSXri3xO0lcw3ovVPK5xgbRYpG8u8uozp101urvZLWju56t3E/4198796.jpg","width":150,"size":32
}
}
,
{"full":
{
"post_id":31847580,"username":"seizethedave","height":280,"caption":"multi images","url":"http://posterous.com/getfile/files.posterous.com/seizethedave/edFA7qCBwCZIo1BEH2debhaDfWGrLS4eFtqbkFK9AVC3pYzDN1NcurxKzafB/anand.jpg","width":420,"size":25
}
}
]
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment