{"id":634,"date":"2009-08-04T12:23:44","date_gmt":"2009-08-04T04:23:44","guid":{"rendered":"http:\/\/www.impjq.net\/blog\/2009\/08\/04\/flickrapi%e6%b5%8b%e8%af%95%e8%84%9a%e6%9c%ac2\/"},"modified":"2009-08-04T12:23:44","modified_gmt":"2009-08-04T04:23:44","slug":"flickrapi%e6%b5%8b%e8%af%95%e8%84%9a%e6%9c%ac2","status":"publish","type":"post","link":"https:\/\/pjq.me\/?p=634","title":{"rendered":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1"},"content":{"rendered":"<p>\u4e4b\u524d\u5199\u7684\u4e00\u4e2a<a href=\"http:\/\/www.impjq.net\/blog\/2009\/08\/03\/flickr-api-%e6%b5%8b%e8%af%95%e8%84%9a%e6%9c%ac\/\">\u811a\u672c<\/a>\u5df2\u7ecf\u53ef\u4ee5\u6210\u529f\u83b7\u5f97auth token,\u6709\u4e86\u5b83\uff0c\u4f60\u5c31\u53ef\u4ee5\u4e0eflickr\u8fdb\u884c\u901a\u8baf\u4e86\u3002\u53ef\u4ee5\u5229\u7528\u5b83\u7ed9\u7684API\u505a\u4f60\u60f3\u505a\u7684\u4e8b\u4e86\u3002<\/p>\n<p>\u6211\u5148\u5b9e\u73b0\u4e86\u7528API\u4e0e\u8bbe\u7f6e\u7684blog\u901a\u8baf\u7684\u811a\u672c\uff0c\u7528\u8fd9\u4e2a\u811a\u672c\u5c31\u53ef\u4ee5\u7ed9\u4f60\u9009\u5b9a\u7684blog\u53d1\u6587\u4e86\uff0c\u6211\u5206\u522b\u6d4b\u8bd5\u4e86wordpress\u548ctwitter,\u90fd\u53ef\u4ee5\u6b63\u5e38\u53d1\u6587\uff1a<br \/>\n<!--more--><\/p>\n<pre line=\"1\" lang=\"java\">\npercy@o-2rl2:~\/flickr$ cat blog.sh\n#########################################################################\n# Author: pengjianqing@gmail.com\n# Created Time: Mon 03 Aug 2009 07:48:46 PM CST\n# File Name: blog.sh\n# Description:\n#########################################################################\n#!\/bin\/bash\n\nAPI_KEY=***********************************\nAPI_SECRET=********************************\n#echo \"API_KEY=${API_KEY}\"\n#echo \"API_SECRET=${API_SECRET}\"\n\n\necho \"*********************************************************\"\necho \"Get auth token...\"\necho \"*********************************************************\"\nTOKEN=`cat token.xml|grep -i token|cut -d \"&gt;\" -f2|cut -d \"&lt;\" -f1`\necho TOKEN=${TOKEN}\necho \"*********************************************************\"\necho \"Now you can use this token to Communication with flickr.com\"\necho \"Here I just get the info and the blog list I have setted in the flickr.\"\necho \"*********************************************************\"\n\n\necho \"*********************************************************\"\necho \"Get blog list...\"\necho \"*********************************************************\"\nMETHORD=flickr.blogs.getList\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O bloglist.xml\ncat bloglist.xml\n\n\necho \"*********************************************************\"\necho \"Get Services list...\"\necho \"*********************************************************\"\nMETHORD=flickr.blogs.getServices\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O services.xml\ncat services.xml\n\necho \"*********************************************************\"\necho \"Sent a post to blog...\"\necho \"*********************************************************\"\nMETHORD=flickr.blogs.postPhoto\nPHOTO_ID=3783563309\necho \"Please choose the blog you want to post a photo:\"\nBLOGS=`cat bloglist.xml |grep id|cut -d \"=\" -f3|sed 's\/\"\/\/g'|sed 's\/service\/\/g'|grep -n \"\"`\necho \"${BLOGS}\"\nread -p \"Enter your choice:\" CHOOSE\nBLOGNAME=`echo \"${BLOGS}\"|grep \"^${CHOOSE}\"|cut -d \":\" -f2`\necho BLOGNAME=${BLOGNAME}\nBLOG_ID=`grep ${BLOGNAME} bloglist.xml|cut -d \"\\\"\" -f2`\n\nread -p \"Enter the password:\" PASSWORD\nread -p \"Enter the Title:\" TITLE\nread -p \"Enter the Description:\" DESCRIPTION\n#PASSWORD=\"\"\necho PASSWORD=${PASSWORD}\n\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}blog_id${BLOG_ID}blog_password${PASSWORD}description${DESCRIPTION}method${METHORD}photo_id${PHOTO_ID}title${TITLE}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\n#FLICKR_URL=\"http:\/\/api.flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&blog_id=${BLOG_ID}&photo_id=${PHOTO_ID}&title=${TITLE}&description=${DESCRIPTION}&blog_password=${PASSWORD}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\nFLICKR_URL=\"http:\/\/api.flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&blog_id=${BLOG_ID}&photo_id=${PHOTO_ID}&title=${TITLE}&description=${DESCRIPTION}&blog_password=${PASSWORD}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\nwget  ${FLICKR_URL} -O postblog.xml\ncat postblog.xml\n\n\n<\/pre>\n<p>\u4e0b\u9762\u8fd9\u4e2a\u662f\u7528\u6765\u83b7\u53d6\u8054\u7cfb\u4eba\u4fe1\u606f\u7684\u811a\u672c\uff1a<\/p>\n<pre line=\"1\" lang=\"java\">\n\npercy@o-2rl2:~\/flickr$ cat contact.sh\n#########################################################################\n# Author: pengjianqing@gmail.com\n# Created Time: Mon 03 Aug 2009 07:48:46 PM CST\n# File Name: blog.sh\n# Description:\n#########################################################################\n#!\/bin\/bash\n\nAPI_KEY=*********************\nAPI_SECRET=************************\n#echo \"API_KEY=${API_KEY}\"\n#echo \"API_SECRET=${API_SECRET}\"\n\n\necho \"*********************************************************\"\necho \"Get auth token...\"\necho \"*********************************************************\"\nTOKEN=`cat token.xml|grep -i token|cut -d \"&gt;\" -f2|cut -d \"&lt;\" -f1`\necho TOKEN=${TOKEN}\necho \"*********************************************************\"\necho \"Now you can use this token to Communication with flickr.com\"\necho \"Here I just get the info and the blog list I have setted in the flickr.\"\necho \"*********************************************************\"\n\n\necho \"*********************************************************\"\necho \"Get contact list...\"\necho \"*********************************************************\"\nMETHORD=flickr.contacts.getList\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O contactlist.xml\ncat contactlist.xml\n\necho \"*********************************************************\"\necho \"Get getListRecentlyUploaded\"\necho \"*********************************************************\"\nMETHORD=flickr.contacts.getListRecentlyUploaded\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O contactuploaded.xml\ncat contactuploaded.xml\n\n\n\necho \"*********************************************************\"\necho \"Get flickr.contacts.getPublicList\"\necho \"*********************************************************\"\nUSER_ID=`grep nsid token.xml |cut -d \"\\\"\" -f2`\n#USER_ID=40112025%40N03\nMETHORD=flickr.contacts.getPublicList\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}user_id${USER_ID}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/api.flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&user_id=40112025%40N03&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O contactpubliclist.xml\ncat contactpubliclist.xml\n\n\n<\/pre>\n<p>\u4e0b\u9762\u8fd9\u4e2a\u662f\u83b7\u5f97commons\u7684\u811a\u672c\uff0c\u73b0\u5728\u8fd8\u4e0d\u6e05\u695a\u8fd9\u4e2a\u4e1c\u897f\u662f\u505a\u4ec0\u4e48\u7684\uff1a<\/p>\n<pre line=\"1\" lang=\"java\">\npercy@o-2rl2:~\/flickr$ cat commons.sh\n#########################################################################\n# Author: pengjianqing@gmail.com\n# Created Time: Mon 03 Aug 2009 07:48:46 PM CST\n# File Name: blog.sh\n# Description:\n#########################################################################\n#!\/bin\/bash\n\nAPI_KEY=********************************\nAPI_SECRET=*****************************\n#echo \"API_KEY=${API_KEY}\"\n#echo \"API_SECRET=${API_SECRET}\"\n\n\necho \"*********************************************************\"\necho \"Get auth token...\"\necho \"*********************************************************\"\nTOKEN=`cat token.xml|grep -i token|cut -d \"&gt;\" -f2|cut -d \"&lt;\" -f1`\necho TOKEN=${TOKEN}\necho \"*********************************************************\"\necho \"Now you can use this token to Communication with flickr.com\"\necho \"Here I just get the info and the blog list I have setted in the flickr.\"\necho \"*********************************************************\"\n\n\necho \"*********************************************************\"\necho \"Get blog list...\"\necho \"*********************************************************\"\nMETHORD=flickr.commons.getInstitutions\nSIG=${API_SECRET}api_key${API_KEY}auth_token${TOKEN}method${METHORD}\necho SIG=${SIG}\nAPI_SIG=`java md5 ${SIG}`\necho API_SIG=${API_SIG}\nFLICKR_URL=\"http:\/\/flickr.com\/services\/rest\/?method=${METHORD}&api_key=${API_KEY}&auth_token=${TOKEN}&api_sig=${API_SIG}\"\n\nwget  ${FLICKR_URL} -O commons.xml\ncat commons.xml\n\n\n<\/pre>\n<p>\u5176\u5b83API\u7684\u5b9e\u73b0\u5e94\u8be5\u548c\u4e0a\u9762\u8fd9\u4e9b\u90fd\u4f1a\u6bd4\u8f83\u7c7b\u4f3c\u7684\uff0c\u7b49\u5168\u90e8\u6d4b\u8bd5\u5b8c\u540e\uff0c\u518d\u91cd\u65b0\u6574\u7406\u4e00\u4e0b\u3002<\/p>\n<div class=\"zemanta-pixie\"><img decoding=\"async\" class=\"zemanta-pixie-img\" alt=\"\" src=\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u5199\u7684\u4e00\u4e2a\u811a\u672c\u5df2\u7ecf\u53ef\u4ee5\u6210\u529f\u83b7\u5f97auth token,\u6709\u4e86\u5b83\uff0c\u4f60\u5c31\u53ef\u4ee5\u4e0eflickr\u8fdb\u884c\u901a\u8baf\u4e86\u3002\u53ef\u4ee5\u5229\u7528\u5b83\u7ed9\u7684API\u505a\u4f60\u60f3\u505a\u7684\u4e8b\u4e86\u3002 \u6211\u5148\u5b9e\u73b0\u4e86\u7528API\u4e0e\u8bbe\u7f6e\u7684blog\u901a\u8baf\u7684\u811a\u672c\uff0c\u7528\u8fd9\u4e2a\u811a\u672c\u5c31\u53ef\u4ee5\u7ed9\u4f60\u9009\u5b9a\u7684blog\u53d1\u6587\u4e86\uff0c\u6211\u5206\u522b\u6d4b\u8bd5\u4e86wordpress\u548ctwitter,\u90fd\u53ef\u4ee5\u6b63\u5e38\u53d1\u6587\uff1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-634","post","type-post","status-publish","format-standard","hentry","category-14"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pjq.me\/?p=634\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"\u4e4b\u524d\u5199\u7684\u4e00\u4e2a\u811a\u672c\u5df2\u7ecf\u53ef\u4ee5\u6210\u529f\u83b7\u5f97auth token,\u6709\u4e86\u5b83\uff0c\u4f60\u5c31\u53ef\u4ee5\u4e0eflickr\u8fdb\u884c\u901a\u8baf\u4e86\u3002\u53ef\u4ee5\u5229\u7528\u5b83\u7ed9\u7684API\u505a\u4f60\u60f3\u505a\u7684\u4e8b\u4e86\u3002 \u6211\u5148\u5b9e\u73b0\u4e86\u7528API\u4e0e\u8bbe\u7f6e\u7684blog\u901a\u8baf\u7684\u811a\u672c\uff0c\u7528\u8fd9\u4e2a\u811a\u672c\u5c31\u53ef\u4ee5\u7ed9\u4f60\u9009\u5b9a\u7684blog\u53d1\u6587\u4e86\uff0c\u6211\u5206\u522b\u6d4b\u8bd5\u4e86wordpress\u548ctwitter,\u90fd\u53ef\u4ee5\u6b63\u5e38\u53d1\u6587\uff1a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pjq.me\/?p=634\" \/>\n<meta property=\"og:site_name\" content=\"Jianqing&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2009-08-04T04:23:44+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\" \/>\n<meta name=\"author\" content=\"pengjianqing\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pengjianqing\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/pjq.me\/?p=634#article\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/?p=634\"},\"author\":{\"name\":\"pengjianqing\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"headline\":\"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1\",\"datePublished\":\"2009-08-04T04:23:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=634\"},\"wordCount\":13,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=634#primaryimage\"},\"thumbnailUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\",\"articleSection\":[\"\u81ea\u7531\u5206\u7c7b\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/pjq.me\/?p=634#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/pjq.me\/?p=634\",\"url\":\"https:\/\/pjq.me\/?p=634\",\"name\":\"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/pjq.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/pjq.me\/?p=634#primaryimage\"},\"image\":{\"@id\":\"https:\/\/pjq.me\/?p=634#primaryimage\"},\"thumbnailUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\",\"datePublished\":\"2009-08-04T04:23:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/pjq.me\/?p=634#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/pjq.me\/?p=634\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/?p=634#primaryimage\",\"url\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\",\"contentUrl\":\"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/pjq.me\/?p=634#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/pjq.me\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/pjq.me\/#website\",\"url\":\"https:\/\/pjq.me\/\",\"name\":\"Jianqing&#039;s Blog\",\"description\":\"Thoughts and Future\",\"publisher\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/pjq.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60\",\"name\":\"pengjianqing\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"contentUrl\":\"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png\",\"width\":460,\"height\":752,\"caption\":\"pengjianqing\"},\"logo\":{\"@id\":\"https:\/\/pjq.me\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/pjq.me\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pjq.me\/?p=634","og_locale":"en_US","og_type":"article","og_title":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog","og_description":"\u4e4b\u524d\u5199\u7684\u4e00\u4e2a\u811a\u672c\u5df2\u7ecf\u53ef\u4ee5\u6210\u529f\u83b7\u5f97auth token,\u6709\u4e86\u5b83\uff0c\u4f60\u5c31\u53ef\u4ee5\u4e0eflickr\u8fdb\u884c\u901a\u8baf\u4e86\u3002\u53ef\u4ee5\u5229\u7528\u5b83\u7ed9\u7684API\u505a\u4f60\u60f3\u505a\u7684\u4e8b\u4e86\u3002 \u6211\u5148\u5b9e\u73b0\u4e86\u7528API\u4e0e\u8bbe\u7f6e\u7684blog\u901a\u8baf\u7684\u811a\u672c\uff0c\u7528\u8fd9\u4e2a\u811a\u672c\u5c31\u53ef\u4ee5\u7ed9\u4f60\u9009\u5b9a\u7684blog\u53d1\u6587\u4e86\uff0c\u6211\u5206\u522b\u6d4b\u8bd5\u4e86wordpress\u548ctwitter,\u90fd\u53ef\u4ee5\u6b63\u5e38\u53d1\u6587\uff1a","og_url":"https:\/\/pjq.me\/?p=634","og_site_name":"Jianqing&#039;s Blog","article_published_time":"2009-08-04T04:23:44+00:00","og_image":[{"url":"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca","type":"","width":"","height":""}],"author":"pengjianqing","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pengjianqing","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pjq.me\/?p=634#article","isPartOf":{"@id":"https:\/\/pjq.me\/?p=634"},"author":{"name":"pengjianqing","@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"headline":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1","datePublished":"2009-08-04T04:23:44+00:00","mainEntityOfPage":{"@id":"https:\/\/pjq.me\/?p=634"},"wordCount":13,"commentCount":0,"publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"image":{"@id":"https:\/\/pjq.me\/?p=634#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca","articleSection":["\u81ea\u7531\u5206\u7c7b"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pjq.me\/?p=634#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pjq.me\/?p=634","url":"https:\/\/pjq.me\/?p=634","name":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1 - Jianqing&#039;s Blog","isPartOf":{"@id":"https:\/\/pjq.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/pjq.me\/?p=634#primaryimage"},"image":{"@id":"https:\/\/pjq.me\/?p=634#primaryimage"},"thumbnailUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca","datePublished":"2009-08-04T04:23:44+00:00","breadcrumb":{"@id":"https:\/\/pjq.me\/?p=634#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pjq.me\/?p=634"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/?p=634#primaryimage","url":"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca","contentUrl":"http:\/\/img.zemanta.com\/pixy.gif?x-id=4416957c-c719-8c5f-ae82-47f2b16447ca"},{"@type":"BreadcrumbList","@id":"https:\/\/pjq.me\/?p=634#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pjq.me\/"},{"@type":"ListItem","position":2,"name":"Flickr API\u6d4b\u8bd5\u811a\u672c2:\u4e0e\u535a\u5ba2\u901a\u4fe1"}]},{"@type":"WebSite","@id":"https:\/\/pjq.me\/#website","url":"https:\/\/pjq.me\/","name":"Jianqing&#039;s Blog","description":"Thoughts and Future","publisher":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pjq.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/pjq.me\/#\/schema\/person\/0eb1e72d1e69fbbd9b5c0bfd8e2aae60","name":"pengjianqing","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/","url":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","contentUrl":"https:\/\/pjq.me\/wp-content\/uploads\/2021\/12\/Screen-Shot-2021-12-02-at-6.10.58-PM.png","width":460,"height":752,"caption":"pengjianqing"},"logo":{"@id":"https:\/\/pjq.me\/#\/schema\/person\/image\/"},"url":"https:\/\/pjq.me\/?author=1"}]}},"views":2500,"_links":{"self":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=634"}],"version-history":[{"count":0,"href":"https:\/\/pjq.me\/index.php?rest_route=\/wp\/v2\/posts\/634\/revisions"}],"wp:attachment":[{"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=634"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=634"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pjq.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}