flickrie 0.7.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +4 -0
  3. data/CHANGELOG.md +70 -30
  4. data/Gemfile +5 -4
  5. data/README.md +55 -53
  6. data/Rakefile +6 -9
  7. data/lib/flickrie/api_methods.rb +16 -3
  8. data/lib/flickrie/client.rb +11 -40
  9. data/lib/flickrie/instance.rb +0 -1
  10. data/lib/flickrie/location.rb +21 -18
  11. data/lib/flickrie/media.rb +5 -21
  12. data/lib/flickrie/media_count.rb +4 -0
  13. data/lib/flickrie/middleware.rb +71 -0
  14. data/lib/flickrie/oauth.rb +58 -49
  15. data/lib/flickrie/photo.rb +0 -2
  16. data/lib/flickrie/set.rb +0 -5
  17. data/lib/flickrie/upload_client.rb +45 -56
  18. data/lib/flickrie/user.rb +10 -10
  19. data/lib/flickrie/version.rb +1 -1
  20. data/lib/flickrie/video.rb +0 -2
  21. data/spec/files/photo.bla +0 -0
  22. data/spec/{api_methods_spec.rb → flickrie/api_methods_spec.rb} +14 -14
  23. data/spec/{error_spec.rb → flickrie/error_spec.rb} +1 -1
  24. data/spec/{instance_spec.rb → flickrie/instance_spec.rb} +2 -5
  25. data/spec/{license_spec.rb → flickrie/license_spec.rb} +1 -1
  26. data/spec/{location_spec.rb → flickrie/location_spec.rb} +12 -1
  27. data/spec/{media_count_spec.rb → flickrie/media_count_spec.rb} +7 -3
  28. data/spec/{media_spec.rb → flickrie/media_spec.rb} +25 -26
  29. data/spec/flickrie/oauth_spec.rb +25 -0
  30. data/spec/{photo_spec.rb → flickrie/photo_spec.rb} +1 -1
  31. data/spec/{set_spec.rb → flickrie/set_spec.rb} +2 -2
  32. data/spec/flickrie/upload_client_spec.rb +40 -0
  33. data/spec/flickrie/user_spec.rb +58 -0
  34. data/spec/{video_spec.rb → flickrie/video_spec.rb} +1 -1
  35. data/spec/spec_helper.rb +16 -13
  36. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/asynchronous_upload.yml +60 -95
  37. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/replace.yml +16 -16
  38. data/spec/{fixtures/vcr_cassettes/api_methods/tags.yml → vcr_cassettes/api_methods/tag_manipulation.yml} +24 -24
  39. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/api_methods/upload_and_delete.yml +21 -21
  40. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/error/a_request_was_made_and_failed.yml +9 -9
  41. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/instance/calling_api_methods.yml +32 -32
  42. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/license/get.yml +4 -4
  43. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_contacts.yml +8 -8
  44. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_set.yml +5 -5
  45. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/from_user.yml +5 -5
  46. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_context.yml +4 -4
  47. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_exif.yml +8 -8
  48. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/get_info.yml +18 -18
  49. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/public_from_user.yml +5 -5
  50. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media/search.yml +5 -5
  51. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/media_count/get.yml +8 -8
  52. data/spec/vcr_cassettes/o_auth/incorrect_credentials.yml +249 -0
  53. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_info.yml +6 -6
  54. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/get_sizes.yml +12 -12
  55. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/photo/search.yml +5 -5
  56. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/from_user.yml +16 -16
  57. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/set/get_info.yml +32 -32
  58. data/spec/vcr_cassettes/upload_client/content_type.yml +117 -0
  59. data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +208 -0
  60. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/find_by_username_or_email.yml +8 -8
  61. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/user/get_info.yml +8 -8
  62. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_info.yml +4 -4
  63. data/spec/{fixtures/vcr_cassettes → vcr_cassettes}/video/get_sizes.yml +8 -8
  64. metadata +105 -99
  65. data/spec/fixtures/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
  66. data/spec/fixtures/vcr_cassettes/error/code.yml +0 -84
  67. data/spec/fixtures/vcr_cassettes/error/was_raised.yml +0 -84
  68. data/spec/fixtures/vcr_cassettes/o_auth/incorrect_credentials.yml +0 -167
  69. data/spec/oauth_spec.rb +0 -22
  70. data/spec/user_spec.rb +0 -53
