{"id":332,"date":"2008-10-18T08:54:17","date_gmt":"2008-10-18T13:54:17","guid":{"rendered":"http:\/\/crschmidt.net\/blog\/?p=332"},"modified":"2008-10-18T08:54:17","modified_gmt":"2008-10-18T13:54:17","slug":"flickr-authentication-api-documentation-bug","status":"publish","type":"post","link":"https:\/\/crschmidt.net\/blog\/archives\/332\/flickr-authentication-api-documentation-bug\/","title":{"rendered":"Flickr Authentication API Documentation Bug"},"content":{"rendered":"<p>In the Flickr authentication API documentation regarding their <a href=\"http:\/\/www.flickr.com\/services\/api\/auth.spec.html\">Authentication Specification<\/a>, the example in section 9.2 seems to have an invalid value.<\/p>\n<p>They provide the following:<\/p>\n<ul>\n<li>API Key: 987654321<\/li>\n<li>Parameters: method=flickr.auth.getFrob<\/li>\n<li>Secret: foobarbaz<\/li>\n<\/ul>\n<p>According to section 8, this should result in taking the md5sum of: <\/p>\n<p>foobarbazapi_key987654321methodflickr.auth.getFrob<\/p>\n<p>Which is 91216d07a9e945a8e2bf2b2660e7ba86 . Hoewever, the md5sum used in the api_sig parameter in the example is 5f3870be274f6c49b3e31a0c6728957f. (I&#8217;ve tried several different combinations, and been unable to figure out what this value might be based on.)<\/p>\n<p><a href=\"http:\/\/tech.groups.yahoo.com\/group\/yws-flickr\/message\/25\">This yws-flickr<\/a> post also confirms that the documentation appears to be incorrect.<\/p>\n<p>I couldn&#8217;t find the appropriate place to put this given a short search, so I&#8217;m publishing it here in hopes that it will remind me to inform someone who might be able to fix it. (There are 5 authors listed on the spec: Emailing all five of them feels like overkill, especially since I&#8217;m pretty sure that not all of them still actively work on flickr.) If you know anyone who might be involved, feel free to pass it on&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Flickr authentication API documentation regarding their Authentication Specification, the example in section 9.2 seems to have an invalid value. They provide the following: API Key: 987654321 Parameters: method=flickr.auth.getFrob Secret: foobarbaz According to section 8, this should result in taking the md5sum of: foobarbazapi_key987654321methodflickr.auth.getFrob Which is 91216d07a9e945a8e2bf2b2660e7ba86 . Hoewever, the md5sum used in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,15],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-flickr","category-webpub"],"_links":{"self":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":0,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/crschmidt.net\/blog\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}