如何用iPhone上的链接在Facebook上上传照片?
答
非常简单,只需在媒体附件字典中使用href键即可。
{"media": [
{
"type": "image",
"src": "http://icanhascheezburger.files.wordpress.com/2009/03/funny-pictures-kitten-finished-his-milk-and-wants-a-cookie.jpg",
"href": "http://icanhascheezburger.com/2009/03/30/funny-pictures-awlll-gone-cookie-now/"
},
{
"type": "image",
"src": "http://photos.icanhascheezburger.com/completestore/2009/1/18/128768048603560273.jpg",
"href": "http://ihasahotdog.com/upcoming/?pid=20869"
}]
}