@@ -0,0 +1,117 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.flickr.com/services/upload
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: "#<Faraday::CompositeReadIO:0x007fcb6b577b30>"
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="d41d721bd92d1f05719475533a383637", oauth_signature="wJ6X2hNLiFDkI%2FHUpdPz8idkk10%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351448", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
+ Content-Type:
13
+ - multipart/form-data;boundary=-----------RubyMultipartPost
14
+ Content-Length:
15
+ - "47185"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ date:
22
+ - Fri, 18 May 2012 14:30:49 GMT
23
+ p3p:
24
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
25
+ connection:
26
+ - close
27
+ content-length:
28
+ - "93"
29
+ cache-control:
30
+ - private
31
+ x-served-by:
32
+ - www161.flickr.mud.yahoo.com
33
+ vary:
34
+ - Accept-Encoding
35
+ content-type:
36
+ - text/xml; charset=utf-8
37
+ body:
38
+ encoding: US-ASCII
39
+ string: |
40
+ <?xml version="1.0" encoding="utf-8" ?>
41
+ <rsp stat="ok">
42
+ <photoid>7221585404</photoid>
43
+ </rsp>
44
+
45
+ http_version:
46
+ recorded_at: Fri, 18 May 2012 14:30:53 GMT
47
+ - request:
48
+ method: get
49
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.people.getPhotos&user_id=67131352%40N04&extras=media
50
+ body:
51
+ encoding: US-ASCII
52
+ string: ""
53
+ headers:
54
+ Authorization:
55
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="b785ac024c33ab3927ef3db27f860ac6", oauth_signature="iImU4wO7ivHNVA89u8dn7YzIgsE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351453", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
56
+ response:
57
+ status:
58
+ code: 200
59
+ message:
60
+ headers:
61
+ date:
62
+ - Fri, 18 May 2012 14:30:53 GMT
63
+ p3p:
64
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
65
+ cache-control:
66
+ - private
67
+ x-served-by:
68
+ - www21.flickr.mud.yahoo.com
69
+ vary:
70
+ - Accept-Encoding
71
+ content-length:
72
+ - "2249"
73
+ connection:
74
+ - close
75
+ content-type:
76
+ - application/json
77
+ body:
78
+ encoding: ASCII-8BIT
79
+ string: "{\"photos\":{\"page\":1, \"pages\":2, \"perpage\":100, \"total\":\"101\", \"photo\":[{\"id\":\"7221585404\", \"owner\":\"67131352@N04\", \"secret\":\"52e66804de\", \"server\":\"5199\", \"farm\":6, \"title\":\"photo\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7221581368\", \"owner\":\"67131352@N04\", \"secret\":\"3dac870c98\", \"server\":\"7105\", \"farm\":8, \"title\":\"photo\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7221573636\", \"owner\":\"67131352@N04\", \"secret\":\"ce5c6d9c16\", \"server\":\"7076\", \"farm\":8, \"title\":\"photo\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093101501\", \"owner\":\"67131352@N04\", \"secret\":\"9337f28800\", \"server\":\"7090\", \"farm\":8, \"title\":\"IMG_0917\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100793\", \"owner\":\"67131352@N04\", \"secret\":\"358fb7bc5c\", \"server\":\"7091\", \"farm\":8, \"title\":\"IMG_0916\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093100113\", \"owner\":\"67131352@N04\", \"secret\":\"e66152390a\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0915\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028982\", \"owner\":\"67131352@N04\", \"secret\":\"f8637343a0\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0914\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947028308\", \"owner\":\"67131352@N04\", \"secret\":\"21ee6efe95\", \"server\":\"7128\", \"farm\":8, \"title\":\"IMG_0913\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093098399\", \"owner\":\"67131352@N04\", \"secret\":\"e55c43df26\", \"server\":\"7249\", \"farm\":8, \"title\":\"IMG_0912\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947027188\", \"owner\":\"67131352@N04\", \"secret\":\"1168cb3e6f\", \"server\":\"5323\", \"farm\":6, \"title\":\"IMG_0911\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093097313\", \"owner\":\"67131352@N04\", \"secret\":\"dabcd3f14c\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0910\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947026196\", \"owner\":\"67131352@N04\", \"secret\":\"1280382975\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0909\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947025632\", \"owner\":\"67131352@N04\", \"secret\":\"1f726b375e\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0908\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093095673\", \"owner\":\"67131352@N04\", \"secret\":\"a00373f8f4\", \"server\":\"7068\", \"farm\":8, \"title\":\"IMG_0907\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947024414\", \"owner\":\"67131352@N04\", \"secret\":\"67b77e2832\", \"server\":\"7227\", \"farm\":8, \"title\":\"IMG_0906\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093094579\", \"owner\":\"67131352@N04\", \"secret\":\"17f598e637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0905\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947023402\", \"owner\":\"67131352@N04\", \"secret\":\"bd30968066\", \"server\":\"5349\", \"farm\":6, \"title\":\"IMG_0904\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093093257\", \"owner\":\"67131352@N04\", \"secret\":\"0a6aa12e2d\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0903\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021990\", \"owner\":\"67131352@N04\", \"secret\":\"5637741429\", \"server\":\"5454\", \"farm\":6, \"title\":\"IMG_0902\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021590\", \"owner\":\"67131352@N04\", \"secret\":\"fe98145c8b\", \"server\":\"7122\", \"farm\":8, \"title\":\"IMG_0901\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947021124\", \"owner\":\"67131352@N04\", \"secret\":\"3934c72637\", \"server\":\"5466\", \"farm\":6, \"title\":\"IMG_0900\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947020616\", \"owner\":\"67131352@N04\", \"secret\":\"7b1b27cd84\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0899\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093090543\", \"owner\":\"67131352@N04\", \"secret\":\"2380a7322a\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0898\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093089757\", \"owner\":\"67131352@N04\", \"secret\":\"7ba29d1faa\", \"server\":\"7255\", \"farm\":8, \"title\":\"IMG_0897\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947018444\", \"owner\":\"67131352@N04\", \"secret\":\"4034d376b5\", \"server\":\"5072\", \"farm\":6, \"title\":\"IMG_0896\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093088463\", \"owner\":\"67131352@N04\", \"secret\":\"f9f44311c0\", \"server\":\"5342\", \"farm\":6, \"title\":\"IMG_0895\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093087845\", \"owner\":\"67131352@N04\", \"secret\":\"140b1523a8\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0894\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947016804\", \"owner\":\"67131352@N04\", \"secret\":\"a2994e2721\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0893\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093086727\", \"owner\":\"67131352@N04\", \"secret\":\"f083d3f000\", \"server\":\"7051\", \"farm\":8, \"title\":\"IMG_0892\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947015676\", \"owner\":\"67131352@N04\", \"secret\":\"453d422382\", \"server\":\"7039\", \"farm\":8, \"title\":\"IMG_0891\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093085399\", \"owner\":\"67131352@N04\", \"secret\":\"139222bccb\", \"server\":\"5035\", \"farm\":6, \"title\":\"IMG_0890\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947014098\", \"owner\":\"67131352@N04\", \"secret\":\"0a6abd0bcd\", \"server\":\"7076\", \"farm\":8, \"title\":\"IMG_0889\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093083693\", \"owner\":\"67131352@N04\", \"secret\":\"2c779e228e\", \"server\":\"7081\", \"farm\":8, \"title\":\"IMG_0888\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947012404\", \"owner\":\"67131352@N04\", \"secret\":\"901a7ffb60\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0887\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081875\", \"owner\":\"67131352@N04\", \"secret\":\"2e91101e98\", \"server\":\"7074\", \"farm\":8, \"title\":\"IMG_0886\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093081143\", \"owner\":\"67131352@N04\", \"secret\":\"8d730f58a8\", \"server\":\"7073\", \"farm\":8, \"title\":\"IMG_0885\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093080271\", \"owner\":\"67131352@N04\", \"secret\":\"68efe9c5b0\", \"server\":\"5330\", \"farm\":6, \"title\":\"IMG_0884\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093079529\", \"owner\":\"67131352@N04\", \"secret\":\"b3ccb42ec0\", \"server\":\"7204\", \"farm\":8, \"title\":\"IMG_0883\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093078855\", \"owner\":\"67131352@N04\", \"secret\":\"9f9e145efd\", \"server\":\"7262\", \"farm\":8, \"title\":\"IMG_0882\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947007902\", \"owner\":\"67131352@N04\", \"secret\":\"12b634edff\", \"server\":\"7124\", \"farm\":8, \"title\":\"IMG_0881\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093077621\", \"owner\":\"67131352@N04\", \"secret\":\"0711c166ce\", \"server\":\"5231\", \"farm\":6, \"title\":\"IMG_0880\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947006326\", \"owner\":\"67131352@N04\", \"secret\":\"c73cb38124\", \"server\":\"7258\", \"farm\":8, \"title\":\"IMG_0879\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947005492\", \"owner\":\"67131352@N04\", \"secret\":\"7b3c7b71dc\", \"server\":\"7200\", \"farm\":8, \"title\":\"IMG_0878\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947004776\", \"owner\":\"67131352@N04\", \"secret\":\"9ce24464d7\", \"server\":\"7184\", \"farm\":8, \"title\":\"IMG_0877\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093074445\", \"owner\":\"67131352@N04\", \"secret\":\"60f68b94d5\", \"server\":\"7269\", \"farm\":8, \"title\":\"IMG_0876\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093073517\", \"owner\":\"67131352@N04\", \"secret\":\"cfaab800dd\", \"server\":\"7197\", \"farm\":8, \"title\":\"IMG_0875\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947002200\", \"owner\":\"67131352@N04\", \"secret\":\"1d568b5f58\", \"server\":\"7229\", \"farm\":8, \"title\":\"IMG_0874\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6947001376\", \"owner\":\"67131352@N04\", \"secret\":\"fc49e39735\", \"server\":\"7105\", \"farm\":8, \"title\":\"IMG_0873\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093071353\", \"owner\":\"67131352@N04\", \"secret\":\"8698cfb26b\", \"server\":\"5036\", \"farm\":6, \"title\":\"IMG_0872\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946999878\", \"owner\":\"67131352@N04\", \"secret\":\"384f5686d3\", \"server\":\"7209\", \"farm\":8, \"title\":\"IMG_0871\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093069863\", \"owner\":\"67131352@N04\", \"secret\":\"b9bff9098a\", \"server\":\"5463\", \"farm\":6, \"title\":\"IMG_0870\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946998404\", \"owner\":\"67131352@N04\", \"secret\":\"6a4a9aab15\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0869\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093068315\", \"owner\":\"67131352@N04\", \"secret\":\"fc9d9e6a88\", \"server\":\"5280\", \"farm\":6, \"title\":\"IMG_0868\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946996660\", \"owner\":\"67131352@N04\", \"secret\":\"029dfd51de\", \"server\":\"7106\", \"farm\":8, \"title\":\"IMG_0867\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995832\", \"owner\":\"67131352@N04\", \"secret\":\"92d116340b\", \"server\":\"7208\", \"farm\":8, \"title\":\"IMG_0866\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946995146\", \"owner\":\"67131352@N04\", \"secret\":\"b214350701\", \"server\":\"5196\", \"farm\":6, \"title\":\"IMG_0865\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946994454\", \"owner\":\"67131352@N04\", \"secret\":\"a3c38ccb31\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0864\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946993658\", \"owner\":\"67131352@N04\", \"secret\":\"c07d654d4a\", \"server\":\"7036\", \"farm\":8, \"title\":\"IMG_0863\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093063769\", \"owner\":\"67131352@N04\", \"secret\":\"469c96a921\", \"server\":\"7089\", \"farm\":8, \"title\":\"IMG_0862\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093062983\", \"owner\":\"67131352@N04\", \"secret\":\"9095b9c962\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0861\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946991242\", \"owner\":\"67131352@N04\", \"secret\":\"09ccb0edfc\", \"server\":\"5441\", \"farm\":6, \"title\":\"IMG_0860\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093061617\", \"owner\":\"67131352@N04\", \"secret\":\"f32ae6df21\", \"server\":\"5038\", \"farm\":6, \"title\":\"IMG_0859\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093060973\", \"owner\":\"67131352@N04\", \"secret\":\"5f464c1f19\", \"server\":\"5332\", \"farm\":6, \"title\":\"IMG_0858\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946989278\", \"owner\":\"67131352@N04\", \"secret\":\"1f9ac3bf23\", \"server\":\"7225\", \"farm\":8, \"title\":\"IMG_0857\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988664\", \"owner\":\"67131352@N04\", \"secret\":\"98a556b161\", \"server\":\"5271\", \"farm\":6, \"title\":\"IMG_0856\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946988100\", \"owner\":\"67131352@N04\", \"secret\":\"9884da49bb\", \"server\":\"7259\", \"farm\":8, \"title\":\"IMG_0855\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058605\", \"owner\":\"67131352@N04\", \"secret\":\"4c703c432e\", \"server\":\"7053\", \"farm\":8, \"title\":\"IMG_0854\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093058053\", \"owner\":\"67131352@N04\", \"secret\":\"0aea023b71\", \"server\":\"7220\", \"farm\":8, \"title\":\"IMG_0853\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093057289\", \"owner\":\"67131352@N04\", \"secret\":\"1c54cc350b\", \"server\":\"7138\", \"farm\":8, \"title\":\"IMG_0852\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093056667\", \"owner\":\"67131352@N04\", \"secret\":\"8a9b228bbf\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0851\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946985050\", \"owner\":\"67131352@N04\", \"secret\":\"c6307b610c\", \"server\":\"5276\", \"farm\":6, \"title\":\"IMG_0850\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093055267\", \"owner\":\"67131352@N04\", \"secret\":\"69be16f45c\", \"server\":\"7072\", \"farm\":8, \"title\":\"IMG_0849\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093054613\", \"owner\":\"67131352@N04\", \"secret\":\"180b9978b9\", \"server\":\"5462\", \"farm\":6, \"title\":\"IMG_0805\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946983076\", \"owner\":\"67131352@N04\", \"secret\":\"7c81e1f3e6\", \"server\":\"7280\", \"farm\":8, \"title\":\"IMG_0804\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093053547\", \"owner\":\"67131352@N04\", \"secret\":\"f96ed55a47\", \"server\":\"7119\", \"farm\":8, \"title\":\"IMG_0803\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052931\", \"owner\":\"67131352@N04\", \"secret\":\"e4b7329f86\", \"server\":\"7276\", \"farm\":8, \"title\":\"IMG_0802\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093052339\", \"owner\":\"67131352@N04\", \"secret\":\"3a61b73dae\", \"server\":\"7199\", \"farm\":8, \"title\":\"IMG_0801\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051839\", \"owner\":\"67131352@N04\", \"secret\":\"fd5a1837cd\", \"server\":\"7058\", \"farm\":8, \"title\":\"IMG_0800\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051507\", \"owner\":\"67131352@N04\", \"secret\":\"ca716958c2\", \"server\":\"7239\", \"farm\":8, \"title\":\"IMG_0799\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093051085\", \"owner\":\"67131352@N04\", \"secret\":\"16db5e2de6\", \"server\":\"5115\", \"farm\":6, \"title\":\"IMG_0798\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946979704\", \"owner\":\"67131352@N04\", \"secret\":\"74513ff732\", \"server\":\"7234\", \"farm\":8, \"title\":\"IMG_0797\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946979188\", \"owner\":\"67131352@N04\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"title\":\"IMG_0796\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946978706\", \"owner\":\"67131352@N04\", \"secret\":\"b38270bbd6\", \"server\":\"7216\", \"farm\":8, \"title\":\"IMG_0795\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093049187\", \"owner\":\"67131352@N04\", \"secret\":\"90f36603c4\", \"server\":\"5112\", \"farm\":6, \"title\":\"IMG_0794\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946977782\", \"owner\":\"67131352@N04\", \"secret\":\"05dfb214aa\", \"server\":\"7114\", \"farm\":8, \"title\":\"IMG_0793\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093048115\", \"owner\":\"67131352@N04\", \"secret\":\"7d2981a52c\", \"server\":\"5194\", \"farm\":6, \"title\":\"IMG_0792\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093047507\", \"owner\":\"67131352@N04\", \"secret\":\"9ab0da63ee\", \"server\":\"7087\", \"farm\":8, \"title\":\"IMG_0791\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946975780\", \"owner\":\"67131352@N04\", \"secret\":\"e151ae3cc7\", \"server\":\"5234\", \"farm\":6, \"title\":\"IMG_0790\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093046043\", \"owner\":\"67131352@N04\", \"secret\":\"cb8c98e700\", \"server\":\"5465\", \"farm\":6, \"title\":\"IMG_0789\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946974536\", \"owner\":\"67131352@N04\", \"secret\":\"833b47ea0e\", \"server\":\"5328\", \"farm\":6, \"title\":\"IMG_0788\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044665\", \"owner\":\"67131352@N04\", \"secret\":\"23f6d03d06\", \"server\":\"5457\", \"farm\":6, \"title\":\"IMG_0787\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093044025\", \"owner\":\"67131352@N04\", \"secret\":\"a78b197128\", \"server\":\"7244\", \"farm\":8, \"title\":\"IMG_0786\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093043445\", \"owner\":\"67131352@N04\", \"secret\":\"a185bd6ed4\", \"server\":\"7055\", \"farm\":8, \"title\":\"IMG_0785\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093042985\", \"owner\":\"67131352@N04\", \"secret\":\"c169fcc5d8\", \"server\":\"7123\", \"farm\":8, \"title\":\"IMG_0784\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971690\", \"owner\":\"67131352@N04\", \"secret\":\"eec09768f3\", \"server\":\"7236\", \"farm\":8, \"title\":\"IMG_0783\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946971104\", \"owner\":\"67131352@N04\", \"secret\":\"f642d95806\", \"server\":\"5444\", \"farm\":6, \"title\":\"IMG_0782\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093041499\", \"owner\":\"67131352@N04\", \"secret\":\"418de5a2b3\", \"server\":\"5076\", \"farm\":6, \"title\":\"IMG_0781\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946969908\", \"owner\":\"67131352@N04\", \"secret\":\"dba08d73fd\", \"server\":\"7206\", \"farm\":8, \"title\":\"IMG_0780\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"7093040113\", \"owner\":\"67131352@N04\", \"secret\":\"121fd618e3\", \"server\":\"7194\", \"farm\":8, \"title\":\"IMG_0779\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}, {\"id\":\"6946968774\", \"owner\":\"67131352@N04\", \"secret\":\"e24f175d9b\", \"server\":\"7188\", \"farm\":8, \"title\":\"IMG_0778\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}]}, \"stat\":\"ok\"}"
80
+ http_version:
81
+ recorded_at: Fri, 18 May 2012 14:30:53 GMT
82
+ - request:
83
+ method: post
84
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7221585404
85
+ body:
86
+ encoding: US-ASCII
87
+ string: ""
88
+ headers:
89
+ Authorization:
90
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="7ace63ba6f05086906dfb61f18729b35", oauth_signature="fy7eiatCDga4LR8hDJov%2BkneqWA%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351453", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
91
+ response:
92
+ status:
93
+ code: 200
94
+ message:
95
+ headers:
96
+ date:
97
+ - Fri, 18 May 2012 14:30:54 GMT
98
+ p3p:
99
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
100
+ cache-control:
101
+ - private
102
+ x-served-by:
103
+ - www121.flickr.mud.yahoo.com
104
+ vary:
105
+ - Accept-Encoding
106
+ content-length:
107
+ - "13"
108
+ connection:
109
+ - close
110
+ content-type:
111
+ - application/json
112
+ body:
113
+ encoding: US-ASCII
114
+ string: "{\"stat\":\"ok\"}"
115
+ http_version:
116
+ recorded_at: Fri, 18 May 2012 14:30:54 GMT
117
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,208 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.flickr.com/services/upload
6
+ body:
7
+ encoding: ASCII-8BIT
8
+ string: "#<Faraday::CompositeReadIO:0x007fcb6d209be0>"
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="", oauth_nonce="65b9c8a6fad35aea86604f3e498c3276", oauth_signature="hUbbmLbQ82MjUs05sNKULELtZO4%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351454", oauth_token="", oauth_version="1.0"
12
+ Content-Type:
13
+ - multipart/form-data;boundary=-----------RubyMultipartPost
14
+ Content-Length:
15
+ - "47086"
16
+ response:
17
+ status:
18
+ code: 200
19
+ message:
20
+ headers:
21
+ date:
22
+ - Fri, 18 May 2012 14:30:54 GMT
23
+ p3p:
24
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
25
+ connection:
26
+ - close
27
+ content-length:
28
+ - "132"
29
+ cache-control:
30
+ - private
31
+ x-served-by:
32
+ - www190.flickr.mud.yahoo.com
33
+ vary:
34
+ - Accept-Encoding
35
+ content-type:
36
+ - text/xml; charset=utf-8
37
+ body:
38
+ encoding: US-ASCII
39
+ string: |
40
+ <?xml version="1.0" encoding="utf-8" ?>
41
+ <rsp stat="fail">
42
+ <err code="100" msg="Invalid API Key (Key has invalid format)" />
43
+ </rsp>
44
+
45
+ http_version:
46
+ recorded_at: Fri, 18 May 2012 14:30:55 GMT
47
+ - request:
48
+ method: post
49
+ uri: http://api.flickr.com/services/upload
50
+ body:
51
+ encoding: ASCII-8BIT
52
+ string: "#<Faraday::CompositeReadIO:0x007fcb6b700308>"
53
+ headers:
54
+ Authorization:
55
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="b36217a330efe6f866f82a60f0808a65", oauth_signature="39BGSwZjuG12JixjOFMIBG6igqQ%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351455", oauth_token="", oauth_version="1.0"
56
+ Content-Type:
57
+ - multipart/form-data;boundary=-----------RubyMultipartPost
58
+ Content-Length:
59
+ - "47086"
60
+ response:
61
+ status:
62
+ code: 401
63
+ message:
64
+ headers:
65
+ date:
66
+ - Fri, 18 May 2012 14:30:55 GMT
67
+ p3p:
68
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
69
+ connection:
70
+ - close
71
+ cache-control:
72
+ - private
73
+ x-served-by:
74
+ - www3.flickr.mud.yahoo.com
75
+ vary:
76
+ - Accept-Encoding
77
+ content-length:
78
+ - "28"
79
+ content-type:
80
+ - text/plain;charset=UTF-8
81
+ body:
82
+ encoding: US-ASCII
83
+ string: oauth_problem=token_rejected
84
+ http_version:
85
+ recorded_at: Fri, 18 May 2012 14:30:56 GMT
86
+ - request:
87
+ method: post
88
+ uri: http://api.flickr.com/services/upload
89
+ body:
90
+ encoding: ASCII-8BIT
91
+ string: "#<Faraday::CompositeReadIO:0x007fcb6b629628>"
92
+ headers:
93
+ Authorization:
94
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="c2e5f37d56dfe08490f25131918ca911", oauth_signature="2CAvr%2Fhbr1srNgTzN2ZXXulVFBE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351456", oauth_token="", oauth_version="1.0"
95
+ Content-Type:
96
+ - multipart/form-data;boundary=-----------RubyMultipartPost
97
+ Content-Length:
98
+ - "47086"
99
+ response:
100
+ status:
101
+ code: 401
102
+ message:
103
+ headers:
104
+ date:
105
+ - Fri, 18 May 2012 14:30:56 GMT
106
+ p3p:
107
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
108
+ connection:
109
+ - close
110
+ cache-control:
111
+ - private
112
+ x-served-by:
113
+ - www128.flickr.mud.yahoo.com
114
+ vary:
115
+ - Accept-Encoding
116
+ content-length:
117
+ - "28"
118
+ content-type:
119
+ - text/plain;charset=UTF-8
120
+ body:
121
+ encoding: US-ASCII
122
+ string: oauth_problem=token_rejected
123
+ http_version:
124
+ recorded_at: Fri, 18 May 2012 14:30:57 GMT
125
+ - request:
126
+ method: post
127
+ uri: http://api.flickr.com/services/upload
128
+ body:
129
+ encoding: ASCII-8BIT
130
+ string: "#<Faraday::CompositeReadIO:0x007fcb6d213820>"
131
+ headers:
132
+ Authorization:
133
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="4ae93044b205da93328d997e1870ebcd", oauth_signature="VAhLAD1CTA3KKYJL8A8BpZFw3fs%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351457", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
134
+ Content-Type:
135
+ - multipart/form-data;boundary=-----------RubyMultipartPost
136
+ Content-Length:
137
+ - "47086"
138
+ response:
139
+ status:
140
+ code: 401
141
+ message:
142
+ headers:
143
+ date:
144
+ - Fri, 18 May 2012 14:30:57 GMT
145
+ p3p:
146
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
147
+ connection:
148
+ - close
149
+ cache-control:
150
+ - private
151
+ x-served-by:
152
+ - www130.flickr.mud.yahoo.com
153
+ vary:
154
+ - Accept-Encoding
155
+ content-length:
156
+ - "354"
157
+ content-type:
158
+ - text/plain;charset=UTF-8
159
+ body:
160
+ encoding: US-ASCII
161
+ string: oauth_problem=signature_invalid&debug_sbs=POST&http%3A%2F%2Fapi.flickr.com%2Fservices%2Fupload&oauth_consumer_key%3DAPI_KEY%26oauth_nonce%3D4ae93044b205da93328d997e1870ebcd%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1337351457%26oauth_token%3DACCESS_TOKEN%26oauth_version%3D1.0%26title%3Dphoto
162
+ http_version:
163
+ recorded_at: Fri, 18 May 2012 14:30:58 GMT
164
+ - request:
165
+ method: post
166
+ uri: http://api.flickr.com/services/upload
167
+ body:
168
+ encoding: ASCII-8BIT
169
+ string: "#<Faraday::CompositeReadIO:0x007fcb6b778538>"
170
+ headers:
171
+ Authorization:
172
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="a6b9f7b6bed22374bcb19aa0c91be5b3", oauth_signature="g0Blq1nBSeUBlr9lYOTSMf6l%2FGM%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337351458", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
173
+ Content-Type:
174
+ - multipart/form-data;boundary=-----------RubyMultipartPost
175
+ Content-Length:
176
+ - "47086"
177
+ response:
178
+ status:
179
+ code: 200
180
+ message:
181
+ headers:
182
+ date:
183
+ - Fri, 18 May 2012 14:30:58 GMT
184
+ p3p:
185
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
186
+ connection:
187
+ - close
188
+ content-length:
189
+ - "93"
190
+ cache-control:
191
+ - private
192
+ x-served-by:
193
+ - www54.flickr.mud.yahoo.com
194
+ vary:
195
+ - Accept-Encoding
196
+ content-type:
197
+ - text/xml; charset=utf-8
198
+ body:
199
+ encoding: US-ASCII
200
+ string: |
201
+ <?xml version="1.0" encoding="utf-8" ?>
202
+ <rsp stat="ok">
203
+ <photoid>7221586210</photoid>
204
+ </rsp>
205
+
206
+ http_version:
207
+ recorded_at: Fri, 18 May 2012 14:31:03 GMT
208
+ recorded_with: VCR 2.1.1
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="bbd163d0042874b0dfe56fb5c9dad1f3", oauth_signature="capQP%2F7g0fDMEFnzT5jH1C6iW%2BE%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337098036", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="d4d5d9032aab409a11417bde355ac2a3", oauth_signature="MvcOtQLdLrjqa9qXwRgJkHPjwRI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292044", oauth_token="", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Tue, 15 May 2012 16:07:16 GMT
18
+ - Thu, 17 May 2012 22:00:45 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www4.flickr.mud.yahoo.com
24
+ - www161.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,7 +34,7 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"user\":{\"id\":\"67131352@N04\", \"nsid\":\"67131352@N04\", \"username\":{\"_content\":\"Janko Marohni\\u0107\"}}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Tue, 15 May 2012 16:07:16 GMT
37
+ recorded_at: Thu, 17 May 2012 22:00:45 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.people.findByEmail&find_email=janko.marohnic%40gmail.com
@@ -43,20 +43,20 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="e1f890c835b68a4fc0156197ba87a7ef", oauth_signature="9KQMkDl39NNTMZy22szQOrLLjsc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337098036", oauth_token="", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="2016c58be4abc7e7034a079319e716aa", oauth_signature="FxL2CBTNIqlsR7wz5YdipCq%2FOK0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292045", oauth_token="", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Tue, 15 May 2012 16:07:17 GMT
53
+ - Thu, 17 May 2012 22:00:45 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www12.flickr.mud.yahoo.com
59
+ - www99.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
@@ -69,5 +69,5 @@ http_interactions:
69
69
  encoding: ASCII-8BIT
