Files
danbooru/test/fixtures/vcr_cassettes/source-twitter-unit-test-1.yml
2015-09-23 12:13:14 -07:00

304 lines
15 KiB
YAML

---
http_interactions:
- request:
method: post
uri: https://SENSITIVE:SENSITIVE@api.twitter.com/oauth2/token
body:
encoding: UTF-8
string: grant_type=client_credentials
headers:
Accept:
- "*/*"
User-Agent:
- TwitterRubyGem/5.14.0
Content-Type:
- application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '151'
Content-Type:
- application/json;charset=utf-8
Date:
- Wed, 23 Sep 2015 19:07:49 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Wed, 23 Sep 2015 19:07:49 GMT
Ml:
- S
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A144303526972271386; Domain=.twitter.com; Path=/; Expires=Fri,
22-Sep-2017 19:07:49 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Connection-Hash:
- dabeacda3dac0d70497949ae51766865
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Response-Time:
- '12'
X-Transaction:
- 7f87d231fe555869
X-Tsa-Request-Body-Time:
- '0'
X-Twitter-Response-Tags:
- BouncerCompliant
X-Ua-Compatible:
- IE=edge,chrome=1
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"token_type":"bearer","access_token":"AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5"}'
http_version:
recorded_at: Wed, 23 Sep 2015 19:07:58 GMT
- request:
method: get
uri: https://api.twitter.com/1.1/statuses/show/540944400767922176.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
User-Agent:
- TwitterRubyGem/5.14.0
Authorization:
- Bearer AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '1329'
Content-Type:
- application/json;charset=utf-8
Date:
- Wed, 23 Sep 2015 19:07:50 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Wed, 23 Sep 2015 19:07:50 GMT
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A144303527034569357; Domain=.twitter.com; Path=/; Expires=Fri,
22-Sep-2017 19:07:50 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Access-Level:
- read
X-Connection-Hash:
- 9e6044865f7de73a7500bfdcbd4a31a9
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Rate-Limit-Limit:
- '180'
X-Rate-Limit-Remaining:
- '177'
X-Rate-Limit-Reset:
- '1443036166'
X-Response-Time:
- '97'
X-Transaction:
- 0696bc0849e3dfae
X-Twitter-Response-Tags:
- BouncerCompliant
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"created_at":"Fri Dec 05 19:02:50 +0000 2014","id":540944400767922176,"id_str":"540944400767922176","text":"More
is better. Unlimited is best. NounPro Members now get unlimited icon downloads
http:\/\/t.co\/SwzWXxmlUT http:\/\/t.co\/xN1fZ7sJmX","source":"\u003ca href=\"http:\/\/sproutsocial.com\"
rel=\"nofollow\"\u003eSprout Social\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":88996186,"id_str":"88996186","name":"Noun
Project","screen_name":"nounproject","location":"Los Angeles, CA","description":"Visually
Communicate Anything. The Noun Project community is building a visual language
that anyone can use and understand. Email us at info@thenounproject.com","url":"http:\/\/t.co\/Cx580XUZBC","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/Cx580XUZBC","expanded_url":"http:\/\/www.thenounproject.com","display_url":"thenounproject.com","indices":[0,22]}]},"description":{"urls":[]}},"protected":false,"followers_count":17328,"friends_count":894,"listed_count":830,"created_at":"Tue
Nov 10 19:03:38 +0000 2009","favourites_count":2861,"utc_offset":-25200,"time_zone":"Pacific
Time (US & Canada)","geo_enabled":true,"verified":true,"statuses_count":5156,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"F7F7F7","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/615948858892267520\/nVvwwEYd_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/615948858892267520\/nVvwwEYd_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/88996186\/1400028161","profile_link_color":"89C9FA","profile_sidebar_border_color":"949596","profile_sidebar_fill_color":"C5C8C9","profile_text_color":"333333","profile_use_background_image":false,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":1,"favorite_count":3,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[{"url":"http:\/\/t.co\/SwzWXxmlUT","expanded_url":"http:\/\/bit.ly\/1yn2KWn","display_url":"bit.ly\/1yn2KWn","indices":[84,106]}],"media":[{"id":540944400688238592,"id_str":"540944400688238592","indices":[107,129],"media_url":"http:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","url":"http:\/\/t.co\/xN1fZ7sJmX","display_url":"pic.twitter.com\/xN1fZ7sJmX","expanded_url":"http:\/\/twitter.com\/nounproject\/status\/540944400767922176\/photo\/1","type":"photo","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":529,"h":263,"resize":"fit"},"small":{"w":340,"h":169,"resize":"fit"},"medium":{"w":529,"h":263,"resize":"fit"}}}]},"extended_entities":{"media":[{"id":540944400688238592,"id_str":"540944400688238592","indices":[107,129],"media_url":"http:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","url":"http:\/\/t.co\/xN1fZ7sJmX","display_url":"pic.twitter.com\/xN1fZ7sJmX","expanded_url":"http:\/\/twitter.com\/nounproject\/status\/540944400767922176\/photo\/1","type":"photo","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":529,"h":263,"resize":"fit"},"small":{"w":340,"h":169,"resize":"fit"},"medium":{"w":529,"h":263,"resize":"fit"}}}]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"possibly_sensitive_appealable":false,"lang":"en"}'
http_version:
recorded_at: Wed, 23 Sep 2015 19:07:59 GMT
- request:
method: post
uri: https://SENSITIVE:SENSITIVE@api.twitter.com/oauth2/token
body:
encoding: UTF-8
string: grant_type=client_credentials
headers:
Accept:
- "*/*"
User-Agent:
- TwitterRubyGem/5.14.0
Content-Type:
- application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '151'
Content-Type:
- application/json;charset=utf-8
Date:
- Wed, 23 Sep 2015 19:07:51 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Wed, 23 Sep 2015 19:07:51 GMT
Ml:
- S
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A144303527103554484; Domain=.twitter.com; Path=/; Expires=Fri,
22-Sep-2017 19:07:51 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Connection-Hash:
- a4400eaab268050e11114098f1c453e7
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Response-Time:
- '17'
X-Transaction:
- 838bf6878e500f44
X-Tsa-Request-Body-Time:
- '0'
X-Twitter-Response-Tags:
- BouncerCompliant
X-Ua-Compatible:
- IE=edge,chrome=1
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"token_type":"bearer","access_token":"AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5"}'
http_version:
recorded_at: Wed, 23 Sep 2015 19:07:59 GMT
- request:
method: get
uri: https://api.twitter.com/1.1/statuses/show/540944400767922176.json
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- application/json
User-Agent:
- TwitterRubyGem/5.14.0
Authorization:
- Bearer AAAAAAAAAAAAAAAAAAAAAPV7eAAAAAAAN7q56yJ8wNHhsagDn06qiJ0Io00%3DfdvXQaVKHFS3q1hd3y8fVQdIbntIHN2iTsBTk0f6jQK7lxcDo5
Accept-Encoding:
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-cache, no-store, must-revalidate, pre-check=0, post-check=0
Content-Disposition:
- attachment; filename=json.json
Content-Length:
- '1329'
Content-Type:
- application/json;charset=utf-8
Date:
- Wed, 23 Sep 2015 19:07:51 GMT
Expires:
- Tue, 31 Mar 1981 05:00:00 GMT
Last-Modified:
- Wed, 23 Sep 2015 19:07:51 GMT
Pragma:
- no-cache
Server:
- tsa_a
Set-Cookie:
- guest_id=v1%3A144303527165675674; Domain=.twitter.com; Path=/; Expires=Fri,
22-Sep-2017 19:07:51 UTC
Status:
- 200 OK
Strict-Transport-Security:
- max-age=631138519
X-Access-Level:
- read
X-Connection-Hash:
- 9c97acf551e728fce4dbe4991b1f9985
X-Content-Type-Options:
- nosniff
X-Frame-Options:
- SAMEORIGIN
X-Rate-Limit-Limit:
- '180'
X-Rate-Limit-Remaining:
- '176'
X-Rate-Limit-Reset:
- '1443036166'
X-Response-Time:
- '80'
X-Transaction:
- 494fea7f67fe809e
X-Twitter-Response-Tags:
- BouncerCompliant
X-Xss-Protection:
- 1; mode=block
body:
encoding: UTF-8
string: '{"created_at":"Fri Dec 05 19:02:50 +0000 2014","id":540944400767922176,"id_str":"540944400767922176","text":"More
is better. Unlimited is best. NounPro Members now get unlimited icon downloads
http:\/\/t.co\/SwzWXxmlUT http:\/\/t.co\/xN1fZ7sJmX","source":"\u003ca href=\"http:\/\/sproutsocial.com\"
rel=\"nofollow\"\u003eSprout Social\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":88996186,"id_str":"88996186","name":"Noun
Project","screen_name":"nounproject","location":"Los Angeles, CA","description":"Visually
Communicate Anything. The Noun Project community is building a visual language
that anyone can use and understand. Email us at info@thenounproject.com","url":"http:\/\/t.co\/Cx580XUZBC","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/Cx580XUZBC","expanded_url":"http:\/\/www.thenounproject.com","display_url":"thenounproject.com","indices":[0,22]}]},"description":{"urls":[]}},"protected":false,"followers_count":17328,"friends_count":894,"listed_count":830,"created_at":"Tue
Nov 10 19:03:38 +0000 2009","favourites_count":2861,"utc_offset":-25200,"time_zone":"Pacific
Time (US & Canada)","geo_enabled":true,"verified":true,"statuses_count":5156,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"F7F7F7","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/615948858892267520\/nVvwwEYd_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/615948858892267520\/nVvwwEYd_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/88996186\/1400028161","profile_link_color":"89C9FA","profile_sidebar_border_color":"949596","profile_sidebar_fill_color":"C5C8C9","profile_text_color":"333333","profile_use_background_image":false,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":1,"favorite_count":3,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[{"url":"http:\/\/t.co\/SwzWXxmlUT","expanded_url":"http:\/\/bit.ly\/1yn2KWn","display_url":"bit.ly\/1yn2KWn","indices":[84,106]}],"media":[{"id":540944400688238592,"id_str":"540944400688238592","indices":[107,129],"media_url":"http:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","url":"http:\/\/t.co\/xN1fZ7sJmX","display_url":"pic.twitter.com\/xN1fZ7sJmX","expanded_url":"http:\/\/twitter.com\/nounproject\/status\/540944400767922176\/photo\/1","type":"photo","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":529,"h":263,"resize":"fit"},"small":{"w":340,"h":169,"resize":"fit"},"medium":{"w":529,"h":263,"resize":"fit"}}}]},"extended_entities":{"media":[{"id":540944400688238592,"id_str":"540944400688238592","indices":[107,129],"media_url":"http:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","media_url_https":"https:\/\/pbs.twimg.com\/media\/B4HSEP5CUAA4xyu.png","url":"http:\/\/t.co\/xN1fZ7sJmX","display_url":"pic.twitter.com\/xN1fZ7sJmX","expanded_url":"http:\/\/twitter.com\/nounproject\/status\/540944400767922176\/photo\/1","type":"photo","sizes":{"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":529,"h":263,"resize":"fit"},"small":{"w":340,"h":169,"resize":"fit"},"medium":{"w":529,"h":263,"resize":"fit"}}}]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"possibly_sensitive_appealable":false,"lang":"en"}'
http_version:
recorded_at: Wed, 23 Sep 2015 19:08:00 GMT
recorded_with: VCR 2.9.3