70
70
  string: "{\"user\":{\"id\":\"67131352@N04\", \"nsid\":\"67131352@N04\", \"username\":{\"_content\":\"Janko Marohni\\u0107\"}}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Tue, 15 May 2012 16:07:17 GMT
72
+ recorded_at: Thu, 17 May 2012 22:00:45 GMT
73
73
  recorded_with: VCR 2.1.1
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="81764767ae4418713e79d1357a8ddf28", oauth_signature="BrymGEDuxLLUlHgPciWO%2FphfHtU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337013935", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="9bc503693a14086b30cac1d38d2ce2d3", oauth_signature="3MfX1ec3YtCUUMmZiWt0Eatx4Nw%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292043", oauth_token="", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Mon, 14 May 2012 16:45:35 GMT
18
+ - Thu, 17 May 2012 22:00:44 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www121.flickr.mud.yahoo.com
24
+ - www214.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,7 +34,7 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"person\":{\"id\":\"67131352@N04\", \"nsid\":\"67131352@N04\", \"ispro\":0, \"iconserver\":\"5464\", \"iconfarm\":6, \"path_alias\":null, \"username\":{\"_content\":\"Janko Marohni\\u0107\"}, \"realname\":{\"_content\":\"Janko Marohni\\u0107\"}, \"location\":{\"_content\":\"Zagreb, Croatia\"}, \"timezone\":{\"label\":\"Sarajevo, Skopje, Warsaw, Zagreb\", \"offset\":\"+01:00\"}, \"description\":{\"_content\":\"I'm a programmer, and I'm gonna program a badass Ruby library for Flickr.\"}, \"photosurl\":{\"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/\"}, \"profileurl\":{\"_content\":\"http:\\/\\/www.flickr.com\\/people\\/67131352@N04\\/\"}, \"mobileurl\":{\"_content\":\"http:\\/\\/m.flickr.com\\/photostream.gne?id=67099213\"}, \"photos\":{\"firstdatetaken\":{\"_content\":\"2011-03-20 12:29:43\"}, \"firstdate\":{\"_content\":\"1334832295\"}, \"count\":{\"_content\":98}}}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Mon, 14 May 2012 16:45:36 GMT
37
+ recorded_at: Thu, 17 May 2012 22:00:44 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.people.getInfo&user_id=67131352%40N04
@@ -43,20 +43,20 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="c9e8ac45505126c2fd826c81ca99b1f9", oauth_signature="Q34xtj4IkInWak%2BmNX39z74RsRU%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337013936", oauth_token="", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="9d2721b9153988c16f44178d659f0be7", oauth_signature="3tqf5sbLgeTohsJDOcPP8X4PdRc%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292044", oauth_token="", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Mon, 14 May 2012 16:45:36 GMT
53
+ - Thu, 17 May 2012 22:00:44 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www87.flickr.mud.yahoo.com
59
+ - www141.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
@@ -69,5 +69,5 @@ http_interactions:
69
69
  encoding: ASCII-8BIT
70
70
  string: "{\"person\":{\"id\":\"67131352@N04\", \"nsid\":\"67131352@N04\", \"ispro\":0, \"iconserver\":\"5464\", \"iconfarm\":6, \"path_alias\":null, \"username\":{\"_content\":\"Janko Marohni\\u0107\"}, \"realname\":{\"_content\":\"Janko Marohni\\u0107\"}, \"location\":{\"_content\":\"Zagreb, Croatia\"}, \"timezone\":{\"label\":\"Sarajevo, Skopje, Warsaw, Zagreb\", \"offset\":\"+01:00\"}, \"description\":{\"_content\":\"I'm a programmer, and I'm gonna program a badass Ruby library for Flickr.\"}, \"photosurl\":{\"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/\"}, \"profileurl\":{\"_content\":\"http:\\/\\/www.flickr.com\\/people\\/67131352@N04\\/\"}, \"mobileurl\":{\"_content\":\"http:\\/\\/m.flickr.com\\/photostream.gne?id=67099213\"}, \"photos\":{\"firstdatetaken\":{\"_content\":\"2011-03-20 12:29:43\"}, \"firstdate\":{\"_content\":\"1334832295\"}, \"count\":{\"_content\":98}}}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Mon, 14 May 2012 16:45:36 GMT
72
+ recorded_at: Thu, 17 May 2012 22:00:44 GMT
73
73
  recorded_with: VCR 2.1.1
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="f3336042df740ed222d4e8e90e2d28b3", oauth_signature="uhLgww5Gj6aB8t7q7m24BpKgFNk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337013937", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="c0b0b9aea5d74ef8a957a59a7c2cb1b6", oauth_signature="iPdFqen0T6CtFQ%2Bh%2BRVjHhMzsOg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292045", oauth_token="", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Mon, 14 May 2012 16:45:37 GMT
18
+ - Thu, 17 May 2012 22:00:45 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www129.flickr.mud.yahoo.com
24
+ - www123.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,5 +34,5 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"photo\":{\"id\":\"7093038981\", \"secret\":\"9a616b9f6e\", \"server\":\"5457\", \"farm\":6, \"dateuploaded\":\"1334832295\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":0, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"5 meter backflip\"}, \"description\":{\"_content\":\"Description\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832295\", \"taken\":\"2012-04-19 03:44:55\", \"takengranularity\":\"0\", \"lastupdate\":\"1336343117\"}, \"views\":\"0\", \"editability\":{\"cancomment\":0, \"canaddmeta\":0}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":0, \"canprint\":0, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-7093038981-5987\", \"author\":\"67131352@N04\", \"raw\":\"Tag\", \"_content\":\"tag\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.809537, \"longitude\":15.970344, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/7093038981\\/\"}]}, \"media\":\"video\", \"video\":{\"ready\":1, \"failed\":0, \"pending\":0, \"duration\":\"16\", \"width\":\"352\", \"height\":\"288\"}}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Mon, 14 May 2012 16:45:37 GMT
37
+ recorded_at: Thu, 17 May 2012 22:00:46 GMT
38
38
  recorded_with: VCR 2.1.1