From 163013dfffbd101c6d5b2e61a5a24f74f49ba1dd Mon Sep 17 00:00:00 2001 From: Christopher Styles Date: Sun, 3 Apr 2016 22:32:50 -0700 Subject: [PATCH 1/2] Remove failing specs that test paperclip These specs are unnecessary (and mostly fail). This behavior does not need to be tested, as it already should be by the `paperclip` gem itself. --- spec/factories/user_factory.rb | 9 --------- spec/models/user_spec.rb | 24 ------------------------ spec/requests/api/users_spec.rb | 2 -- 3 files changed, 35 deletions(-) diff --git a/spec/factories/user_factory.rb b/spec/factories/user_factory.rb index 2285242..404e261 100644 --- a/spec/factories/user_factory.rb +++ b/spec/factories/user_factory.rb @@ -16,14 +16,5 @@ user.decode_image_data end end - - trait :with_s3_photo do - after(:build) do |user, evaluator| - user.photo_file_name = 'user.jpg' - user.photo_content_type = 'image/jpeg' - user.photo_file_size = 1024 - user.photo_updated_at = Time.now - end - end end end diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index a342be2..abfa406 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -51,30 +51,6 @@ .allowing('image/png', 'image/gif') .rejecting('text/plain', 'text/xml') } end - - context 'with cloudfront' do - before do - @user = create(:user, :with_s3_photo) - end - - it 'should have cloudfront in the URL' do - expect(@user.photo.url(:thumb)).to include 'cloudfront' - end - - it 'should have the right path' do - expect(@user.photo.url(:thumb)).to include "users/#{@user.id}/thumb" - end - - it 'should change the full url when the photo gets modified' do - old_url = @user.photo.url - allow(Time).to receive(:now).and_return(Time.now + 1.second) - # this simulates a reprocessing of the photo, while skiping the actual request - @user.photo.send(:assign_timestamps) - @user.photo.send(:save) - new_url = @user.photo.url - expect(new_url).not_to eq old_url - end - end end context 'following behavior' do diff --git a/spec/requests/api/users_spec.rb b/spec/requests/api/users_spec.rb index 6c4896d..3fdfda2 100644 --- a/spec/requests/api/users_spec.rb +++ b/spec/requests/api/users_spec.rb @@ -520,8 +520,6 @@ @user.reload expect(@user.base_64_photo_data).to be_nil expect(@user.photo.path).to_not be_nil - expect(@user.photo.url(:original)).to include "cloudfront" - expect(@user.photo.url(:original)).to include "users/#{@user.id}/original" end end From 61ddd5ca90089662dd392dd80184d723313c1718 Mon Sep 17 00:00:00 2001 From: Christopher Styles Date: Sun, 3 Apr 2016 22:34:49 -0700 Subject: [PATCH 2/2] Update vcr cassettes --- .../api/tokens/facebook_user_found.yml | 253 ++++++++---------- .../api/tokens/facebook_user_not_found.yml | 130 +++++---- .../created_with_a_photo.yml | 130 +++++---- .../created_without_a_photo.yml | 227 ++++++++-------- ...es_the_user_with_a_user_uploaded_image.yml | 130 +++++---- .../updates_the_user_without_a_photo.yml | 165 ++++++------ .../creates_a_user_without_a_photo.yml | 227 ++++++++-------- .../adds_friends_from_facebook.yml | 177 ++++++------ .../add_profile_pic_from_facebook.yml | 85 +++--- 9 files changed, 710 insertions(+), 814 deletions(-) diff --git a/spec/vcr/requests/api/tokens/facebook_user_found.yml b/spec/vcr/requests/api/tokens/facebook_user_found.yml index 78130ee..f45f30c 100644 --- a/spec/vcr/requests/api/tokens/facebook_user_found.yml +++ b/spec/vcr/requests/api/tokens/facebook_user_found.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - BpkqtiYD1Td + - AakKtYMR3Bb X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - iwfu+MXWnIZWVWW2RhZyG5anWN8sPY9ibUwDwIZQMRerhiIHBWN9i6yLM7DWVcU7NxvrCKmdDVTwdY2A1WRY3w== + - b7LVS7MSuNPwMBtndm3R0ZIsvyaQZxWPKiWUvOfhWRkU+0tB/uxJgkcvRxVhpX+ND4ewKI1lflrPXWgg7TEXUQ== Date: - - Thu, 12 Nov 2015 11:25:17 GMT + - Mon, 04 Apr 2016 05:36:56 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Thu, 12 Nov 2015 11:25:17 GMT + recorded_at: Mon, 04 Apr 2016 05:36:56 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - GK49Cx+sU0l + - D1aAm0ipKPf X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - omZninBgIuUwZhq/dHubi59KhUiTNf2fPyfJjFvuQuy2pnJcQgQjZv1dwQCf5YrJyR5hYQA98Cp+ElzckrZXXA== + - nV/M4veJUumXNtphpmbosQBWOltjifz6NRIy8GEh+ciex9kfsf5AmQeJAebsw5AGLdw8T9E8g0uH4+LHCgnC4Q== Date: - - Thu, 12 Nov 2015 11:25:26 GMT + - Mon, 04 Apr 2016 05:36:57 GMT Connection: - keep-alive Content-Length: - - '410' + - '353' body: - encoding: UTF-8 - string: '{"id":"125184687844213","access_token":"CAALtYNTjIPsBAM7XDirWJEIgZBqGOIYJwFfXd5n0t5Eh6hYIBeJyazyhvXt7yCHfynwWWDLQbYAjhngz6UMmUzOKJF0QQ4sCgD3LmnIGj7sQJcrQoVXVbrKc8Cm67YHaWzpb3Uyklsk9ba0gXNjGiJpnSwIubg4NMMFagnTwy6ZAquHx8HLZBXRxmTE6agZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/125184687844213\/","email":"hktcltc_carrierosky_1447327517\u0040tfbnw.net","password":"133669547"}' + encoding: ASCII-8BIT + string: '{"id":"136540950075998","access_token":"CAACYW4eNO3YBAIjNej8zo28ssqNgYWBOs1BXM0Xj9wCYcYVjmDZC5wpxj4vDFDwnfRNZAZCDqBQJomHQNMFgrtGHDo32Jgh5ckVsOLA61z3pF7uLwCRzZB3LZAg9M0fTyY378ovXU3cy0ZB50u1kDpRTealNTfQSBlYgIuuc8EZCRTj8SvHyeG5bAD3wPu8q14ZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/136540950075998\/","email":"ijfiygw_liangsen_1459748216\u0040tfbnw.net","password":"160006535"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:26 GMT + recorded_at: Mon, 04 Apr 2016 05:36:57 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBAM7XDirWJEIgZBqGOIYJwFfXd5n0t5Eh6hYIBeJyazyhvXt7yCHfynwWWDLQbYAjhngz6UMmUzOKJF0QQ4sCgD3LmnIGj7sQJcrQoVXVbrKc8Cm67YHaWzpb3Uyklsk9ba0gXNjGiJpnSwIubg4NMMFagnTwy6ZAquHx8HLZBXRxmTE6agZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAIjNej8zo28ssqNgYWBOs1BXM0Xj9wCYcYVjmDZC5wpxj4vDFDwnfRNZAZCDqBQJomHQNMFgrtGHDo32Jgh5ckVsOLA61z3pF7uLwCRzZB3LZAg9M0fTyY378ovXU3cy0ZB50u1kDpRTealNTfQSBlYgIuuc8EZCRTj8SvHyeG5bAD3wPu8q14ZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - Eu4yjPLnb4U + - GXARyLV9Gd4 X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - iX38iJziCIaRDO4PahxfZexr3whpEpu1eCNH4gWqE0xoZf/HEFnyS4SCSWPDlIKir1uxDD6KaUToFNgRvmVbPg== + - zEKQgDgbrMcXbV9UeE42s/zkRcw0qIJrG9WevvLgAIttwj83jI4yYp1gvUJ6zVxrAGVEYPIgLdAPYpS1JjX9Uw== Date: - - Thu, 12 Nov 2015 11:25:26 GMT + - Mon, 04 Apr 2016 05:36:57 GMT Connection: - keep-alive Content-Length: - - '228' + - '209' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAFeRBFYGhPzYPrhifZBxb0eTYSv3w8ZAQTinZCJxO8ZAg2TtKrLoiumumiMYXiMKKlSlXxFPuhFhCr4fOFYyuL95cZCyJFGTADdmt8mEKyRpIUInIMSsPbYwNyF8tigELlzlpkiZBfrZCtTrX5Qd9PWCT4ZCw3ypKZCg1miuHwMlWOXRhK9VUBfQZD&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAL5vNkrhiDBqRBPCerEzSOhTa6Mqcv3qLWUKqsZATnU59AGmV2ZCdz7WDcVcyvhbB8XDZCc0KfGbBIUfsoccdQZCOUIZAqZAoteg7nmCz1nTY76eqed6knhLnx5ZBBbzIMyZCM8PlUBpiI05X9UFnzOeBOjbjAb0rkc3RpcWOB2e&expires=5184000 http_version: - recorded_at: Thu, 12 Nov 2015 11:25:26 GMT + recorded_at: Mon, 04 Apr 2016 05:36:57 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAFeRBFYGhPzYPrhifZBxb0eTYSv3w8ZAQTinZCJxO8ZAg2TtKrLoiumumiMYXiMKKlSlXxFPuhFhCr4fOFYyuL95cZCyJFGTADdmt8mEKyRpIUInIMSsPbYwNyF8tigELlzlpkiZBfrZCtTrX5Qd9PWCT4ZCw3ypKZCg1miuHwMlWOXRhK9VUBfQZD&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAL5vNkrhiDBqRBPCerEzSOhTa6Mqcv3qLWUKqsZATnU59AGmV2ZCdz7WDcVcyvhbB8XDZCc0KfGbBIUfsoccdQZCOUIZAqZAoteg7nmCz1nTY76eqed6knhLnx5ZBBbzIMyZCM8PlUBpiI05X9UFnzOeBOjbjAb0rkc3RpcWOB2e&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - ELRrsuxhKv/ + - C1Te+1TS4Dc X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - y5V0/hXrByRJZUbmoqP6yYJWMnEsybj2hePbE+lGnwehcLPD7onVpkBcAXg27UEn/Ph2vEqDcFphhHLrG6yhHA== + - ddcxl1iOkrTw9hLVJLrskNzcT6TsQI+wsUH8Yg/P0OQkNwcLZl7H7UPdHmEJomg8GchEC0zY664sHoNlPI5spw== Date: - - Thu, 12 Nov 2015 11:25:26 GMT + - Mon, 04 Apr 2016 05:36:58 GMT Connection: - keep-alive Content-Length: - - '334' + - '302' body: - encoding: UTF-8 - string: '{"code":"AQDx6UvYHQOvHdX6N21_QTfhm4Lxzqw1cVxd7qptZ_SL4aBfwcyUykNoMU-3tWsT7w3TsSToTe2zzhfbWU0uzfsZb_yU67i5tkq-pZnARg6q07r7gom3PrmcdRhvzY5urHRitzMCvb91CqpqwMdb_ZvpjZ0Xif8n2pSMY2V4ke_tpd-9GbANm-tsRjLKzLW9YdztVYWjKRW4kUua_62-M4rerMmZZiN4p-hcEyM62tMtddiGcLoF52YM2HuodNkgs9YrlJWaKPU2Jrp-fKqzenIQsOtzpBMRDxYkrVvBauO5VBJ2lacU9FCXgup3mC4EbSw"}' + encoding: ASCII-8BIT + string: '{"code":"AQChkHPAKr9kgHoQb-tZhqkb3YvUcpHOwuosqVYRe5toW07IFXyNe_SaCPTqUmyHpOvoJ4-ynjQ_u37643T9CmwspC1Cyw0RnUWC3NzOP2sScJ086j2zgcKVp5jZFlbzfKDAszOu0a65jbcJs_klpEx12OPZMGv6-Z1rZUV9b8CME4wmg-60zxgseYyVG5hWMpOsXsKZy_Y3O0XUCXsVHJHyUjzdXlu76oEs7KHLG-49woxJb2mFjfV84AOMSUgxtu_0Zd62kuoZ1SoObTOvZWDKAhKkRbMzZgY_WksPrAu8zm_hCCi6ktyKJeZYxv_m3vI"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:26 GMT + recorded_at: Mon, 04 Apr 2016 05:36:58 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQDx6UvYHQOvHdX6N21_QTfhm4Lxzqw1cVxd7qptZ_SL4aBfwcyUykNoMU-3tWsT7w3TsSToTe2zzhfbWU0uzfsZb_yU67i5tkq-pZnARg6q07r7gom3PrmcdRhvzY5urHRitzMCvb91CqpqwMdb_ZvpjZ0Xif8n2pSMY2V4ke_tpd-9GbANm-tsRjLKzLW9YdztVYWjKRW4kUua_62-M4rerMmZZiN4p-hcEyM62tMtddiGcLoF52YM2HuodNkgs9YrlJWaKPU2Jrp-fKqzenIQsOtzpBMRDxYkrVvBauO5VBJ2lacU9FCXgup3mC4EbSw&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQChkHPAKr9kgHoQb-tZhqkb3YvUcpHOwuosqVYRe5toW07IFXyNe_SaCPTqUmyHpOvoJ4-ynjQ_u37643T9CmwspC1Cyw0RnUWC3NzOP2sScJ086j2zgcKVp5jZFlbzfKDAszOu0a65jbcJs_klpEx12OPZMGv6-Z1rZUV9b8CME4wmg-60zxgseYyVG5hWMpOsXsKZy_Y3O0XUCXsVHJHyUjzdXlu76oEs7KHLG-49woxJb2mFjfV84AOMSUgxtu_0Zd62kuoZ1SoObTOvZWDKAhKkRbMzZgY_WksPrAu8zm_hCCi6ktyKJeZYxv_m3vI&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - FcuQyeuXPWW + - A8TPTbbOdAq X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,28 +234,27 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - 2xesQrX5O6WKAeOGlrfFJP1n/+vFPPVWapS15H/TbeyWWSGkWpnfx7A1891Q9S1mNklz85EG5i1wIgpYzS/qsg== + - p+5DGD9KsBoXmGrTnldiWwAVZTiGeltSXoYy7aJ+B+YaQcI4rZQPxAKDVa+q3MrjAyM8a44jMusBjgLi+ETEtQ== Date: - - Thu, 12 Nov 2015 11:25:27 GMT + - Mon, 04 Apr 2016 05:36:58 GMT Connection: - keep-alive Content-Length: - - '269' + - '254' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAMdZAgvZBJZBOojm04diXHd60tBOUqw1ulHSgaNaBlD5cI35xHnyCmpZCEJZCZA698q9UfrX4lqo8ZAp8lLL5zihpXmp7ge71JdcgKkZBVlVSbo5fmblK3vugrFinN1t09AzMQtVZBi2vpib5AcGgitHIYIRETrmKHkZBPZC5lZAsSt7","machine_id":"J3dEVgIRl0sLclIgS2TVQMj6","expires_in":5183999}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAMQOmnlDvPynEag1zamTOxkPGZBH6W1ZCbHKR8PCAJt72NTlpLMgUxMYXmHJob9xvsylvZA6knztkVQsqoYxUE2q5ZAEQpsQBsPgZC05ZBLUsOqeoinGfni0zujunZBwjUrfAvGQIbq3IjF6PCyZAhjgqt5NzVVZBlGFdZB4ueNZAZBg","machine_id":"ev0BV4A1RM9yeC94OVAwHz6t","expires_in":5183999}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:26 GMT + recorded_at: Mon, 04 Apr 2016 05:36:58 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -281,9 +274,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - Ev5lZxOUV2p + - FCoIA+nDJrX X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -292,28 +285,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - "/eMquV8pEKgISKU0zV0mfkdgk5okQi275CVNBfAOLW6tSNds+3QOuIBqFN+qPmUtGSsAZVrmqWUZeaxCAxAhVA==" + - U8ZvLmQjgCvylcE/6C49Aw1n2Bolmv8CPQbhR53eK5leHnbVrZyv7c9Z3V4EkA3eac6K49crOlZp3iEV6YJerA== Date: - - Thu, 12 Nov 2015 11:25:27 GMT + - Mon, 04 Apr 2016 05:36:58 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Thu, 12 Nov 2015 11:25:27 GMT + recorded_at: Mon, 04 Apr 2016 05:36:58 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -333,39 +323,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - Hu/Qklk9hRj + - CX+j8iwI+Ju X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - H2vqSN23UVHPd/dmGTmUvZQWLxqOdz8ly3TyGcwL7FkeZ6tm4xdDBv7jCRyhHxAtFi/dR+IFIfjZWG5W5J4HqA== + - 15BYQy0g/mIN63hU/fHjVHJNzSJmQOKcmQs5F7IQ5qYVRci/mMJn6WUA9MzhctIyLwYPaaBKyLeao2Myd5AcbA== Date: - - Thu, 12 Nov 2015 11:25:36 GMT + - Mon, 04 Apr 2016 05:36:59 GMT Connection: - keep-alive Content-Length: - - '423' + - '369' body: - encoding: UTF-8 - string: '{"id":"105329689833272","access_token":"CAALtYNTjIPsBACmsrl5dhhMSBoQG7WMYUbX9eOA5zZBM9TWTXM8pV2z1sY3qka9uJ2H4R5LAI8ED6Tl9cZC0s6cG7IWLv53DJ9ZCpp4rMj9V4zrQPDMPFrdqZCZBfeIg2rD44Knw95iq1qC5jZC49TI2yXjaiQZBWUl6K888VA4G8f2oSBk9DSjsW2EPSUp5NzkkP8BZBPzmVwZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/105329689833272\/","email":"ioyxjsi_sadansky_1447327527\u0040tfbnw.net","password":"7226442"}' + encoding: ASCII-8BIT + string: '{"id":"115286052204894","access_token":"CAACYW4eNO3YBAC0AfSgJbLemcaqTViLhvcMDxsrXgRqlZCHNLYkXZAp1FlD8mYEZBaV4fbIcqNnAY5ZAEaOpF4kYfxMngFgcEl3wpkTJJlaQTrQzRwlDhA4riGrmBYp8qWREZC6vZCj8dvnzDZBrPlvQMVtsFZBDh75MPl6arASfUChAjrZCiUTutFC301vujvPH0MEwg3kphsgZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/115286052204894\/","email":"mgingel_schrockstein_1459748219\u0040tfbnw.net","password":"474315747"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:36 GMT + recorded_at: Mon, 04 Apr 2016 05:36:59 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBACmsrl5dhhMSBoQG7WMYUbX9eOA5zZBM9TWTXM8pV2z1sY3qka9uJ2H4R5LAI8ED6Tl9cZC0s6cG7IWLv53DJ9ZCpp4rMj9V4zrQPDMPFrdqZCZBfeIg2rD44Knw95iq1qC5jZC49TI2yXjaiQZBWUl6K888VA4G8f2oSBk9DSjsW2EPSUp5NzkkP8BZBPzmVwZDZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAC0AfSgJbLemcaqTViLhvcMDxsrXgRqlZCHNLYkXZAp1FlD8mYEZBaV4fbIcqNnAY5ZAEaOpF4kYfxMngFgcEl3wpkTJJlaQTrQzRwlDhA4riGrmBYp8qWREZC6vZCj8dvnzDZBrPlvQMVtsFZBDh75MPl6arASfUChAjrZCiUTutFC301vujvPH0MEwg3kphsgZDZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -385,9 +374,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - Fl7847gAMUh + - G917Kh4XwjR X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -396,25 +385,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - ya+iWtXqPn9HXu9jwzyco4oGZCJrEv7f31qKAssCw9fDh6TdDVT1t/W4lJpj9iF+Q093d8dGlBjbJxUDoe6NJA== + - 3SuQJlEaTsXGxA1EjF2Jjk3ond/BNEgvstz+00BHqX8hHn+/73lFq4lT66aGZ3HwvxNJcds+6W+BeGigG/qWGA== Date: - - Thu, 12 Nov 2015 11:25:36 GMT + - Mon, 04 Apr 2016 05:37:00 GMT Connection: - keep-alive Content-Length: - - '211' + - '221' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBANjZB9gjmp3LhGR5Bqr3OWokjRmw3ZBHp8hCVaWl5ZBM0VnDR6c8KdXNW23cqJIEF1fjOypymEGFRDrvUhGGUmzeTrddRpjUNyhdutJR0KBezNQEkci25A3c3umu1UYFcqVuyGmX5l9ZCteEw9OhpZC70e9NMihohBkSdVOPf&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBACSwkwYPWOzzFzdTAM6A2qBZBBHLkf4D8a0X0Ocvh4qpPJx9WyoT6zUUZBiVfhoZBytNuxKjtnPvX7ZB5ZAxIQumSlyHn7iJVhJAZBWaBJVvcQ1K4IiK2vbMqMadgZA6vewjjf1W6HSPGb7kgMS8gVJLSgUr89QGZBmhrS8JPJNFktZCeRDAXnYwZD&expires=5184000 http_version: - recorded_at: Thu, 12 Nov 2015 11:25:36 GMT + recorded_at: Mon, 04 Apr 2016 05:37:00 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBANjZB9gjmp3LhGR5Bqr3OWokjRmw3ZBHp8hCVaWl5ZBM0VnDR6c8KdXNW23cqJIEF1fjOypymEGFRDrvUhGGUmzeTrddRpjUNyhdutJR0KBezNQEkci25A3c3umu1UYFcqVuyGmX5l9ZCteEw9OhpZC70e9NMihohBkSdVOPf&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBACSwkwYPWOzzFzdTAM6A2qBZBBHLkf4D8a0X0Ocvh4qpPJx9WyoT6zUUZBiVfhoZBytNuxKjtnPvX7ZB5ZAxIQumSlyHn7iJVhJAZBWaBJVvcQ1K4IiK2vbMqMadgZA6vewjjf1W6HSPGb7kgMS8gVJLSgUr89QGZBmhrS8JPJNFktZCeRDAXnYwZD&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -435,9 +423,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - Fbw+nFR4FcO + - BkttKFipUF5 X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -446,25 +434,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - L+Y/logIeXmFx/H6S4jgohkIX5S6WTxY7gFrVnW3Y9Lxm/b/fvdNxmcDhWUgkNC5oKohM4Wu+Y08jzYf0vXotw== + - 9q8zvuOYbUt+qIXcWqsPzA2Xj72CEzeLJpDbjz2KjBwfLrQk8PTZzL4eLAcKWBKHNs1hLwL/mREup8VnYfFGJA== Date: - - Thu, 12 Nov 2015 11:25:37 GMT + - Mon, 04 Apr 2016 05:37:00 GMT Connection: - keep-alive Content-Length: - - '334' + - '304' body: - encoding: UTF-8 - string: '{"code":"AQBKfh-nBCtQrQ24orkgxeEvBadIQmvC1Ujc9FkcSloeptCFGCmCgLnyX5XXM5uXMp5kylM05uCxyUfSUyhBdvVvIHapZfzEMhl4nh0mk8Eb3lBI8kyNL7fK8Qfq4gC0Oyd8zjnKTh3OyLzgsmjybibpzRZw5ERwFN0h9fYTZn5zVBUCi7_nkG0-Xs3yDtmcWe-ew43CBlKz_ukYxvrUu_2P1r13SrmBPpdzh_mws_CGR9TJsp-5EcF4c6KzsSpGhOpjhUhrlQ8VZkD0jz8LssMFncSGzC7ZIBJ7mtqAEV8eOYGK17WVxJRbc_AIHDKAkPM"}' + encoding: ASCII-8BIT + string: '{"code":"AQBhi4gJm6im8e3Hmj1HaTU52Smvno9srhg-32MSK6pCLUY8Ys1gVWp9Jm7RHddBZaBpWdUNPCbKIYsvxdpCxNOcUc7ADYpDx1EQNztiA-2BGBRiiNYes45IRxbJeve8TmUQ8nuxLhNk7Smx0RJ4DbeCJBxvZGxu7cYxlVNlK_LVwQgNdVkKP2IkSa85XsLmp_SD7QhLm8R0uRa_PF_PvxkeQ_EWMbuEgTVWQcAADiUEhPtpg6rT8VO-sO9rPfYaYWd5RFzjyoEY7a3pFQzfFYWskbJjuxdXOuEA9iYNdbqzjgf-rWZrm1LG7eTiNDItU7E"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:36 GMT + recorded_at: Mon, 04 Apr 2016 05:37:00 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQBKfh-nBCtQrQ24orkgxeEvBadIQmvC1Ujc9FkcSloeptCFGCmCgLnyX5XXM5uXMp5kylM05uCxyUfSUyhBdvVvIHapZfzEMhl4nh0mk8Eb3lBI8kyNL7fK8Qfq4gC0Oyd8zjnKTh3OyLzgsmjybibpzRZw5ERwFN0h9fYTZn5zVBUCi7_nkG0-Xs3yDtmcWe-ew43CBlKz_ukYxvrUu_2P1r13SrmBPpdzh_mws_CGR9TJsp-5EcF4c6KzsSpGhOpjhUhrlQ8VZkD0jz8LssMFncSGzC7ZIBJ7mtqAEV8eOYGK17WVxJRbc_AIHDKAkPM&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQBhi4gJm6im8e3Hmj1HaTU52Smvno9srhg-32MSK6pCLUY8Ys1gVWp9Jm7RHddBZaBpWdUNPCbKIYsvxdpCxNOcUc7ADYpDx1EQNztiA-2BGBRiiNYes45IRxbJeve8TmUQ8nuxLhNk7Smx0RJ4DbeCJBxvZGxu7cYxlVNlK_LVwQgNdVkKP2IkSa85XsLmp_SD7QhLm8R0uRa_PF_PvxkeQ_EWMbuEgTVWQcAADiUEhPtpg6rT8VO-sO9rPfYaYWd5RFzjyoEY7a3pFQzfFYWskbJjuxdXOuEA9iYNdbqzjgf-rWZrm1LG7eTiNDItU7E&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -485,9 +472,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - AfwNgy0Vaew + - AWyMMaDRiTc X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -496,25 +483,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - "+gnEFcSDKz4ojDkNF5IHRZV8MHgJjfGcYdujK92RkZGq83bu+Ng9nW0XLZIyHHIHo2Y5cOEcPUKyNNM5G2awrw==" + - 1Xv7XL5gmHMVI6ZbGKc8uyHLO4eEulgJR7gO7D7sK3vRs0jFWc+E/xsTetMsCH/tZULlTG6zdTi0n3MPzs3Bxw== Date: - - Thu, 12 Nov 2015 11:25:37 GMT + - Mon, 04 Apr 2016 05:37:01 GMT Connection: - keep-alive Content-Length: - - '277' + - '259' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAEXFEZA5WORD9ed7VfKUACHYxY0nnVJyZAHa11jLFfQawP66UxF7jSIQUCldeBVSJ2DgBCaNfUFWQECp03FCXC4zXZBtqS2CbKOv4uxYpBC3ZB1cQWtIRoTDA9NwmxOduAGaluhZBcYXg71tw24apMuHBoKmZCipw0bg5PHzuduiTwSZBig85YZD","machine_id":"MXdEVnm3ZVHpCrHMYOQMnKfd","expires_in":5183999}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAM0USprUYbBp9a7hgsWSo2SljjciZAm1NZBY4REzAK2Dr7ZATOCTOH0T6hpm8xyQY5wfZBs40stRyMk07BkBZBfd2VZAkmfNHH9RaEgfo94uXY3sk5XqFhHzYGLmnNW6GFULlFPd4HYX2orxTloSXZBB5QrGFu1AypEHHM1Ov2piG8KTL4dcoIZD","machine_id":"ff0BV5ghmjdGZEr6wZ5RR9c3","expires_in":5183999}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:37 GMT + recorded_at: Mon, 04 Apr 2016 05:37:01 GMT - request: method: get - uri: https://graph.facebook.com/me?access_token=CAALtYNTjIPsBAEXFEZA5WORD9ed7VfKUACHYxY0nnVJyZAHa11jLFfQawP66UxF7jSIQUCldeBVSJ2DgBCaNfUFWQECp03FCXC4zXZBtqS2CbKOv4uxYpBC3ZB1cQWtIRoTDA9NwmxOduAGaluhZBcYXg71tw24apMuHBoKmZCipw0bg5PHzuduiTwSZBig85YZD&appsecret_proof=e0ba0e19ca8b576af4945818fa56613e64ae4d97953b6205229822bf28767bc2&fields=email,first_name,last_name + uri: https://graph.facebook.com/me?access_token=CAACYW4eNO3YBAM0USprUYbBp9a7hgsWSo2SljjciZAm1NZBY4REzAK2Dr7ZATOCTOH0T6hpm8xyQY5wfZBs40stRyMk07BkBZBfd2VZAkmfNHH9RaEgfo94uXY3sk5XqFhHzYGLmnNW6GFULlFPd4HYX2orxTloSXZBB5QrGFu1AypEHHM1Ov2piG8KTL4dcoIZD&appsecret_proof=a3a60a67491aeb28039044aebf96e63e3f7bc0789a4573d81f5fb726076439c7&fields=email,first_name,last_name body: encoding: US-ASCII string: '' @@ -535,33 +521,32 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - At9ApHZl/NW + - DhElFKqTpqO X-Fb-Rev: - - '2038677' + - '2263582' Etag: - - '"1511c76c1f053aac0715b26d8e1a2da391d5338c"' + - '"c022eeb779e914b8e50b39d09468bcf560b51cab"' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - ce9o5B43zFetvlQ6+J0ygLXI9A3rU1K8CvTrCISqvUqhjk7mMuRQm3nwPMdlH8K5OpgvfltYmM5Qva5Jfin6dg== + - FeFsiUgRA26OA7cApNSJRJsjW8DevbcT89rrHkQMwtf+VUM+u7oa8jATDxQZgni7Qm8RCaaGJI1Pf1XRFIChmw== Date: - - Thu, 12 Nov 2015 11:25:38 GMT + - Mon, 04 Apr 2016 05:37:01 GMT Connection: - keep-alive Content-Length: - - '123' + - '126' body: - encoding: UTF-8 - string: '{"email":"ioyxjsi_sadansky_1447327527\u0040tfbnw.net","first_name":"Barbara","last_name":"Sadansky","id":"105329689833272"}' + encoding: ASCII-8BIT + string: '{"email":"mgingel_schrockstein_1459748219\u0040tfbnw.net","first_name":"Dave","last_name":"Schrockstein","id":"115286052204894"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:25:38 GMT + recorded_at: Mon, 04 Apr 2016 05:37:01 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/tokens/facebook_user_not_found.yml b/spec/vcr/requests/api/tokens/facebook_user_not_found.yml index eb2ffe1..7cf9d55 100644 --- a/spec/vcr/requests/api/tokens/facebook_user_not_found.yml +++ b/spec/vcr/requests/api/tokens/facebook_user_not_found.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - AyQISI8VSRN + - ARsiPC6u/Tp X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - 5aAj9VsTeK+SI3jvTB226ZorGl2+FZZduwaa8Pttnu92tm4y92WPrnOz3bC2yZmiRAUL9eAToc1v12sCLtZVEg== + - 6sz6ileMSoRpoDGotpjLFOXufc4OCNF3zvx+6x9JFh3E+rs5pmh203tenPl3m3A8CH63904900fen+YHGzTPRg== Date: - - Thu, 12 Nov 2015 11:18:39 GMT + - Mon, 04 Apr 2016 05:36:52 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Thu, 12 Nov 2015 11:18:39 GMT + recorded_at: Mon, 04 Apr 2016 05:36:52 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - H8kHj7Knpao + - BUisNymDDGA X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - FbUl4f/GDFFhb17NesT5HuzkvdAzYl31BS8cKD7nxP6VH4Ir9PjeGtPu4J8Dbj7LWXlqzVU77tLxvy0covjQZA== + - Hny/vGY6H9vwV5MAkm8LOl+vbA6O9ZGI/uJne/HbvBStskvcXG0UnFgJ8AB2Guu1loeXveqEh9xW621f5IGNmA== Date: - - Thu, 12 Nov 2015 11:18:48 GMT + - Mon, 04 Apr 2016 05:36:53 GMT Connection: - keep-alive Content-Length: - - '427' + - '359' body: - encoding: UTF-8 - string: '{"id":"104051013294730","access_token":"CAALtYNTjIPsBAKT4NZAecuaEhejKoRq618HDIvnC5jdPd5SUsSZCHDafceTN4tzijx8WJgAo4tjgBpUNjgbZBCK6xCJox9P8vTqfmskn1suLUn1KsZAt5i9OhpBaB5GSCpw7fZCHwXq6Tux3XqOeIgfFNZAV1vjMkU3ZAAHQBmpW6dekZCvq8DYXaXkBhOjH7VxL4D0BngfFvQZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/104051013294730\/","email":"izhecar_shepardson_1447327119\u0040tfbnw.net","password":"902011719"}' + encoding: ASCII-8BIT + string: '{"id":"125717144493211","access_token":"CAACYW4eNO3YBAFLO9gboEe0gIAzkyb6UCrXfIz64NUZBxVhgmViaAxeeU4nrFX0fIOEhjEuRh87SfUnDeZCi8DyOB1ZCdPxhXw2digx7HCcy3w4phv4dyP2brHUqJ3lZCNm89aCZAzlJ3SQOAZAuWSWFdhxic0PuK6S3XGZCRPZB2YFDJHGta5pCdN6KgNt5suYZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/125717144493211\/","email":"xxigwea_changsen_1459748213\u0040tfbnw.net","password":"529058555"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:18:48 GMT + recorded_at: Mon, 04 Apr 2016 05:36:54 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBAKT4NZAecuaEhejKoRq618HDIvnC5jdPd5SUsSZCHDafceTN4tzijx8WJgAo4tjgBpUNjgbZBCK6xCJox9P8vTqfmskn1suLUn1KsZAt5i9OhpBaB5GSCpw7fZCHwXq6Tux3XqOeIgfFNZAV1vjMkU3ZAAHQBmpW6dekZCvq8DYXaXkBhOjH7VxL4D0BngfFvQZDZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAFLO9gboEe0gIAzkyb6UCrXfIz64NUZBxVhgmViaAxeeU4nrFX0fIOEhjEuRh87SfUnDeZCi8DyOB1ZCdPxhXw2digx7HCcy3w4phv4dyP2brHUqJ3lZCNm89aCZAzlJ3SQOAZAuWSWFdhxic0PuK6S3XGZCRPZB2YFDJHGta5pCdN6KgNt5suYZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - EOHpouf/kRK + - EAtZk15SDQb X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - yGnwkwY1n4S6EDWrgdUkmZYe/gLvc1bvky3I0/55+WMu/161bFAZCRxDk43aNbtJGZCLXa/ERqTwPebcIp2eyA== + - 1bpTUYAy4kufrCk2XVO+YigQtzR3m9hb05cws7COExkZKBZb6LVnYYiK4Ch+VN6zckQIJxaO5hZl9sTlpRIRyQ== Date: - - Thu, 12 Nov 2015 11:18:48 GMT + - Mon, 04 Apr 2016 05:36:54 GMT Connection: - keep-alive Content-Length: - - '214' + - '220' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAGicL0vHqLNvH80uLwJzKt0yfyEpeKTvUVEQXZA5czAQp5lQgeY8eq9k8AgQpoIFHJtdzcTirUZAMbCgQrtbEeZCyfzC6HbkqoxNLbkZB27UQX60vWRehBc2SuTBIkO60NftRdaZCFkXHAZBrsvghuSgKEGZBRNeyiAJClZCTeRu&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAFZASLk3EWF5h6ntmPUgFH8n00PHABHZCP3N8CGlJehfZA4zmHBoKgWDIQFUxGVvy96s2zrBmUYQFjYEWFbNdjPpF5kRc2QA7dBYvePhJVIDzTmihqVZBDyWFo92aH6nHWETbB9dXlUZA5CkYkeuzIjJpZCgWhkQjBdEZA80CAt0VbrxnAkkFYZD&expires=5184000 http_version: - recorded_at: Thu, 12 Nov 2015 11:18:48 GMT + recorded_at: Mon, 04 Apr 2016 05:36:54 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAGicL0vHqLNvH80uLwJzKt0yfyEpeKTvUVEQXZA5czAQp5lQgeY8eq9k8AgQpoIFHJtdzcTirUZAMbCgQrtbEeZCyfzC6HbkqoxNLbkZB27UQX60vWRehBc2SuTBIkO60NftRdaZCFkXHAZBrsvghuSgKEGZBRNeyiAJClZCTeRu&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAFZASLk3EWF5h6ntmPUgFH8n00PHABHZCP3N8CGlJehfZA4zmHBoKgWDIQFUxGVvy96s2zrBmUYQFjYEWFbNdjPpF5kRc2QA7dBYvePhJVIDzTmihqVZBDyWFo92aH6nHWETbB9dXlUZA5CkYkeuzIjJpZCgWhkQjBdEZA80CAt0VbrxnAkkFYZD&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - FcdJ2K2ApFv + - HNnPsxbm3q2 X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - PW3DtKl16jZ8rqegdQExozJtnoZ8UecmPLB3T720OBnPaA0jjJ/H4WKhvqNgOE5k4HdARAX9CTEZdXijlddAZw== + - ryg+guJLfETrpyhJopvuVE2B5C0bm8CoUYgnVHCee2ckSuQL2BIJGHbIc3m+V1bETtZ6YcRVLOmP15qzdQpauQ== Date: - - Thu, 12 Nov 2015 11:18:49 GMT + - Mon, 04 Apr 2016 05:36:54 GMT Connection: - keep-alive Content-Length: - - '334' + - '303' body: - encoding: UTF-8 - string: '{"code":"AQAULoGyiy0L7GKgj6eB1s_hcJvhYB7tEbpTwrEwJvd14NAmYyValGzrCFYj5zEp8gf8qwfz_n6_PIerysvFksOnYUykcbr9imSW8Sy3-8qI8SPGxIFbaYTTGNbf-pt_Slr3szAXCNDJRlnytDcy3o49EzS7EbRIxzZlqwjbPGvrTNaC23NnG_CrdK9PoKDaZIkRKzxF737t5FFOn7GoFNXWQbFyHIFXODEMOr5dqJaLkgrroLpYso_6R7yVJ_4jUHHAhOBJIxfqUwj9AikBFGiygjEynvI0YanVJaFJ1Lu51tYFXpO8bcDJFwxzrW6P3tk"}' + encoding: ASCII-8BIT + string: '{"code":"AQANuH0a3xrfWotbv9nZAkHh2M-y2pIUcAfEASVyB_5hcVPI05LPrUiIVvPITUMo8g43CcJngwiHp_Kcf_R9tmkIywYuEzLzdRfZ-2cNvMcOBAliz0XonZC_YnHdX__H4kiK_S8Fr14NwL_1Nudbrn2GDWbEySqXN6LBhdzPwHb2pvRiUFXEemUPZ_TnVjDl8GbccMVC13jgG_GYCz_Bg9KjZN40w3qzJYm_z6gAAH8_OP_kwpmrXabN4ctWX69kx7m5rzUrPOUgqAAYJZwYrzJE8vdOFDGhqPiYX3d4UISGHZ4yDrftyL_PY8ZFXJ8zFQc"}' http_version: - recorded_at: Thu, 12 Nov 2015 11:18:48 GMT + recorded_at: Mon, 04 Apr 2016 05:36:54 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQAULoGyiy0L7GKgj6eB1s_hcJvhYB7tEbpTwrEwJvd14NAmYyValGzrCFYj5zEp8gf8qwfz_n6_PIerysvFksOnYUykcbr9imSW8Sy3-8qI8SPGxIFbaYTTGNbf-pt_Slr3szAXCNDJRlnytDcy3o49EzS7EbRIxzZlqwjbPGvrTNaC23NnG_CrdK9PoKDaZIkRKzxF737t5FFOn7GoFNXWQbFyHIFXODEMOr5dqJaLkgrroLpYso_6R7yVJ_4jUHHAhOBJIxfqUwj9AikBFGiygjEynvI0YanVJaFJ1Lu51tYFXpO8bcDJFwxzrW6P3tk&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQANuH0a3xrfWotbv9nZAkHh2M-y2pIUcAfEASVyB_5hcVPI05LPrUiIVvPITUMo8g43CcJngwiHp_Kcf_R9tmkIywYuEzLzdRfZ-2cNvMcOBAliz0XonZC_YnHdX__H4kiK_S8Fr14NwL_1Nudbrn2GDWbEySqXN6LBhdzPwHb2pvRiUFXEemUPZ_TnVjDl8GbccMVC13jgG_GYCz_Bg9KjZN40w3qzJYm_z6gAAH8_OP_kwpmrXabN4ctWX69kx7m5rzUrPOUgqAAYJZwYrzJE8vdOFDGhqPiYX3d4UISGHZ4yDrftyL_PY8ZFXJ8zFQc&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - A4X/hZG85jL + - ApUP1rGazqz X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - QrhaOkbYoN3tZ/k263Fyt/j84fmHVfNhCdPYvuu33r0hvatc4yZqcdVSaUGyS0haHYQyRFQE96pHPWtJ9JS1lA== + - PchT/cR+6OvWMSLuuxZz+J3wkkRhNXGb8943KBCvfVrRUXx4RKdCUnp0z7BW13C4SohnJayx7TydlGMeGK1t9A== Date: - - Thu, 12 Nov 2015 11:18:49 GMT + - Mon, 04 Apr 2016 05:36:55 GMT Connection: - keep-alive Content-Length: - - '265' + - '258' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAOFY3zAeKU9xVuDcUDQYFVbZCukS795wQtLepE0sSxXiOZAzGZC8JGZAzMHZBZBC5SMl31nvRH21IEnfbCPGbFELXViCZCCX7iOQIikffs7DpuI52zGYjK09xAqMh5r8TiW1PC2vOCErJ1TjpFVzZBvhHGNUs41rk9FKoJCHDfki","machine_id":"mXVEVubNO8iiiaybXAh576PU","expires_in":5183999}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAEnY3P7ySmkxB0GAQTXatFs8GTnKa7H1mkQdsoonWdUR6MUhQYLvrCyhdPrownoQOA3j18ksKxFKhI31LgZBFfPc0AiORGCMJsTmbfdKwrFaaQhZCOx8sRF2pyHLMYnOdl2vOR4mUYYqkeVLjmwQuOGW1zGhSgt8iDZAXuCThn2qrRh3MoZD","machine_id":"d_0BV1Hywhw1GKZYGI3be_uv","expires_in":5183999}' http_version: - recorded_at: Thu, 12 Nov 2015 11:18:49 GMT + recorded_at: Mon, 04 Apr 2016 05:36:55 GMT - request: method: get - uri: https://graph.facebook.com/me?access_token=non-existant-token&appsecret_proof=de84c0afce2e3ed80269a153aac922fbaa052271e132a95acbf3dc459f95126e&fields=email,first_name,last_name + uri: https://graph.facebook.com/me?access_token=non-existant-token&appsecret_proof=2f70a837995fda3835d300b236093f5112995f3c02652e182027faab85dbc76e&fields=email,first_name,last_name body: encoding: US-ASCII string: '' @@ -281,29 +274,26 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - FyFZo6OAD66 + - AndsTSpJjfB X-Fb-Rev: - - '2038677' + - '2263582' Pragma: - no-cache Cache-Control: - no-store Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - b1td88PO1woTOYhcFclBlPK4NWIFHGnochK+rx5Cu+dQd+JQMELVuMlRBdtuU/Q687cfP1nCRxAzk6UtfwIdxA== + - qUkQfO654k2t7U95cg8dQulpwmTb/e0IfHFcZaF3sS+Yki7CfKVyVwlYDcfXX3iM1nuuEaOaGpVXv8uDD1sbsA== Date: - - Thu, 12 Nov 2015 11:18:49 GMT + - Mon, 04 Apr 2016 05:36:55 GMT Connection: - keep-alive Content-Length: - '113' body: encoding: UTF-8 - string: '{"error":{"message":"Invalid OAuth access token.","type":"OAuthException","code":190,"fbtrace_id":"FyFZo6OAD66"}}' + string: '{"error":{"message":"Invalid OAuth access token.","type":"OAuthException","code":190,"fbtrace_id":"AndsTSpJjfB"}}' http_version: - recorded_at: Thu, 12 Nov 2015 11:18:49 GMT + recorded_at: Mon, 04 Apr 2016 05:36:55 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_with_a_photo.yml b/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_with_a_photo.yml index 284e4ce..d0f40ca 100644 --- a/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_with_a_photo.yml +++ b/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_with_a_photo.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - B+WYaTH0uAH + - A3zFvV7mjOa X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - F4xHgdOz6GBs9ARcU/SeHDimPUhO3X8fD+/lAqpIlTes75WYIYlBfpTFnylhplACu9Kjhci0ctb8z7QBAvLFUg== + - X4zTfFYnd++1FSuMBBLEI+APPWInwv/15WJnDPCO1IrwB9+lpRIvqt6ph+JOYvIcAKBN85qJoyTXl847ycpqbQ== Date: - - Fri, 13 Nov 2015 05:02:39 GMT + - Mon, 04 Apr 2016 05:41:20 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:39 GMT + recorded_at: Mon, 04 Apr 2016 05:41:20 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - AxD6dXyBfAi + - FICOOkHCl8Z X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - HMhApD6Y35qNkB68GqrRfoloPbaxdUIuihGNCFHZ1DA0TCiwBqSNwqH2nCvkV23ZLlbOKobLA8u4b6YvOnqsQw== + - 9D7vYbMEQljer8alIQXJXP3lmw4XrBRjEqcD1lsxXFcyK/6rv2hV4dJW/ZGWyf3ekZb0+yBCiCAh8lS756jLAQ== Date: - - Fri, 13 Nov 2015 05:02:42 GMT + - Mon, 04 Apr 2016 05:41:21 GMT Connection: - keep-alive Content-Length: - - '410' + - '367' body: - encoding: UTF-8 - string: '{"id":"121800231516936","access_token":"CAALtYNTjIPsBAN9WZA8FEy7Wh5KNsZC6oiw2vN5tBvmkoTcSy1OjyMIoRDlUkhi3khMBMePiHa7nXWi89FWWkYxyl2EsZA6pNHz6vTFoZBBn79YVXScZAUuXJOYrhRYMS22ZBdrd498HIA309wowuj4MQbf49sgBAEyZANtFXp88JNQZB9PX1PyJUcrViQPeYPUZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/121800231516936\/","email":"jzpfidd_qinsky_1447390960\u0040tfbnw.net","password":"138171637"}' + encoding: ASCII-8BIT + string: '{"id":"124753741256496","access_token":"CAACYW4eNO3YBAPUiycBhU7fpZATsDzRw41fZAbz4CmftnOnhHhO1lsvaZBWnUbPp59QrfNA9sTw71zmL6xeEwxzWGnqgZBjZA1PtJWWvsNa55zfHnKqOCMjlJLlQO5qfMLw9re9dgM9Xao2qiZCFwopc5iO6CUbGxFf1s4775TeTP1PeriOjlFAOKJYn45ZCua1oxvZASddZARgZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/124753741256496\/","email":"hihogcz_shepardescu_1459748480\u0040tfbnw.net","password":"1626897077"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:42 GMT + recorded_at: Mon, 04 Apr 2016 05:41:21 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBAN9WZA8FEy7Wh5KNsZC6oiw2vN5tBvmkoTcSy1OjyMIoRDlUkhi3khMBMePiHa7nXWi89FWWkYxyl2EsZA6pNHz6vTFoZBBn79YVXScZAUuXJOYrhRYMS22ZBdrd498HIA309wowuj4MQbf49sgBAEyZANtFXp88JNQZB9PX1PyJUcrViQPeYPUZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAPUiycBhU7fpZATsDzRw41fZAbz4CmftnOnhHhO1lsvaZBWnUbPp59QrfNA9sTw71zmL6xeEwxzWGnqgZBjZA1PtJWWvsNa55zfHnKqOCMjlJLlQO5qfMLw9re9dgM9Xao2qiZCFwopc5iO6CUbGxFf1s4775TeTP1PeriOjlFAOKJYn45ZCua1oxvZASddZARgZDZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - Deiwxe/ZPj3 + - C0Sf9WHY4Ne X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - XDbJkNaICGpVVXYnRxqO2zhqLw8UV9Jx++OfWjFnYHapexnYcZT/Nm4jzMe831+qZ+8Ycv6gahBzOOoNsKAlpA== + - 9SI7eGZgFPPGJYl54klEFk5JATNAOCHj8Vv0LkaVFMflaIugcKb9neqaqiyd8d5oKFYFTxn0q8eeMB0BzzO6/g== Date: - - Fri, 13 Nov 2015 05:02:43 GMT + - Mon, 04 Apr 2016 05:41:21 GMT Connection: - keep-alive Content-Length: - - '214' + - '218' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAHaZAKxTtNRWdbdqx0Pv7IsPZCxvwYp7tXlJQwAN20vIMRBAJSjZCQhtru1CQ8XweCbAXYklP0tzw6oDRFEwyozqA7sXueZAKp5GPNfu9D6UD4iODFIJBykN80ZCLu5xCQNii5VtoGuCiKZAKUneRoZCZAaI6Y23smSY5DgWP0CP&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBALAiISXUCCG21FRBJcxixFzEHQ19PSUqNwfGwSaDhOHPEzyylM8kpRVRlurayYR0yNITZCimd3tzyiRRBsRX4xiQXmER5WOmfxPU5f3w7MMmkKoD7n04f9UTontZCGjZCFIxSmXT12LgakGSMnDNfQWcZBBgGvV1wfR7n5XHwrtRyDw0phMZD&expires=5184000 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:43 GMT + recorded_at: Mon, 04 Apr 2016 05:41:21 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAHaZAKxTtNRWdbdqx0Pv7IsPZCxvwYp7tXlJQwAN20vIMRBAJSjZCQhtru1CQ8XweCbAXYklP0tzw6oDRFEwyozqA7sXueZAKp5GPNfu9D6UD4iODFIJBykN80ZCLu5xCQNii5VtoGuCiKZAKUneRoZCZAaI6Y23smSY5DgWP0CP&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBALAiISXUCCG21FRBJcxixFzEHQ19PSUqNwfGwSaDhOHPEzyylM8kpRVRlurayYR0yNITZCimd3tzyiRRBsRX4xiQXmER5WOmfxPU5f3w7MMmkKoD7n04f9UTontZCGjZCFIxSmXT12LgakGSMnDNfQWcZBBgGvV1wfR7n5XHwrtRyDw0phMZD&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - DPxCgHHuJe2 + - BZKWvzOidvd X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - HAEz7f4x+bX0jDqgnROTn5pz3PJM8cqOF9EqtggblQXfsdSkKByTLQOOryuxgZHvSm6gDu0XpjDkisE3yRkeRQ== + - V2s9g0QT3Hx/b6G+hC+PZomuWxjO50Uizmjb/Td04YeaYC4cqzgZ/rmMwu8Gp9qsYklZDsROD6Wn8KX2kj371Q== Date: - - Fri, 13 Nov 2015 05:02:43 GMT + - Mon, 04 Apr 2016 05:41:21 GMT Connection: - keep-alive Content-Length: - - '377' + - '303' body: - encoding: UTF-8 - string: '{"code":"AQAYyJMdAEMBS_y4U9UAR2Qgsf4unQDx02ujyqKKhHm_ie_jkikfENm_SW6dZlxuos8UGhtq4ehqxgwgcW_myS9jT_l9s4mE57XyCYAFmMZNZYcB0iLdN4UihP7_KW6p2fBT7HblYWoW4f3MyNI3-RvEc9Bc71h79kmrt1KJJYqbdYZawLU8wGdgeaYbFltY3EDzDP8XpYqIaKx31BkkkKyMcA5Ph4xi-kmanrTlOjPdSNj_2_f_ezysdVxoIouOKmedOsOwM59osEmOAiKcymq3rNVjxG7tvsWOlKnlpNC7FwoHcyK3huW1Cbz8rMTkh-fWM0r5dsJS9VYqwq7VEAdKKg4omfvd0L2DptfQwU4gBQ"}' + encoding: ASCII-8BIT + string: '{"code":"AQB6HR47WWYE9Lyl-Igr8-gemA5OqnKfCDCCeUs-4EtW5HvWdFK7-S2tfkn6wAZcMA_3ma-5xFqaIWrAwfbCGHmFPoBamjefeVkV_b2J9Hx3fVFzAVvXBJNOoLr9JYqsB2-IAA1U8WN6eJ8Zj46OTxa_Z11GKou5Lilz-ZLAgl4h2senpqqsAKbTFUqwPKTEasUbc11_aedWpUvLXIigSvMy6V725U0bXYsceYJoOQVUJoom66AQwpFrgzW1wPSmCNAPNpaC8Bp6StzW59oprBgSmzA2g9slY9p5h4byw5bPRYF26B2x2aSUycTq2abXgeM"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:43 GMT + recorded_at: Mon, 04 Apr 2016 05:41:21 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQAYyJMdAEMBS_y4U9UAR2Qgsf4unQDx02ujyqKKhHm_ie_jkikfENm_SW6dZlxuos8UGhtq4ehqxgwgcW_myS9jT_l9s4mE57XyCYAFmMZNZYcB0iLdN4UihP7_KW6p2fBT7HblYWoW4f3MyNI3-RvEc9Bc71h79kmrt1KJJYqbdYZawLU8wGdgeaYbFltY3EDzDP8XpYqIaKx31BkkkKyMcA5Ph4xi-kmanrTlOjPdSNj_2_f_ezysdVxoIouOKmedOsOwM59osEmOAiKcymq3rNVjxG7tvsWOlKnlpNC7FwoHcyK3huW1Cbz8rMTkh-fWM0r5dsJS9VYqwq7VEAdKKg4omfvd0L2DptfQwU4gBQ&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQB6HR47WWYE9Lyl-Igr8-gemA5OqnKfCDCCeUs-4EtW5HvWdFK7-S2tfkn6wAZcMA_3ma-5xFqaIWrAwfbCGHmFPoBamjefeVkV_b2J9Hx3fVFzAVvXBJNOoLr9JYqsB2-IAA1U8WN6eJ8Zj46OTxa_Z11GKou5Lilz-ZLAgl4h2senpqqsAKbTFUqwPKTEasUbc11_aedWpUvLXIigSvMy6V725U0bXYsceYJoOQVUJoom66AQwpFrgzW1wPSmCNAPNpaC8Bp6StzW59oprBgSmzA2g9slY9p5h4byw5bPRYF26B2x2aSUycTq2abXgeM&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - E1IgDp7UO01 + - Fcky0ktLQZq X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - eLGE6SwNAx1Y3UqLJBJBBWSq927WOcmQGgzoVNJ7jFMWw9fcY/h/vLng0fU3pGVtCn7DXmvBI86eSGzPUlLshQ== + - gKbvTIXOsLwpK9JNl3CsW9P1meVlg5AqbOTKcm1tOGeUo5ZGAi8c90B5r4EGAB6XkcEACa3veAIfGGnOUswLkA== Date: - - Fri, 13 Nov 2015 05:02:43 GMT + - Mon, 04 Apr 2016 05:41:22 GMT Connection: - keep-alive Content-Length: - - '264' + - '248' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAO1KiwNBIEKZB2L9rodvf7eekn8Syav7ROLUCBOPfh6MCxPRFZAKOPEfzS9GbcxT0l5qb4dZBWn4NqGrMcL0ymsKZAPvZBxIEUvurRUWSPogpjXsokwGSDeiBhc5EHwhl9IpUDYWTYsJgA7Dq1oi7HxoJ77ZBhiJVKyAoeqUZBH","machine_id":"825FVhVWDfPH8Wee18mGoPY5","expires_in":5184000}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAHETwBvOBuJtPt0wlG7BYKU1HwxfMDOk9J5lADmBAJVBQwD52GcMfvJwYL8N09KxeCAQy2AYU0GKAZBZCiXvtG9Vx4sCciwRqWAelZBI3xplJlLnxreoUL6qMO5ZAs6WyTZAVheMGQdGirLhvdmIMKpqqAHedi98YvZArYbEOx","machine_id":"gv4BVx3Wa2f3B9NqgYefROpy","expires_in":5183999}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:43 GMT + recorded_at: Mon, 04 Apr 2016 05:41:22 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBAO1KiwNBIEKZB2L9rodvf7eekn8Syav7ROLUCBOPfh6MCxPRFZAKOPEfzS9GbcxT0l5qb4dZBWn4NqGrMcL0ymsKZAPvZBxIEUvurRUWSPogpjXsokwGSDeiBhc5EHwhl9IpUDYWTYsJgA7Dq1oi7HxoJ77ZBhiJVKyAoeqUZBH&appsecret_proof=d73ff3a3a489d1153981eeecfe1daa8686434894c735f904fa0d2380eac22364 + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBAHETwBvOBuJtPt0wlG7BYKU1HwxfMDOk9J5lADmBAJVBQwD52GcMfvJwYL8N09KxeCAQy2AYU0GKAZBZCiXvtG9Vx4sCciwRqWAelZBI3xplJlLnxreoUL6qMO5ZAs6WyTZAVheMGQdGirLhvdmIMKpqqAHedi98YvZArYbEOx&appsecret_proof=3e80655738a4cf01b2c265f2104836854265d8627a649e601ee2f5f5cc258ff9 body: encoding: US-ASCII string: '' @@ -279,9 +272,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - EpS9TjKJHZ6 + - EP5zeoSAj6v X-Fb-Rev: - - '2041018' + - '2263582' Etag: - '"65db2e6f820eca71267c2e168f9ad407ff9c792d"' Pragma: @@ -289,16 +282,13 @@ http_interactions: Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - x5y8mrtPZ7zCzOA1IWUznlhiNdJ6G13E5UPxG9zkdRuczPGmHYQdvS4RD6E90vFaeTeUtF7iuj9R41NPTSHDzg== + - TxKvS/cINlgndN4zON8F4l7zZEFBbbpMgW21XqUKgzOH12G3IxzesfsmLaXDmsR+8TM7jz1xMKktIMDErN/PSw== Date: - - Fri, 13 Nov 2015 05:02:44 GMT + - Mon, 04 Apr 2016 05:41:22 GMT Connection: - keep-alive Content-Length: @@ -307,5 +297,5 @@ http_interactions: encoding: UTF-8 string: '{"data":[],"summary":{"total_count":0}}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:44 GMT + recorded_at: Mon, 04 Apr 2016 05:41:22 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_without_a_photo.yml b/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_without_a_photo.yml index 67f2c60..0683a47 100644 --- a/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_without_a_photo.yml +++ b/spec/vcr/requests/api/users/with_facebook/automatic_leaderboard_update/created_without_a_photo.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - FPjqtY/S5iK + - DR7wuPXUR8E X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - gemCYMbUgaI9GmWaLi3FwDewGi7WFsexozpDk9B3Q5hfZ9cjVOrv2GfjxKURr2vTnv2AALDuObGKwyHBgR5mEQ== + - rof4fNd+/TuZlao5dHGrygTiY1MhPX+Kj8AL3ZGOE7GAmEETT/AP1OqyrmGWs+Ey/TUkhfpndTVAh1oO8JmwcA== Date: - - Fri, 13 Nov 2015 05:02:45 GMT + - Mon, 04 Apr 2016 05:41:16 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:45 GMT + recorded_at: Mon, 04 Apr 2016 05:41:16 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - HrcleIKqh2u + - A5JfC6kLGvP X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - b7HVApWPDuUaLLYSX27P0mLcLGkn7cexlyLZ9m6+9Yw9P67MkJw91ftlf8xuf7V7CFRQxsqB+OawxK5C7LDxhw== + - quwi1DoXxeybDS0Jo0LaRawXTpSmMISh/BZom/h2lATdq15QpLfWx3Wb6Rw9eKoV9Lqf5zAbGQ5LtW1bvLwpVA== Date: - - Fri, 13 Nov 2015 05:02:47 GMT + - Mon, 04 Apr 2016 05:41:16 GMT Connection: - keep-alive Content-Length: - - '427' + - '370' body: - encoding: UTF-8 - string: '{"id":"120614641635414","access_token":"CAALtYNTjIPsBAMgL9jRMUjpCoQCrGtWylZCX2NX8LRx4iABDZAQ6KCESzyGEYfAOFR2O8suMcZBogxaeNWoVZBFc8VvZBMlo1QYstGbOR59joEvsRCctsbckODrZBb9YXEMhtUj7CHstKiZAJQ76AN5b3gKUcnTWbHqmZCVuGiV3H7ijAIt4Scx5QbM7LaqWq0D1jNJnvOdPhwZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/120614641635414\/","email":"qtusryp_adeagboson_1447390965\u0040tfbnw.net","password":"337299819"}' + encoding: ASCII-8BIT + string: '{"id":"131977847199595","access_token":"CAACYW4eNO3YBAFlWeP8LSaXcwioLRXZBVXaxmZCcIzjkNdeGstbIHxo1ireqQZBVxuOkoefFwwBKipopSOnqNDuiVRcqZB85LIL6Tk7ZAZBtYPEIVGpCPM0KjjNQ7wt2C1mLY4v3APeOsyEfOTozU8Sb4SW8gnADi9W6xBQzYd53miuZBU3o7LS9RTUvhXC45SNIVJ1QzireQZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/131977847199595\/","email":"fdvdsgb_martinazzistein_1459748476\u0040tfbnw.net","password":"1428953853"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:47 GMT + recorded_at: Mon, 04 Apr 2016 05:41:16 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBAMgL9jRMUjpCoQCrGtWylZCX2NX8LRx4iABDZAQ6KCESzyGEYfAOFR2O8suMcZBogxaeNWoVZBFc8VvZBMlo1QYstGbOR59joEvsRCctsbckODrZBb9YXEMhtUj7CHstKiZAJQ76AN5b3gKUcnTWbHqmZCVuGiV3H7ijAIt4Scx5QbM7LaqWq0D1jNJnvOdPhwZDZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAFlWeP8LSaXcwioLRXZBVXaxmZCcIzjkNdeGstbIHxo1ireqQZBVxuOkoefFwwBKipopSOnqNDuiVRcqZB85LIL6Tk7ZAZBtYPEIVGpCPM0KjjNQ7wt2C1mLY4v3APeOsyEfOTozU8Sb4SW8gnADi9W6xBQzYd53miuZBU3o7LS9RTUvhXC45SNIVJ1QzireQZDZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - ArHDcQhoWhJ + - HS3V5GJ3y49 X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - M36QIzDBJyHatuSTefAcm9duYXCimgDPKUeEz9XILLs+xZEI+fsun5+oj19zUEn/3Kuf76VvLPBmJ1A8X/pp0A== + - N1M2J/BrOUmfUyiW7o8J54nXY0IHRQKmhx8BHMj3KDTXc1DaiYwCqyYMQlcluVaD0pMY9K1OtbAlfCWXeyrncA== Date: - - Fri, 13 Nov 2015 05:02:47 GMT + - Mon, 04 Apr 2016 05:41:17 GMT Connection: - keep-alive Content-Length: - - '215' + - '222' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAGETRjY3fW8CM7vV6PSZCIQwHMhr242sGebEqht9gQEZBx1IbSMr05QW7UZB8oTINm3rEGqxZBVGZBwlLCVvCAzwoJO3Dv5K8jXSiEtZAWUFEt0chCp39rdnvno4HZB20uTZAKMSzxmoEr20przMhySJ34fZBgVpjUPp1T8x7kTdP&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAD7ZAUJoJMab7Ja47fe6xahqJ5sORO6MSYNofU84fZC3JoYfL7bqjkVr7M41ZAR22xdWZAzAQJMLPrdpVsmlf1rKGBYtaNZAcKhEbhZBUaS93bg9ZAsJDDesLdwCqlL4C9yoBau5IGIFUPZAWvtg9HZCQe8MeyKX7c6g1QcofZBBZBP3m8KanjQwMMZD&expires=5184000 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:48 GMT + recorded_at: Mon, 04 Apr 2016 05:41:17 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAGETRjY3fW8CM7vV6PSZCIQwHMhr242sGebEqht9gQEZBx1IbSMr05QW7UZB8oTINm3rEGqxZBVGZBwlLCVvCAzwoJO3Dv5K8jXSiEtZAWUFEt0chCp39rdnvno4HZB20uTZAKMSzxmoEr20przMhySJ34fZBgVpjUPp1T8x7kTdP&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAD7ZAUJoJMab7Ja47fe6xahqJ5sORO6MSYNofU84fZC3JoYfL7bqjkVr7M41ZAR22xdWZAzAQJMLPrdpVsmlf1rKGBYtaNZAcKhEbhZBUaS93bg9ZAsJDDesLdwCqlL4C9yoBau5IGIFUPZAWvtg9HZCQe8MeyKX7c6g1QcofZBBZBP3m8KanjQwMMZD&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - F6DYYHb5SBf + - Eq0PAMu0XxN X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - SqcsV+NBC9QO/LPgPpMrR6sC7JWzZdVS0qCSo6brqO+8kxHZQkCg5myxuyFB3IjjLsiBwzcKi3iK2QYIPkFZFw== + - 4pK1WWo8aihFWT2k95GxcEFwBI/2owAxcMoMymr+ZYT1VVQx/bngP5ndeDnFJS99tPhRKyYvifTQyfcY86NaCQ== Date: - - Fri, 13 Nov 2015 05:02:48 GMT + - Mon, 04 Apr 2016 05:41:17 GMT Connection: - keep-alive Content-Length: - - '377' + - '304' body: - encoding: UTF-8 - string: '{"code":"AQBoralrNY2G6IcWrTPGZ7dp-Cvd2YLPd2C1lkwEyftb4Blr6YVhlfh5ATsQL2Kyy7Zmsn5nBuIefFr5jswu25f81zEWUNOkrQVNPbf9g8esvPsGJzFBhLrlZ2omA7fDVn90BgSEcPnnV9Mr-VfWB_Sn7DHRdOw6z2VSw8nmugjErA_TwVZAFcLiqGR3Br4oPjmYVvsb-NztI2xuhrC6PeWYznfgCT5dfLMmpINwjG0IStZN3cMEKlgtYU9FaQ88EUvqySmsYL4VXRBrEdDMpCXclSiZW0qfdb4oR9V3YPWgUW-rrnE5rjsxkNQ57YWr4-l2YVCANTxT0v3b-8VqVeusi-kWxPKyc5_PHIcUsiBxBQ"}' + encoding: ASCII-8BIT + string: '{"code":"AQADVdrIcf7bR96k6dktwEJoAS_Paro1fG1CSj-3_FYdspeB7j1GMoemxqVua969aV4WvhnRh_kXD_yMgp6Qmfih-HuKn0yLhOUCD5qsj3KI1Acg3wbJQNNEZIx8b2zvWofPT8NQJ7zZ9MZEtfpiH3B1aBm3pcRdW1Nu6O0hXtF4GAOl7YH8VeRZSx-cNKbb_XM7A-dW4jEef3oTzpkFIv8R4cETX5MJjMcIp35zcDvIY2x5_-jJTgjfEu2EjleTuT4He3TAt9ORAZQNhGrMzB3Y2l6tr61Q0xyWBQYL2AIMCslMhK6e5CyCDVDeqPrG2ZA"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:48 GMT + recorded_at: Mon, 04 Apr 2016 05:41:17 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQBoralrNY2G6IcWrTPGZ7dp-Cvd2YLPd2C1lkwEyftb4Blr6YVhlfh5ATsQL2Kyy7Zmsn5nBuIefFr5jswu25f81zEWUNOkrQVNPbf9g8esvPsGJzFBhLrlZ2omA7fDVn90BgSEcPnnV9Mr-VfWB_Sn7DHRdOw6z2VSw8nmugjErA_TwVZAFcLiqGR3Br4oPjmYVvsb-NztI2xuhrC6PeWYznfgCT5dfLMmpINwjG0IStZN3cMEKlgtYU9FaQ88EUvqySmsYL4VXRBrEdDMpCXclSiZW0qfdb4oR9V3YPWgUW-rrnE5rjsxkNQ57YWr4-l2YVCANTxT0v3b-8VqVeusi-kWxPKyc5_PHIcUsiBxBQ&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQADVdrIcf7bR96k6dktwEJoAS_Paro1fG1CSj-3_FYdspeB7j1GMoemxqVua969aV4WvhnRh_kXD_yMgp6Qmfih-HuKn0yLhOUCD5qsj3KI1Acg3wbJQNNEZIx8b2zvWofPT8NQJ7zZ9MZEtfpiH3B1aBm3pcRdW1Nu6O0hXtF4GAOl7YH8VeRZSx-cNKbb_XM7A-dW4jEef3oTzpkFIv8R4cETX5MJjMcIp35zcDvIY2x5_-jJTgjfEu2EjleTuT4He3TAt9ORAZQNhGrMzB3Y2l6tr61Q0xyWBQYL2AIMCslMhK6e5CyCDVDeqPrG2ZA&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - H3ljWjKfd5d + - AeJU+TUpnzn X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - WNNw/tdmbU1IpHMOl0e+kMUI/y6J5dkjhHpDte4+80m46o7fFtAdImX2RRKKffIkl9pDr1m1YWd9quFC39F47w== + - TKbFL7qnSDxQUEcViYMM/2g1awtK+4g2R7lSbV/BTkfnLN0OOvJbkPRhCdRAxGa0ykjPhhRuxBiPZ+630e+c8w== Date: - - Fri, 13 Nov 2015 05:02:48 GMT + - Mon, 04 Apr 2016 05:41:18 GMT Connection: - keep-alive Content-Length: - - '265' + - '250' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAD2z5I5ZCEMyyCBiWbBTgXtkZAfvS5dYuWK1tvOhMF5qMlyVLGhX3gGiiSAZBGL7DGYhClZCVsWYcQPJ0r7WDDJ2otvIxD3Cqz6GZCynj9AhrpRgsBI1zz1GQWZCYAsy8ucS1eKZCo7AP6RO9BURTzKYJPDWOASUDEZCmOtvKIUk","machine_id":"-G5FVllmNE-y7RX9GL8c9wJ8","expires_in":5183999}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBABHeuHB8FIHhzUOAqlWu9Gw7kGaggIf3txZBgNyAyfzOFcCSuYGKiPJzJWdRyVWtmIzsCCD3YBnefdA7ZAYVQR0tIfdfe7cx8N9FsvVlpEzmQS8UrWZBH2vS1ZA00YDFrQWKHJuZCoVWLTw4iHRx6bSXDbuHF4ondFNpuFKmp","machine_id":"fv4BV0Ycu812Q5dLTAk9KDm8","expires_in":5183999}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:48 GMT + recorded_at: Mon, 04 Apr 2016 05:41:18 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBAD2z5I5ZCEMyyCBiWbBTgXtkZAfvS5dYuWK1tvOhMF5qMlyVLGhX3gGiiSAZBGL7DGYhClZCVsWYcQPJ0r7WDDJ2otvIxD3Cqz6GZCynj9AhrpRgsBI1zz1GQWZCYAsy8ucS1eKZCo7AP6RO9BURTzKYJPDWOASUDEZCmOtvKIUk&appsecret_proof=f85e91190f1c099d4984d61db66142c5de56d1f404733ae00b00185641f909d0 + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBABHeuHB8FIHhzUOAqlWu9Gw7kGaggIf3txZBgNyAyfzOFcCSuYGKiPJzJWdRyVWtmIzsCCD3YBnefdA7ZAYVQR0tIfdfe7cx8N9FsvVlpEzmQS8UrWZBH2vS1ZA00YDFrQWKHJuZCoVWLTw4iHRx6bSXDbuHF4ondFNpuFKmp&appsecret_proof=88f91ab95f06f360f7845628490c9bee72b2478f87e062e8021e4db678bcbfd9 body: encoding: US-ASCII string: '' @@ -279,9 +272,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - GafHjSPKRb7 + - EterdFsjEEa X-Fb-Rev: - - '2041018' + - '2263582' Etag: - '"65db2e6f820eca71267c2e168f9ad407ff9c792d"' Pragma: @@ -289,16 +282,13 @@ http_interactions: Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V2 - - api X-Fb-Debug: - - sg2bvcixw4F676+3qgl/wfK5w1amtrLqhjnjCJ9vsM+FecOaPuLDZcvGjOJJMGw9oXV4owUGrz8ckwPMXugbog== + - OeUSHUzrdMc4iNf4BYWwK3CHAUGFNJQ82gTEQE3UvMdDHMdNxaySHMAWqIooT5MwvUSA0B+umnRfGTBfXqBLUw== Date: - - Fri, 13 Nov 2015 05:02:49 GMT + - Mon, 04 Apr 2016 05:41:18 GMT Connection: - keep-alive Content-Length: @@ -307,10 +297,10 @@ http_interactions: encoding: UTF-8 string: '{"data":[],"summary":{"total_count":0}}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:49 GMT + recorded_at: Mon, 04 Apr 2016 05:41:18 GMT - request: method: get - uri: https://graph.facebook.com/me/picture?access_token=CAALtYNTjIPsBAD2z5I5ZCEMyyCBiWbBTgXtkZAfvS5dYuWK1tvOhMF5qMlyVLGhX3gGiiSAZBGL7DGYhClZCVsWYcQPJ0r7WDDJ2otvIxD3Cqz6GZCynj9AhrpRgsBI1zz1GQWZCYAsy8ucS1eKZCo7AP6RO9BURTzKYJPDWOASUDEZCmOtvKIUk&appsecret_proof=f85e91190f1c099d4984d61db66142c5de56d1f404733ae00b00185641f909d0&type=large + uri: https://graph.facebook.com/me/picture?access_token=CAACYW4eNO3YBABHeuHB8FIHhzUOAqlWu9Gw7kGaggIf3txZBgNyAyfzOFcCSuYGKiPJzJWdRyVWtmIzsCCD3YBnefdA7ZAYVQR0tIfdfe7cx8N9FsvVlpEzmQS8UrWZBH2vS1ZA00YDFrQWKHJuZCoVWLTw4iHRx6bSXDbuHF4ondFNpuFKmp&appsecret_proof=88f91ab95f06f360f7845628490c9bee72b2478f87e062e8021e4db678bcbfd9&type=large body: encoding: US-ASCII string: '' @@ -331,26 +321,23 @@ http_interactions: Content-Type: - image/jpeg X-Fb-Trace-Id: - - GY39vD8TGRG + - HyWpMuXc68h X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Location: - - https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oh=3fa29a859650d406793272ee7cff2a64&oe=56EFB3F8&__gda__=1455221573_6477bec455ae3b8d4a2f6cbce7a0a1d8 + - https://scontent.xx.fbcdn.net/hprofile-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oh=3f560f9bf95ca602bb19c2d7b8870e1a&oe=57869A50 Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V2e - - api X-Fb-Debug: - - zOy8IallrLefepKwQ+UKaAWS+PKQbjP616ZmYuPXy2Ztr7HEGCi2SvDTbrqzmWi0ZtvqdZgMxHwiZ9YIYaR53g== + - oXfTeBbWw3he1fvdzkkZN3jY2U1sPgs6YqHtVUSs0rcz8uk7n5Lb2ddZ3JR+xSArZfiJ1i79BqC0oQG5sIZQWQ== Date: - - Fri, 13 Nov 2015 05:02:49 GMT + - Mon, 04 Apr 2016 05:41:18 GMT Connection: - keep-alive Content-Length: @@ -359,10 +346,10 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:49 GMT + recorded_at: Mon, 04 Apr 2016 05:41:18 GMT - request: method: get - uri: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?__gda__=1455221573_6477bec455ae3b8d4a2f6cbce7a0a1d8&oe=56EFB3F8&oh=3fa29a859650d406793272ee7cff2a64 + uri: https://scontent.xx.fbcdn.net/hprofile-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oe=57869A50&oh=3f560f9bf95ca602bb19c2d7b8870e1a body: encoding: US-ASCII string: '' @@ -386,23 +373,23 @@ http_interactions: - "*" Access-Control-Allow-Origin: - "*" - Content-Length: - - '2155' - Cache-Control: - - no-transform, max-age=1209600 Expires: - - Fri, 27 Nov 2015 05:02:50 GMT + - Sun, 17 Apr 2016 01:12:34 GMT + Cache-Control: + - max-age=1209600, no-transform Date: - - Fri, 13 Nov 2015 05:02:50 GMT + - Mon, 04 Apr 2016 05:41:19 GMT Connection: - keep-alive + Content-Length: + - '2120' body: encoding: ASCII-8BIT string: !binary |- /9j/4AAQSkZJRgABAgAAAQABAAD/7QCcUGhvdG9zaG9wIDMuMAA4QklNBAQA - AAAAAIAcAmcAFHM0RjBONm1mbWxFUVg0YkdSaUZxHAIoAGJGQk1EMDEwMDBh - YjcwMzAwMDA5NTA0MDAwMDMzMDUwMDAwNTQwNTAwMDA4MTA1MDAwMGVhMDUw - MDAwODkwNjAwMDAwMDA3MDAwMDMyMDcwMDAwNzEwNzAwMDA2YjA4MDAwMP/i + AAAAAIAcAmcAFEtrbFNnM2tISGpYcUlCSGZySWxGHAIoAGJGQk1EMDEwMDBh + YjcwMzAwMDA5MzA0MDAwMDIyMDUwMDAwNDMwNTAwMDA3NDA1MDAwMGRhMDUw + MDAwNmUwNjAwMDBlNTA2MDAwMDFhMDcwMDAwNjMwNzAwMDA0ODA4MDAwMP/i AhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfcAAEA GQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB AAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -419,34 +406,34 @@ http_interactions: IxwWFiAsICMmJykqKRkfLTAtKDAlKCko/9sAQwEHBwcKCAoTCgoTKBoWGigo KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo KCgo/8IAEQgAfQDIAwAiAAERAQIRAf/EABoAAQEBAQEBAQAAAAAAAAAAAAAB - BQMCBAb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/EABUBAQEAAAAAAAAAAAAA - AAAAAAAB/9oADAMAAAERAhEAAAH9yiyoKgqCoKvY4NDyfC98yoKgqCoKgoAA - AHTnpHf0SgecrX+dMwUAAAAQVBUFQe9nM04BQAMbz3+eyoKgqCoCiKIoij6d - LJ1oBQAMv5+niyKIoiiKAAAAG3j6R2EoA4mU9+LAAAAAAAAFg+nSz9CAXN+f - 6vksAAAAAIKgqCvf3Gd9WhY8+hQPPwaIxG181mc98yoKgqCoKgqdzQ6koAAA - AHLJ28qzigqCoP/EACQQAAIBAwQCAgMAAAAAAAAAAAECAwARQBASIDAEMyJQ - EyEx/9oACAEAAAEFAvowCa/E9CAUYKZSuIi7mUBRqw3B12thQLZeM63TBUXb - mws2BB7Oc/swPH9nOf2YERtJzc3f6lDZhKp5GVRTnc2CDao2YvrIzByb4njj - 5a+QPlhf2lhJpQFGrAMGhIo/rvVSxWECgAOgi9NCDTKVPZGu1euRdy9cIvJ2 - zC0nH//EABQRAQAAAAAAAAAAAAAAAAAAAGD/2gAIAQIRAT8BUf/EABQRAQAA - AAAAAAAAAAAAAAAAAGD/2gAIAQERAT8BUf/EACAQAAICAwACAwEAAAAAAAAA - AAEhABEgMEAxUFFgYXH/2gAIAQAABj8C9Gp4jJiMfJUoYUZXHfzl/OIDQR9D - Gg+qsi55y8ywOJQPAuPkvC+NRqUMKMTj30I3FocSj2/vQNxy/8QAJBABAAEC - BgICAwAAAAAAAAAAAREAISAwMUBBYVFxgaFQscH/2gAIAQAAAT8h/BuwVomP - 6qDcUXP807B2jEPmoQQYBQJKeZ8bO5tcS5Gt2y7IaLGPqh2JkdGQL/Wx/RkK - /wBbH6jkSHvYmttaMbrfYgUAV4s+HF5s9UaQJ2SKbGjdcYDcYUim52k64mCM - cW2zBUBXqvFX3UJLYFIWrxV90FQEe9hJ1bKgIAZACAPuvLVRrNR5y1zJ854z - Ake84IHN8X//2gAMAwAAARECEQAAEDjjjjihhjjjjjgggghvPKwggggjjjjh - /PPLjjjjssssn/PPMssssggggmfPOCgggggggggt/Kgggggjjjgp/PLoRjjj - jjinPPPPPLTjjv/EABkRAAMAAwAAAAAAAAAAAAAAAAERMAAQIP/aAAgBAhEB - PxDpTGzIVFRYTWLaxWPH/8QAGREBAAMBAQAAAAAAAAAAAAAAARARMAAg/9oA - CAEBEQE/EPVmayOTq6uzBjfXI9ex4//EACQQAQABAwMEAwEBAAAAAAAAAAER - ACExIEBRMEFhcYGRoVDB/9oACAEAAAE/EP4ciL4MUgEAsTBj3Qrg8WKh2jwZ - KsUcJh2llIyuChIg/dAUkpFcMrk2dtO96O2qWLtPXc2Uc9o+KAAEAQakkhxX - l4D1sZFyPQiXkP5sVHs/86Ew8A/NjJnCy+eh5pcbFIHuWqUE51OGM1IRlN9i - uq4iYvzUQEi0EOqaGBaBNJcNyTMvOyDtBhKXNlKTm2ibtBCcWpG0mV2iPFmB - 8uhAsMvZs/GABNOi/HmgiEP3RKCVOqzjwK8IAEdeMkvdcBUUtxYKjTeAjoR5 - vAmppTxZKiPfImHqfdFEdx+eoHad3w1cYZEs9MHwJ+nWN8IQ96v/2Q== + BAUDAgb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/EABUBAQEAAAAAAAAAAAAA + AAAAAAAB/9oADAMAAAERAhEAAAH9yiyoKgqCoKbDG6PwYXp5FQVBUFQVBQAA + APXy2G6koE5XWyJzxQAAABBUFQVBduHabxKAxbeamZFVBUFQVAURRFEUTrcr + omoSgMurCYVWRRFEURQAAAA+vkdtn0SgOL0ebYAAAAAAAAAB0Nfn6SgZOf1+ + RYAAAAAQVBUFe28xbvVKAA8vUczP2/GzlPbwKgqCoKgqC6cvYPQSgAAAAOb0 + vM5CLKgqD//EACUQAAECBQMEAwAAAAAAAAAAAAIBAwAEESBAEjAyECEiMRMz + UP/aAAgBAAABBQL8NO8CxHwDCsQQKOI2OokSli90cHQWFLe7ZhPHClrpgsOW + 92zHPCZ+u2Y4YUuvjbMrhitCtXuuGwVR6vlQMSW49ZnjiNppDq4OoMIGlKAB + BuMEKDaUd8G1KAbQdo20KDbUdxkNW88GnbbSgbriVC3/xAAUEQEAAAAAAAAA + AAAAAAAAAABg/9oACAECEQE/AVH/xAAUEQEAAAAAAAAAAAAAAAAAAABg/9oA + CAEBEQE/AVH/xAAkEAABAwMDBAMAAAAAAAAAAAABACBAESEwMVFhAhIiQVBx + gf/aAAgBAAAGPwL4Oy8ivasVeJRWZdUhl1YfU7thl35DEmmzgIYMr6ZTeKWC + KAwiHsFZ11uM/C5xcrjJU6ZqjTGMxd//xAAhEAABAgYDAQEAAAAAAAAAAAAB + ESEAIDFAQVEwYYGhUP/aAAgBAAABPyH8MCSApghFDoR2QDl9g21t2iWVKmAA + gACQAgCgx1rFmD/Uyw6Gzq8TJAIq62fxzU7MABQKiYA7K2a57JnfWz64MpKA + k4glCc2jGaskaHS1B7ZkB7RtA5aFwrmRIK4gsXsnY+kUc+zNRz7EOw8Oelts + YoYXY8VTCbCK2+w5FeB95leR840mNcyTOpv/2gAMAwAAARECEQAAEDjjjjih + BjjjjjgggghvPLwggggjjjjivPPzjjjjssssoPPOsssssggggktPAQgggggg + gggtPIQggggjjjhnvPPDRjjjjjmPPPPPPOjjjv/EABkRAAMBAQEAAAAAAAAA + AAAAAAEgMBEQAP/aAAgBAhEBPxBsmOmQ6ZDpqamOexMcOU//xAAaEQEAAgMB + AAAAAAAAAAAAAAABIDAQETEA/9oACAEBEQE/EI79srclTzJ2pydtK3BSvtwG + bMh//8QAKRABAAECBQMEAQUAAAAAAAAAAREAISAxQFGBMEFxYaHB8JFQsdHh + 8f/aAAgBAAABPxD9DEoSwBRR/JH81/rn8VEtHYTWUDsFx0l/ETgoMEdgjAqI + CEaRLl3fpo/EgYi7lFw6P23yxKDkD5aN2/Q++JSWw/d0YwpkWLriv8LQMX0c + it/YcUgnK/4+dGxigEw5lDJJgLLAlpUUqm+kW+91udsDd4d2x30sH2IYJPsU + 0gQAqsAGdLlAT5OBM4CfIoKARGETLRQQ+tmeKu8nnOK7weM1JD62Y4691H2r + b1DPIT/XSlngJ53q6j2rzt1DQ70RuoAICAyOogkJI5lGB3ojd0w2geW/WDeh + 5L4v/9k= http_version: - recorded_at: Fri, 13 Nov 2015 05:02:50 GMT + recorded_at: Mon, 04 Apr 2016 05:41:19 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_with_a_user_uploaded_image.yml b/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_with_a_user_uploaded_image.yml index 4373d1f..d4e556e 100644 --- a/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_with_a_user_uploaded_image.yml +++ b/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_with_a_user_uploaded_image.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - C8iPJvznvsC + - Gsdsk8i0IOF X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - Eu1cZiFhnWwz6ZUyHUdCAWvp6/DxCpSd/990sI0tyPUokfqMKS+uol4NZCBt4Xmb9xDcvvxYl7CKW9PUGISoGQ== + - dxJRawwHKRcynJ7/TF2SBgpFYCf+9exvQgqH3TQPsM8vdKVQwkSTEqvujo1rNyQNwjv+/x0tK7dSljs/pu3Eyw== Date: - - Fri, 13 Nov 2015 05:17:53 GMT + - Mon, 04 Apr 2016 05:40:19 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 13 Nov 2015 05:17:53 GMT + recorded_at: Mon, 04 Apr 2016 05:40:19 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - Hqy1ixItgXF + - E+mzjWVnhPN X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - WUh/mDH2Q1wCzKcVg585kkh0kXTWfl5o8seS/TGlJcGwzgru3KykkZ+N0FPHGBjpPi/PhXLhB7/gHFwbjWdrtg== + - lNrRPHOOPni7F+t7bw7kE5b21/hLrg8vxtw6JFSnz1oOBS2VC6CHO/RUIqVQ5xZ3BpfheLO2QZeRqhdfXWacCw== Date: - - Fri, 13 Nov 2015 05:17:57 GMT + - Mon, 04 Apr 2016 05:40:20 GMT Connection: - keep-alive Content-Length: - - '430' + - '373' body: - encoding: UTF-8 - string: '{"id":"116547285376291","access_token":"CAALtYNTjIPsBALahDe2lQg27B2rHLNhaHyFBPboB8Tp3tIIV2qSPeCO1ZBQcJB1ZArOu9w7Y3aLOAY4wAwF2LwlLGXUbjbOURFk2hO3uZBaNtwoHdgP9DFhBbGMs3OnZAOSd7ZAvu29r1h4lCxGZCqrAZAcBL0Dvz9sPeKS6GEgiUlFDhhpD6chn5P9HpX6RM8jZAUIF5VVkgQZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/116547285376291\/","email":"dlsozmh_narayanansky_1447391873\u0040tfbnw.net","password":"1558981649"}' + encoding: ASCII-8BIT + string: '{"id":"139691159760407","access_token":"CAACYW4eNO3YBAOof3CFqexMtHb5POSzdf42TO5rINnzOLq6x2ZCOZBjrOZBaYGVYQDylm4M8gL1axVMzDfYsc7zu3bZBmcVO1ZCD3yjXyTuZB4pbPZBs3x8Hqz3KHnZBikKLzXXiT1ZC3oU1sbdZBl8eXZBlHwLZC0IpFR64F3SIS6TZC0HoYeiTDh3omf2f1WfNh7VifZAsV4ZA0ZAJqAZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/139691159760407\/","email":"rfshgef_changwitz_1459748419\u0040tfbnw.net","password":"645178290"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:17:58 GMT + recorded_at: Mon, 04 Apr 2016 05:40:20 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBALahDe2lQg27B2rHLNhaHyFBPboB8Tp3tIIV2qSPeCO1ZBQcJB1ZArOu9w7Y3aLOAY4wAwF2LwlLGXUbjbOURFk2hO3uZBaNtwoHdgP9DFhBbGMs3OnZAOSd7ZAvu29r1h4lCxGZCqrAZAcBL0Dvz9sPeKS6GEgiUlFDhhpD6chn5P9HpX6RM8jZAUIF5VVkgQZDZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAOof3CFqexMtHb5POSzdf42TO5rINnzOLq6x2ZCOZBjrOZBaYGVYQDylm4M8gL1axVMzDfYsc7zu3bZBmcVO1ZCD3yjXyTuZB4pbPZBs3x8Hqz3KHnZBikKLzXXiT1ZC3oU1sbdZBl8eXZBlHwLZC0IpFR64F3SIS6TZC0HoYeiTDh3omf2f1WfNh7VifZAsV4ZA0ZAJqAZDZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - EK7p2Qf+P4e + - CHer2EFvQJ+ X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - OVszaJfDqKGMjmlMsn0A0MgIVb5L26ENcccXRbqdN5VEIYMMBb8Qv2N2qQGOkPdUva6NL/JPQSSdETgDISs/1A== + - xS41XNvctiN2N8byFHlpX4FkA5dzT+79NPMTnuB2iTZTMS0LUAa6dfyZscbWODGH5CLUkAu7KzVGuda1UJxEFw== Date: - - Fri, 13 Nov 2015 05:17:58 GMT + - Mon, 04 Apr 2016 05:40:20 GMT Connection: - keep-alive Content-Length: - - '214' + - '208' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAACQAVjtF8Y2YartRE5DS1jMme0DAZACCNsS5zOfZAcXptW37UqN2FqWsZA74bZBE1umuEjY0Jui5b1MH5AnKlGYhb2fObJF8kq0dCGNDdr0mTDWPMvc1HhuLue3qa4nHhZChWspQucVK1iZCIZCNkPqKEbn8BpmoSUZAIxl0e2X&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAClacgbtV4BizQN6zMm3pEH2GIJKazhFfwdLnBaZBsdcwv7Gm8ZB9UA0sLRwiHN0SPhWlAbH6PAPZC5eCBWjlAMEox559WNnxsOTZBVsGGJy7sAfCuppTpVyV5CmNnL49jtBFvqGWMERzEV9NZCJ9n2VkS5IxiYoWmmC2Hs4I&expires=5184000 http_version: - recorded_at: Fri, 13 Nov 2015 05:17:58 GMT + recorded_at: Mon, 04 Apr 2016 05:40:20 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAACQAVjtF8Y2YartRE5DS1jMme0DAZACCNsS5zOfZAcXptW37UqN2FqWsZA74bZBE1umuEjY0Jui5b1MH5AnKlGYhb2fObJF8kq0dCGNDdr0mTDWPMvc1HhuLue3qa4nHhZChWspQucVK1iZCIZCNkPqKEbn8BpmoSUZAIxl0e2X&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAClacgbtV4BizQN6zMm3pEH2GIJKazhFfwdLnBaZBsdcwv7Gm8ZB9UA0sLRwiHN0SPhWlAbH6PAPZC5eCBWjlAMEox559WNnxsOTZBVsGGJy7sAfCuppTpVyV5CmNnL49jtBFvqGWMERzEV9NZCJ9n2VkS5IxiYoWmmC2Hs4I&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - BAbR1mkIiVu + - HWxp9VEL7mv X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V2 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - e1bPhPoA3v0XFHbIPegiHiTaOAcyFzqoqTOwjRfHC1db4WZZ+bpu2eNDCB2C7y+rWsbu4PobmU4LHh5LKmbbpA== + - KrdlRSl+nkyZvEbDHOPH30sIfT4sK4WxnW2fnGNwpJCWz7PqHvn3FGbZzoyjcveTsbVR3UPc67LL96SkOeagqQ== Date: - - Fri, 13 Nov 2015 05:17:58 GMT + - Mon, 04 Apr 2016 05:40:21 GMT Connection: - keep-alive Content-Length: - - '377' + - '304' body: - encoding: UTF-8 - string: '{"code":"AQCUp4gY7mQfNFsD4GFqpUNy3p1bErmG-NhhhYi3AzEAFzer0HlERxVUWDdp3U7DlCW8XSzl2MJGy2j_-IQNJSrDeglh1RDXRA4c6GY2uDP2R3jmdlh5wR2boaWvY_t1gIvRRl-mGYMcloWeUoWy3lyFg6g6PrzoW5sRpPhkinvc_qsZakmO_4hsn40uzQRG1XoM4OK8vDs3IP0uIpGPXocgUEfX432Uj0GrLVxNqOaRsM6qXgZTWlsdDb5EaDw6-Gd44bH1OKp_C-dx8eEGaE_5dtr9ew4cQgiAFn6NBr5cbuo08rd4TWGOaeehLac85mWwn9eVPWDdp-ZN3hzfyH56qpOKtVwLTqTdrHxSaw0jlA"}' + encoding: ASCII-8BIT + string: '{"code":"AQAbBCKpUb1xYLQIVS7FerQAwnSq1BGEqUdye7g9lWz1GtgDHWiHlM-rGxqS6qbF5ykhyAekMgDHEJEB5nHHf0sjVaCTGwkvsbnkwzJ8c9VPMmovyiMnjV5F3gL0SKuTrPSngswTwbwTfYmCrGmW5RzyZmgxYV5rmp5f2MsWL43fFYiJUvns6jW0v0KtbxoCRJphFwisb6UmipAenh1hN70dIia2lBzBFUH7FyxyEiZunN0QBkorkboYWJVIk4aKX6kKfOLkaWYsl7ZXUSjGsW7oAz7Frknkf01fnkVQfJ9t_ffScqVghNOLjl1v-fbYo-E"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:17:58 GMT + recorded_at: Mon, 04 Apr 2016 05:40:21 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQCUp4gY7mQfNFsD4GFqpUNy3p1bErmG-NhhhYi3AzEAFzer0HlERxVUWDdp3U7DlCW8XSzl2MJGy2j_-IQNJSrDeglh1RDXRA4c6GY2uDP2R3jmdlh5wR2boaWvY_t1gIvRRl-mGYMcloWeUoWy3lyFg6g6PrzoW5sRpPhkinvc_qsZakmO_4hsn40uzQRG1XoM4OK8vDs3IP0uIpGPXocgUEfX432Uj0GrLVxNqOaRsM6qXgZTWlsdDb5EaDw6-Gd44bH1OKp_C-dx8eEGaE_5dtr9ew4cQgiAFn6NBr5cbuo08rd4TWGOaeehLac85mWwn9eVPWDdp-ZN3hzfyH56qpOKtVwLTqTdrHxSaw0jlA&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQAbBCKpUb1xYLQIVS7FerQAwnSq1BGEqUdye7g9lWz1GtgDHWiHlM-rGxqS6qbF5ykhyAekMgDHEJEB5nHHf0sjVaCTGwkvsbnkwzJ8c9VPMmovyiMnjV5F3gL0SKuTrPSngswTwbwTfYmCrGmW5RzyZmgxYV5rmp5f2MsWL43fFYiJUvns6jW0v0KtbxoCRJphFwisb6UmipAenh1hN70dIia2lBzBFUH7FyxyEiZunN0QBkorkboYWJVIk4aKX6kKfOLkaWYsl7ZXUSjGsW7oAz7Frknkf01fnkVQfJ9t_ffScqVghNOLjl1v-fbYo-E&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - HSKclaH5r5l + - A60BVEVMGfw X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - 4aC1wmUepd/KsKOa/cNsUsQVWBb1M/KjNKcPdOJvoe8yLdamCUmyZ5VDVatsgq2X9eCIt/K7EaVWiu0g+cSiTg== + - 8DxIPGO5HUkLiJgk/Mq8TjtfUosYdAZCUEzIbJGewCDd6v0ZvcJIUvZdAaFxSQ7f5ZtYpo4c3zECRv2XqE32iA== Date: - - Fri, 13 Nov 2015 05:17:58 GMT + - Mon, 04 Apr 2016 05:40:21 GMT Connection: - keep-alive Content-Length: - - '276' + - '248' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBACjYrQAwLwO9Wjc4IeNz89UdZCG72F6nrRY7XaYDU0KTnFavrGC1ySfpDZCNqGnX4F0fMqvB5UNEZAKoWyNXZCDAXfD6aI5yBcNghH91HZCysF1csV3MDZA32bY5QbamCwp5r6c1X3SlNDFM19qzNCkySvAkBn22UjivCzacs3HUEoxCIV33IZD","machine_id":"hnJFVtpujJetBlcxZNFUEeYG","expires_in":5184000}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAJyYD1ugGCSXQl9rrhv0DMgQX6xadmYJPMhDCNoWr0Q0n7maP8nrPellLd4u9M5OyfQxuOjMNqUoPMuDHchlFtELPjzZAiEjwyXRFJFFgFTt4cu7iar0yKPPXHiTglx1ZA4XkJepJu4i9taF0Yi6APnj9B6KISUb92rxaG","machine_id":"Rf4BV8rRDlOv69Uflr8fYMfy","expires_in":5183999}' http_version: - recorded_at: Fri, 13 Nov 2015 05:17:58 GMT + recorded_at: Mon, 04 Apr 2016 05:40:21 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBACjYrQAwLwO9Wjc4IeNz89UdZCG72F6nrRY7XaYDU0KTnFavrGC1ySfpDZCNqGnX4F0fMqvB5UNEZAKoWyNXZCDAXfD6aI5yBcNghH91HZCysF1csV3MDZA32bY5QbamCwp5r6c1X3SlNDFM19qzNCkySvAkBn22UjivCzacs3HUEoxCIV33IZD&appsecret_proof=5e295c49dd502cdc53fd6face957993ce82ac01e6ba9d8fc062444a632ae6c10 + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBAJyYD1ugGCSXQl9rrhv0DMgQX6xadmYJPMhDCNoWr0Q0n7maP8nrPellLd4u9M5OyfQxuOjMNqUoPMuDHchlFtELPjzZAiEjwyXRFJFFgFTt4cu7iar0yKPPXHiTglx1ZA4XkJepJu4i9taF0Yi6APnj9B6KISUb92rxaG&appsecret_proof=bbc03e11525753a8bbb572c586e886a4092ccf2909c3d1e406fefcef92170753 body: encoding: US-ASCII string: '' @@ -279,9 +272,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - GEDsmZuufg3 + - CNHuylvzW3D X-Fb-Rev: - - '2041018' + - '2263582' Etag: - '"65db2e6f820eca71267c2e168f9ad407ff9c792d"' Pragma: @@ -289,16 +282,13 @@ http_interactions: Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - q+bnlIgl50aQMh8ftJ1HW2HxyAjLEKXAu+gGAVVHk+4hopRaFPe/IumigRq2Sh+P0Es3SEwH6aGuQa8WB4sC9Q== + - fMfwZj7Hv/B4Gg14+vmMtouCS+bmqliRvv2g5N6KhaLY24oB3wGCmC2ifK0Lzo8MiN6U/9LKvRTkXAtpS3350w== Date: - - Fri, 13 Nov 2015 05:17:59 GMT + - Mon, 04 Apr 2016 05:40:23 GMT Connection: - keep-alive Content-Length: @@ -307,5 +297,5 @@ http_interactions: encoding: UTF-8 string: '{"data":[],"summary":{"total_count":0}}' http_version: - recorded_at: Fri, 13 Nov 2015 05:17:59 GMT + recorded_at: Mon, 04 Apr 2016 05:40:23 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_without_a_photo.yml b/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_without_a_photo.yml index 505499c..200e93c 100644 --- a/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_without_a_photo.yml +++ b/spec/vcr/requests/api/users/with_facebook/when_the_user_already_exists/updates_the_user_without_a_photo.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - F9aDbT2U6mk + - HnQnd5fmapW X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - leL7JzTsCpyWimfhjCHiUIwQ5bK7ZiaG7EyxO3hImAtsFP6U3Uy9Nd1UeycRBJPR2mohxgRT7QyGKwAQl2No+w== + - Y8HlIlXISeByXbZ5wHXHvQflw6pl/Gbxi/cViT3iwhBHL4sQvNTOEoLl5qhoZYjzydTe/5b1lVeP8WdC7GIVvA== Date: - - Fri, 13 Nov 2015 05:18:09 GMT + - Mon, 04 Apr 2016 05:38:24 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 13 Nov 2015 05:18:09 GMT + recorded_at: Mon, 04 Apr 2016 05:38:24 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - H9Vl/RPGgUR + - EpLXjHCJmxB X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - WzVXcuLrUie/dSxmhTL1MSeiNeiNWQSzRwYL+/EpggFWZaNzneFF7DsgK2Aa9KFQNRXm62eY9SESJ1BQ71MIVA== + - RciTMhXd007aVLmmsngORg7hspK87FMZSnFv7JfbOSpdFKmxegT2FpipkVt/FZqdv2cBksfvdbN5b+WwkW8Www== Date: - - Fri, 13 Nov 2015 05:18:12 GMT + - Mon, 04 Apr 2016 05:38:25 GMT Connection: - keep-alive Content-Length: - - '422' + - '356' body: - encoding: UTF-8 - string: '{"id":"113427955688735","access_token":"CAALtYNTjIPsBADd38m00uIvOchWf12VqyMzbXtdkqCkqL96gNdeuBtaLEIVbR7rb6QkXWkRUpJy7aKRkuFfqc7ym0RvTcZAQlnO3p47uHMVH7VVxhBKsJnVEwbqxplZApmzIgGJq9LaFyZCBdnshtXHZBZCljlWTKBbOYe3F1dV6pSbTTAl6kevEH8FdNLDRQ7O3eoWWj1gZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/113427955688735\/","email":"npwybuj_ricesen_1447391890\u0040tfbnw.net","password":"1476919984"}' + encoding: ASCII-8BIT + string: '{"id":"108797196189007","access_token":"CAACYW4eNO3YBAJej6RYZB1xWusc5GEXKRItseac5F6CvtSlqJYE7bFFPERXorKgFIw09IkAzAL3xBVgPbtgiAJROuz28lBLYFwIDAHw2FzXY98t5wZB9WlPxfLC7I0HBZC4N92gmZBpkEsZCEXAJne5ankobgkEC3kMnOPwBqTCAraxZANYGRDKUzQvKXKOaoZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/108797196189007\/","email":"stzsyik_occhinowitz_1459748304\u0040tfbnw.net","password":"1399032865"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:18:12 GMT + recorded_at: Mon, 04 Apr 2016 05:38:25 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBADd38m00uIvOchWf12VqyMzbXtdkqCkqL96gNdeuBtaLEIVbR7rb6QkXWkRUpJy7aKRkuFfqc7ym0RvTcZAQlnO3p47uHMVH7VVxhBKsJnVEwbqxplZApmzIgGJq9LaFyZCBdnshtXHZBZCljlWTKBbOYe3F1dV6pSbTTAl6kevEH8FdNLDRQ7O3eoWWj1gZDZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBAJej6RYZB1xWusc5GEXKRItseac5F6CvtSlqJYE7bFFPERXorKgFIw09IkAzAL3xBVgPbtgiAJROuz28lBLYFwIDAHw2FzXY98t5wZB9WlPxfLC7I0HBZC4N92gmZBpkEsZCEXAJne5ankobgkEC3kMnOPwBqTCAraxZANYGRDKUzQvKXKOaoZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - H/4jurOJnoi + - Azl/A2Dt6q3 X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - bXMwlMHEEeEvnl14pPblDBRgXYtGkHVCFaiGVRE0qm9aVNoYybndtlz40Y7Ms76t40PPtbrWBZKRLt/l7qhuXA== + - MYh+HDWSgp/qie0igU1bOaukBB0O79yL8d6LoLKrOWuVB2HpkM6OFLTg6QyO/UvGSH3rJfCWnZ2hGziq/zGhtQ== Date: - - Fri, 13 Nov 2015 05:18:12 GMT + - Mon, 04 Apr 2016 05:38:26 GMT Connection: - keep-alive Content-Length: - - '223' + - '222' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAEJ8FEdky4Uuxj2aRAZCMbSJE5T1KEmccgJ5ZAqS5yuW5DqzDfJddC39FcxmkvTbBYUy046WuuhdC4gahhaQFXniDGe5L1yZCvnYxEC2tq16FUe1wZAwtmqwxpFcQ7MoMg1q1fBFpNcxiiE2otwPkGFI0gmOYzEbBDpz0k9LLq96ziepbqAZD&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAAnEzsHlyVN6ZAaYgetJqwGy4teNZCziqbGDzxpZBLPZB8v2mYjqjJCDJU0v8CZAKJZA9I2DdEqiC4HCwomLZCHjcCgOQ69ZCtjov6TzB6ZAkscBLJwhZBSu9eWB8xSmVuAEXaTSgCbgIe2kuIW3bMjhZCoeGLOQ4pCvbBI9dAI0niLMWLmlcfOBPMZD&expires=5184000 http_version: - recorded_at: Fri, 13 Nov 2015 05:18:12 GMT + recorded_at: Mon, 04 Apr 2016 05:38:26 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBAEJ8FEdky4Uuxj2aRAZCMbSJE5T1KEmccgJ5ZAqS5yuW5DqzDfJddC39FcxmkvTbBYUy046WuuhdC4gahhaQFXniDGe5L1yZCvnYxEC2tq16FUe1wZAwtmqwxpFcQ7MoMg1q1fBFpNcxiiE2otwPkGFI0gmOYzEbBDpz0k9LLq96ziepbqAZD&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAAnEzsHlyVN6ZAaYgetJqwGy4teNZCziqbGDzxpZBLPZB8v2mYjqjJCDJU0v8CZAKJZA9I2DdEqiC4HCwomLZCHjcCgOQ69ZCtjov6TzB6ZAkscBLJwhZBSu9eWB8xSmVuAEXaTSgCbgIe2kuIW3bMjhZCoeGLOQ4pCvbBI9dAI0niLMWLmlcfOBPMZD&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - EZeuR5DQsHs + - FnDyMiP8P1r X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - owISTQE4JqnBxesiUZrPot9z/RkeEQRVhY7S0wCP0hGUPSLd4SvHnUuv9VNeRADMGII5itV3AjgfTtxPyZjeYQ== + - oclFFZRE/PfvJkp7lMfr5gDQfPFp2vXcfZQvf7dhviqputl9WRP0tdurXpK3WIGTq1u+2haak00JxXEVcH7qKQ== Date: - - Fri, 13 Nov 2015 05:18:12 GMT + - Mon, 04 Apr 2016 05:38:26 GMT Connection: - keep-alive Content-Length: - - '377' + - '303' body: - encoding: UTF-8 - string: '{"code":"AQCyvbjP-cBWjN-2NlPKVRdXXFsXP-94LL2rzJ2Q8C4sVidagQw0Z7NnWmkp_lqjnCwyBQASM9GIZXmD6Pk-tKMqEMzfqodH5ojleEavdDQgAgmqyABHIXBPm_nSncXemSl8MH5o8FFyMd3VAJKi9sUPqM5j4ktsaHb9fQKvHFALk3-Vew71G5AsvuK80rWOg4IAFDrmDvrcXqHNKMIZjdp4ezIGA7shI-l67JGGzsHPjxaKO5YS3NqB--TUoBFvwcW2K03IfbtTHmhulOB7V_B1fkTiUhb6kv8HRdZI9-f0YWA-s4Xn0JvRQFQtSXB4PYKCBpPdLk_Tu8xNUghxFmtc4rMhjbex2f8dov7uFX9msA"}' + encoding: ASCII-8BIT + string: '{"code":"AQCLAa34n2x8tG8NB9oRarpCK_9WMayGPpzb_iiyl-OhzC7P7dL2-4xp16qPZg4tkbkKBhw92PgS_tP8RkJxsVpN94CPQoBzAjN8xVBB90xNLLAXlcFKwWjdGfqpvg1FtA6K73cwDlKKdoFl99F7MzJ00dbaxX1nFPH0c6_RQ-HXJ54lesePe9AMGd3C7jYMsUW7wyGqmvWVge3QL0fgkpA5ZwUXkeWXN7Bd3FJCqfVms_ExFGjJmuWiv01aPnDuByTm3DzLLBV8EFjQ7fGAsci8C9XFWCOy8Mh4Q0q31GEo0A2laUx0aq_aGzVhpaGtSEE"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:18:12 GMT + recorded_at: Mon, 04 Apr 2016 05:38:26 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQCyvbjP-cBWjN-2NlPKVRdXXFsXP-94LL2rzJ2Q8C4sVidagQw0Z7NnWmkp_lqjnCwyBQASM9GIZXmD6Pk-tKMqEMzfqodH5ojleEavdDQgAgmqyABHIXBPm_nSncXemSl8MH5o8FFyMd3VAJKi9sUPqM5j4ktsaHb9fQKvHFALk3-Vew71G5AsvuK80rWOg4IAFDrmDvrcXqHNKMIZjdp4ezIGA7shI-l67JGGzsHPjxaKO5YS3NqB--TUoBFvwcW2K03IfbtTHmhulOB7V_B1fkTiUhb6kv8HRdZI9-f0YWA-s4Xn0JvRQFQtSXB4PYKCBpPdLk_Tu8xNUghxFmtc4rMhjbex2f8dov7uFX9msA&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQCLAa34n2x8tG8NB9oRarpCK_9WMayGPpzb_iiyl-OhzC7P7dL2-4xp16qPZg4tkbkKBhw92PgS_tP8RkJxsVpN94CPQoBzAjN8xVBB90xNLLAXlcFKwWjdGfqpvg1FtA6K73cwDlKKdoFl99F7MzJ00dbaxX1nFPH0c6_RQ-HXJ54lesePe9AMGd3C7jYMsUW7wyGqmvWVge3QL0fgkpA5ZwUXkeWXN7Bd3FJCqfVms_ExFGjJmuWiv01aPnDuByTm3DzLLBV8EFjQ7fGAsci8C9XFWCOy8Mh4Q0q31GEo0A2laUx0aq_aGzVhpaGtSEE&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - BlEQ/MPhDnJ + - HCdhamS4raa X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - 9/SuKxwenl3MugkZrx47KnNUuO86bZitKNDb7DC7CZIWXf4hYWmMuvp4XuSOqbTtCqcg6oq70JbQF7+/jRpPSw== + - 7cUxo0lu879bYzqzuApdQnAw5/NswIdUeLjNKpZeVtwKAiU7gt6VaHDHKUCe0oIbnRZcvBbCr7RDz5xAMQgMtw== Date: - - Fri, 13 Nov 2015 05:18:12 GMT + - Mon, 04 Apr 2016 05:38:26 GMT Connection: - keep-alive Content-Length: - - '279' + - '263' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBAJ81VggwR8NZC72cf8ZARz0qZBOxqCirhrwrDsdkclwhRPqrTiZCtPmzdlJDzGuvnQZBryEBeZADduGS8PmvbyCVLIZA46xVk3AfzUg4BH6XLVOb0qEwG3bUAuTDVcfj8eL5kTgErReD34IVLpyGZAPwMLZCuPirBwpDLXRtqSBOPc5ASPhWvCloZD","machine_id":"lHJFVp-gYIY4vSC4QZ5DnodR","expires_in":5184000}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBAFEdiIUCqtVfCnDrYy052cSAiVUGPKZAP0SZA7rChDKSkDUbZA7wJQA71ZB28fpU3fBLUaJvTzq6dmZB9DT0IznLiPhx0m7ZCwbRpdHo8fYjdeq4bf6o6b6cZAcH1iNgSlHFSO492HHbyE4Wx4VZCISgiGKeIh6Dq7zud6SKW2ONsoOkOWBUF40ZD","machine_id":"0v0BV7wApgnUh-8hitC_nUpJ","expires_in":5184000}' http_version: - recorded_at: Fri, 13 Nov 2015 05:18:13 GMT + recorded_at: Mon, 04 Apr 2016 05:38:26 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBAJ81VggwR8NZC72cf8ZARz0qZBOxqCirhrwrDsdkclwhRPqrTiZCtPmzdlJDzGuvnQZBryEBeZADduGS8PmvbyCVLIZA46xVk3AfzUg4BH6XLVOb0qEwG3bUAuTDVcfj8eL5kTgErReD34IVLpyGZAPwMLZCuPirBwpDLXRtqSBOPc5ASPhWvCloZD&appsecret_proof=33b33a8e6a40dd69cebe5db41c08ed2e44592754ee5ba16634bbc39012b1a963 + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBAFEdiIUCqtVfCnDrYy052cSAiVUGPKZAP0SZA7rChDKSkDUbZA7wJQA71ZB28fpU3fBLUaJvTzq6dmZB9DT0IznLiPhx0m7ZCwbRpdHo8fYjdeq4bf6o6b6cZAcH1iNgSlHFSO492HHbyE4Wx4VZCISgiGKeIh6Dq7zud6SKW2ONsoOkOWBUF40ZD&appsecret_proof=1bc20b66dfb1fd9c13c3f9092f55ef5a2fac7115e3f3746607d1e6bc1108c670 body: encoding: US-ASCII string: '' @@ -279,9 +272,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - H5lnsjbL10A + - CLeB/vENv5v X-Fb-Rev: - - '2041018' + - '2263582' Etag: - '"65db2e6f820eca71267c2e168f9ad407ff9c792d"' Pragma: @@ -289,16 +282,13 @@ http_interactions: Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - XxzYyV2MrtOR2ZOpHDXPfnkmozLKPHqchR6lKJ43/Uwlt0HRqeKo/+nB+a//adXBLFpb902zG4SA0P8+qvT+Xw== + - 73Euc0W8Vq6JaYSOJDk1BJ+71ptsoI4SzYKMLDjolQ7kxAPtFnz4+hTQHruwmDDHwk8TVhOtHgP4wzxNPPF1yA== Date: - - Fri, 13 Nov 2015 05:18:13 GMT + - Mon, 04 Apr 2016 05:38:27 GMT Connection: - keep-alive Content-Length: @@ -307,10 +297,10 @@ http_interactions: encoding: UTF-8 string: '{"data":[],"summary":{"total_count":0}}' http_version: - recorded_at: Fri, 13 Nov 2015 05:18:13 GMT + recorded_at: Mon, 04 Apr 2016 05:38:27 GMT - request: method: get - uri: https://graph.facebook.com/me/picture?access_token=CAALtYNTjIPsBAJ81VggwR8NZC72cf8ZARz0qZBOxqCirhrwrDsdkclwhRPqrTiZCtPmzdlJDzGuvnQZBryEBeZADduGS8PmvbyCVLIZA46xVk3AfzUg4BH6XLVOb0qEwG3bUAuTDVcfj8eL5kTgErReD34IVLpyGZAPwMLZCuPirBwpDLXRtqSBOPc5ASPhWvCloZD&appsecret_proof=33b33a8e6a40dd69cebe5db41c08ed2e44592754ee5ba16634bbc39012b1a963&type=large + uri: https://graph.facebook.com/me/picture?access_token=CAACYW4eNO3YBAFEdiIUCqtVfCnDrYy052cSAiVUGPKZAP0SZA7rChDKSkDUbZA7wJQA71ZB28fpU3fBLUaJvTzq6dmZB9DT0IznLiPhx0m7ZCwbRpdHo8fYjdeq4bf6o6b6cZAcH1iNgSlHFSO492HHbyE4Wx4VZCISgiGKeIh6Dq7zud6SKW2ONsoOkOWBUF40ZD&appsecret_proof=1bc20b66dfb1fd9c13c3f9092f55ef5a2fac7115e3f3746607d1e6bc1108c670&type=large body: encoding: US-ASCII string: '' @@ -331,26 +321,23 @@ http_interactions: Content-Type: - image/jpeg X-Fb-Trace-Id: - - Doo2lYEE7YC + - EsmgjjGaV5p X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Location: - - https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oh=3fa29a859650d406793272ee7cff2a64&oe=56EFB3F8&__gda__=1455221573_6477bec455ae3b8d4a2f6cbce7a0a1d8 + - https://scontent.xx.fbcdn.net/hprofile-xla1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oh=9150cbf58c5080ca35231bbe8ba24d73&oe=578DE7F8 Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - m1SXpILZI67zN2dt16Qk8/0BsuGW1C308uTurGiXFMIzYBx1sjc2SuY9afIOnbV1UU2vLOk90xtreOQyZYSotg== + - UJyW7/4CQsbmlzQqaMl5hDRnVGM0R3eLaDxKS0IjEKQ5SVR2YkHQfmQjyG6ylpZMY4fmdt6jazjVnKyef+12kg== Date: - - Fri, 13 Nov 2015 05:18:13 GMT + - Mon, 04 Apr 2016 05:38:27 GMT Connection: - keep-alive Content-Length: @@ -359,10 +346,10 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Fri, 13 Nov 2015 05:18:13 GMT + recorded_at: Mon, 04 Apr 2016 05:38:27 GMT - request: method: get - uri: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xpa1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?__gda__=1455221573_6477bec455ae3b8d4a2f6cbce7a0a1d8&oe=56EFB3F8&oh=3fa29a859650d406793272ee7cff2a64 + uri: https://scontent.xx.fbcdn.net/hprofile-xla1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oe=578DE7F8&oh=9150cbf58c5080ca35231bbe8ba24d73 body: encoding: US-ASCII string: '' @@ -386,16 +373,16 @@ http_interactions: - "*" Access-Control-Allow-Origin: - "*" - Content-Length: - - '2155' - Cache-Control: - - no-transform, max-age=1209600 Expires: - - Fri, 27 Nov 2015 05:18:14 GMT + - Thu, 14 Apr 2016 19:35:18 GMT + Cache-Control: + - max-age=1209600, no-transform Date: - - Fri, 13 Nov 2015 05:18:14 GMT + - Mon, 04 Apr 2016 05:38:28 GMT Connection: - keep-alive + Content-Length: + - '2155' body: encoding: ASCII-8BIT string: !binary |- @@ -448,5 +435,5 @@ http_interactions: 8uhAsMvZs/GABNOi/HmgiEP3RKCVOqzjwK8IAEdeMkvdcBUUtxYKjTeAjoR5 vAmppTxZKiPfImHqfdFEdx+eoHad3w1cYZEs9MHwJ+nWN8IQ96v/2Q== http_version: - recorded_at: Fri, 13 Nov 2015 05:18:14 GMT + recorded_at: Mon, 04 Apr 2016 05:38:28 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/requests/api/users/with_facebook/when_the_user_does_not_already_exist/creates_a_user_without_a_photo.yml b/spec/vcr/requests/api/users/with_facebook/when_the_user_does_not_already_exist/creates_a_user_without_a_photo.yml index 37a6563..c799a80 100644 --- a/spec/vcr/requests/api/users/with_facebook/when_the_user_does_not_already_exist/creates_a_user_without_a_photo.yml +++ b/spec/vcr/requests/api/users/with_facebook/when_the_user_does_not_already_exist/creates_a_user_without_a_photo.yml @@ -5,7 +5,7 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - Faraday v0.9.2 @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - FfPTSgtqccS + - HQ4hfk3ioGk X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,28 +36,25 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - cM6mCH//v6s5dXRnS4JUvnBOX6Cpb/DmHT9byK1MVDe7eaHyH+JNko1mNZuunblTVbp6200XwNLpFVZISYayXQ== + - pqkVPH+xWvOanh8YngloOnJl0e3GPHjoEyb7YuwI9G3hvgRNe9cYRovjzMlIHqW20ACymOH6Y2VlxkXmmwMnKg== Date: - - Fri, 13 Nov 2015 05:02:51 GMT + - Mon, 04 Apr 2016 05:39:11 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:51 GMT + recorded_at: Mon, 04 Apr 2016 05:39:11 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - Faraday v0.9.2 @@ -77,39 +74,38 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - BkgSlFSHUL1 + - FkHKKJCbl7A X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - sQfdsrD0NK69uwG0XJvV/DaVN91ueZqVC1pConGN0HpSByJ5DzFiwUsKci0bilyQyovNC8cKrhWLwdI2jyNE+A== + - 7LVUv6KavSHJ8UsMDtU2SuAMPCnmpVyfwrlv0ajMAF8Ct+LSrZUxnd3SAuQCgbfQ78Uc5Vw0LY9NTd/I0j+2BQ== Date: - - Fri, 13 Nov 2015 05:02:53 GMT + - Mon, 04 Apr 2016 05:39:12 GMT Connection: - keep-alive Content-Length: - - '412' + - '366' body: - encoding: UTF-8 - string: '{"id":"112521462446167","access_token":"CAALtYNTjIPsBAP6RP9eaedoNhjCIVbMZCcZBEhHlCL6YDZBZBJP1vNNtpkT3xLyr1bcKLi7qXK53mlYP5Kfu9ZCyGMnVNRxT0nBM9wQjgIq4BcJLGzWIkGdV43BYE9o10IMALd1zTfeVbp42OYRA7aIjDzxieoWMZAIva9vYZAmQa7wTVVPIKbxj2ZCiFHzM0ysZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/112521462446167\/","email":"pspaqzi_smithson_1447390971\u0040tfbnw.net","password":"517486666"}' + encoding: ASCII-8BIT + string: '{"id":"123352424730298","access_token":"CAACYW4eNO3YBANvxesLLqn8JZCoqAVcKgmJEnZB7WT4Ij7UmUoQsetwahyL2Rq3PVFZAm2Pk1Lok4hZBtWwCZAzqNtE5ilZAUHy9soZAOwsqeNTn6ZB7PubZBZCLZCzgXNyFWokDRup2tG6fnAXuWY9VBzzolKdYEeMUDSLjRtXjkbZCBo2ARl2o4nxEseVgGgu2zw7L6TNLyPUDJgZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/123352424730298\/","email":"rerbjec_panditsen_1459748351\u0040tfbnw.net","password":"172164624"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:53 GMT + recorded_at: Mon, 04 Apr 2016 05:39:12 GMT - request: method: post uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&fb_exchange_token=CAALtYNTjIPsBAP6RP9eaedoNhjCIVbMZCcZBEhHlCL6YDZBZBJP1vNNtpkT3xLyr1bcKLi7qXK53mlYP5Kfu9ZCyGMnVNRxT0nBM9wQjgIq4BcJLGzWIkGdV43BYE9o10IMALd1zTfeVbp42OYRA7aIjDzxieoWMZAIva9vYZAmQa7wTVVPIKbxj2ZCiFHzM0ysZD&grant_type=fb_exchange_token + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&fb_exchange_token=CAACYW4eNO3YBANvxesLLqn8JZCoqAVcKgmJEnZB7WT4Ij7UmUoQsetwahyL2Rq3PVFZAm2Pk1Lok4hZBtWwCZAzqNtE5ilZAUHy9soZAOwsqeNTn6ZB7PubZBZCLZCzgXNyFWokDRup2tG6fnAXuWY9VBzzolKdYEeMUDSLjRtXjkbZCBo2ARl2o4nxEseVgGgu2zw7L6TNLyPUDJgZDZD&grant_type=fb_exchange_token headers: User-Agent: - Faraday v0.9.2 @@ -129,9 +125,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - EQZD0dQygvQ + - ETZRQRPYBTe X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -140,25 +136,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - IyM0I6WEsLp1iUGxg0eCO91btiQtkXytPpSIaiOblx6opUF9kWWj7iU7SawY5olb5iNTZoYuYyzAMiqMjGNmAw== + - uCC6RDgVCueAaDLKvOdpXr7Ru1kg1AEp97BuQYwFxxbYDCVpu9xGEJIUzrXDQC3THiWGEK0/YwnAQ5c71jHMXw== Date: - - Fri, 13 Nov 2015 05:02:53 GMT + - Mon, 04 Apr 2016 05:39:12 GMT Connection: - keep-alive Content-Length: - - '231' + - '207' body: - encoding: UTF-8 - string: access_token=CAALtYNTjIPsBABT0nKAtxzTyMM1d1SZCiZCQ5yUXpaom0luiHICjecIz5ZAwdSbZBUXudEngZA23gqZBsZCfSqepSXoZBot2Tmz6XDh8W5aQqH3os3ttfqZB69HgHOLUY5LZBkkaRFWkxURhHqZBGC1vAFmoB7U5yTZAQTmbLUzS0Au62EOaS6WCXHrHVUk9z0vo1gcZD&expires=5184000 + encoding: ASCII-8BIT + string: access_token=CAACYW4eNO3YBAMOggc6eRjAhu7HaFfuTE5ODZBhO875pvE1EwZA13TUNONwirogbvlNh2yrIuZCcXvk7LptrfH2Duu5uC0Hgiwiyy5mg7QVFRvclT3yPFVY4u7SIhVv0hIZALzAxc4jHAfQGlUFGkuzE8lJtidWP2J0O7eqGGVIbVq0Fxmhw&expires=5184000 http_version: - recorded_at: Fri, 13 Nov 2015 05:02:53 GMT + recorded_at: Mon, 04 Apr 2016 05:39:12 GMT - request: method: get - uri: https://graph.facebook.com/oauth/client_code?access_token=CAALtYNTjIPsBABT0nKAtxzTyMM1d1SZCiZCQ5yUXpaom0luiHICjecIz5ZAwdSbZBUXudEngZA23gqZBsZCfSqepSXoZBot2Tmz6XDh8W5aQqH3os3ttfqZB69HgHOLUY5LZBkkaRFWkxURhHqZBGC1vAFmoB7U5yTZAQTmbLUzS0Au62EOaS6WCXHrHVUk9z0vo1gcZD&client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/client_code?access_token=CAACYW4eNO3YBAMOggc6eRjAhu7HaFfuTE5ODZBhO875pvE1EwZA13TUNONwirogbvlNh2yrIuZCcXvk7LptrfH2Duu5uC0Hgiwiyy5mg7QVFRvclT3yPFVY4u7SIhVv0hIZALzAxc4jHAfQGlUFGkuzE8lJtidWP2J0O7eqGGVIbVq0Fxmhw&client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -179,9 +174,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - DEqZi4vgoLH + - HVwKjq1kzmR X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -190,25 +185,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - NlBZwypm/2s21lvlvyRcOkg6dnKcoHWYbGEPYM+OzjU5143ZC4CBfJwTaFY3GZmczOKdWgyykZeIwZknW+Vugw== + - cz/DH/SQYxIVbII3krm00trJ3I+w7ZVhUtBsPayzu5o21CkVMqTRJvLC9cRpPQ5QEq16JEtSMjlADbFNf9pi1A== Date: - - Fri, 13 Nov 2015 05:02:53 GMT + - Mon, 04 Apr 2016 05:39:13 GMT Connection: - keep-alive Content-Length: - - '377' + - '303' body: - encoding: UTF-8 - string: '{"code":"AQAZ7t061R317DFGdmV8Iao2UXRVGcYpkfo-zDSCWzLdIE_JN0kUleuzK4Uqy1whXOLO-tfPp2UhS6YfB3kTUn7XN-F7VxBHpu6c8W8y5xWHVdW6QvMQD4KJrfmkUduLk6wRJnRfxDO0CUD69RXAxwsAaEhm5z-lWZRnx7FRlLxGSIB05hfzUACkFqqM_U0xScCPGsdOZW0onHX6Nq76qR7TOZHLoDSqEyyukR5A4UhD8IJBUwOlwfpvVKSyoOng2gJzpMuVwWr87LyWiqa95vm2OBcHVByH03C6ECsa4zh3BBYaFixVmun6wbkGSaRn2SAtanq9TgNcfXoPuEBLR1trVCKMZ9SKOwLww6QFD4MT3w"}' + encoding: ASCII-8BIT + string: '{"code":"AQAPmYAF6bGKVLsyj7MWpbVubjbhylzqaI8MCNPTODCqSPvXU75MkFVzhHu9qbBxSOKP2eboIgC70G147lIZ6uxfloXV_cIX6Xjk4mZqe5oF41BWL2lmOia6fc63-IySpjsYW2xDHNbbKDhv1NDgaD1h3US5xQnQxMh4FUqWUfvRl47kShNRvGQrNQgYH1Bc4zaLig_RqOrK2j2r_9tQ5zjlJn3c30XHRJkISTJhHbMRhWSwn-ysqnMlT6LTmqVC-3iszYpMljkJMVA4OnSoEsmqaYJHnGj5CMYdzfcvKRE31cxD55winVkchhUWL0x1dKw"}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:53 GMT + recorded_at: Mon, 04 Apr 2016 05:39:13 GMT - request: method: get - uri: https://graph.facebook.com/oauth/access_token?client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&code=AQAZ7t061R317DFGdmV8Iao2UXRVGcYpkfo-zDSCWzLdIE_JN0kUleuzK4Uqy1whXOLO-tfPp2UhS6YfB3kTUn7XN-F7VxBHpu6c8W8y5xWHVdW6QvMQD4KJrfmkUduLk6wRJnRfxDO0CUD69RXAxwsAaEhm5z-lWZRnx7FRlLxGSIB05hfzUACkFqqM_U0xScCPGsdOZW0onHX6Nq76qR7TOZHLoDSqEyyukR5A4UhD8IJBUwOlwfpvVKSyoOng2gJzpMuVwWr87LyWiqa95vm2OBcHVByH03C6ECsa4zh3BBYaFixVmun6wbkGSaRn2SAtanq9TgNcfXoPuEBLR1trVCKMZ9SKOwLww6QFD4MT3w&redirect_uri=http://localhost:3000/ + uri: https://graph.facebook.com/oauth/access_token?client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&code=AQAPmYAF6bGKVLsyj7MWpbVubjbhylzqaI8MCNPTODCqSPvXU75MkFVzhHu9qbBxSOKP2eboIgC70G147lIZ6uxfloXV_cIX6Xjk4mZqe5oF41BWL2lmOia6fc63-IySpjsYW2xDHNbbKDhv1NDgaD1h3US5xQnQxMh4FUqWUfvRl47kShNRvGQrNQgYH1Bc4zaLig_RqOrK2j2r_9tQ5zjlJn3c30XHRJkISTJhHbMRhWSwn-ysqnMlT6LTmqVC-3iszYpMljkJMVA4OnSoEsmqaYJHnGj5CMYdzfcvKRE31cxD55winVkchhUWL0x1dKw&redirect_uri=http://api.lvh.me:5000 body: encoding: US-ASCII string: '' @@ -229,9 +223,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - B1MVcoEEzOw + - DoX/2DMPJof X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Cache-Control: @@ -240,25 +234,24 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - eGHsTPjKQ7b91pBlNNQ4tNkir9SkCxEL018Zt7HFNZbHgcdXWfyVDaNmdUE3dFGaK0Q2gSXEHxcAVfChVQA3TQ== + - KmLhscbwwkqpzM112rutZgBj3XWLoZ2+RL2hPHaTeRbn7FLlQ2CxGH5ooqUW3Pw7w0nHMZ4D4brMIKCdfbejQA== Date: - - Fri, 13 Nov 2015 05:02:53 GMT + - Mon, 04 Apr 2016 05:39:13 GMT Connection: - keep-alive Content-Length: - - '274' + - '253' body: - encoding: UTF-8 - string: '{"access_token":"CAALtYNTjIPsBADOkamTQiTpGlu1zfsshtAFWlRZA98bohTXIDjJRn3ZCPcYKRNFMACPIZAb701U4kIUQTGZASJzG4qyfJ7erJu1FYv0CrGgteuvbBbs52rEJHqpF8yoglkl8exrng5WdQqRYotKfbVtzRCaBhm4Tt6pf1jt9TztbQUY7wtWsasKUnV6LVucZD","machine_id":"_W5FViXgqmD3IsCMdUt_O5cS","expires_in":5184000}' + encoding: ASCII-8BIT + string: '{"access_token":"CAACYW4eNO3YBALOXgCGnSNwLJSUCnhr9dNjiwcpI18ydIL3FHwL2cEbNkRQ2PVpgx9LjphUmUSoZAZBJ1E8VBn3PnU5bi5rWaIJg7SuPVhyEyo6hwxZA88ZBUiWMZCJPZBnT5s8dRxsneNriXkW4jLhLzzrBZBvMv9d4MJsOoZBKZBPzqqwkZADMIX","machine_id":"Af4BV7SqtHuySyCRodplF8LN","expires_in":5183999}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:54 GMT + recorded_at: Mon, 04 Apr 2016 05:39:13 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBADOkamTQiTpGlu1zfsshtAFWlRZA98bohTXIDjJRn3ZCPcYKRNFMACPIZAb701U4kIUQTGZASJzG4qyfJ7erJu1FYv0CrGgteuvbBbs52rEJHqpF8yoglkl8exrng5WdQqRYotKfbVtzRCaBhm4Tt6pf1jt9TztbQUY7wtWsasKUnV6LVucZD&appsecret_proof=1b66259fad7c0c053e232879545e5fdc48299c08ae1e0c7c744bff014f3490de + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBALOXgCGnSNwLJSUCnhr9dNjiwcpI18ydIL3FHwL2cEbNkRQ2PVpgx9LjphUmUSoZAZBJ1E8VBn3PnU5bi5rWaIJg7SuPVhyEyo6hwxZA88ZBUiWMZCJPZBnT5s8dRxsneNriXkW4jLhLzzrBZBvMv9d4MJsOoZBKZBPzqqwkZADMIX&appsecret_proof=81aae68544e2c768ed27aa63b4cf53f567a7f8212f8ad4063826ad2b917eac20 body: encoding: US-ASCII string: '' @@ -279,9 +272,9 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - CkQjWRXZj2e + - GWyM/tQa/9t X-Fb-Rev: - - '2041018' + - '2263582' Etag: - '"65db2e6f820eca71267c2e168f9ad407ff9c792d"' Pragma: @@ -289,16 +282,13 @@ http_interactions: Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - PaV7wsZykMYqvo2pEbMR3Zh2NV9Ei9hla2bHCbBrd9+j0XQoBtlSIviOmy3p2TQltXqL06d7KcDBCgHTYcxlig== + - kyoyU84MRyJ/0qtVluA4dhghmyxk4CHMnA0lN9DKFBK4Zb1lurIGnl2YMQWC9k3PFfEIP3PRhPABPCTiUae+3Q== Date: - - Fri, 13 Nov 2015 05:02:54 GMT + - Mon, 04 Apr 2016 05:39:14 GMT Connection: - keep-alive Content-Length: @@ -307,10 +297,10 @@ http_interactions: encoding: UTF-8 string: '{"data":[],"summary":{"total_count":0}}' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:54 GMT + recorded_at: Mon, 04 Apr 2016 05:39:14 GMT - request: method: get - uri: https://graph.facebook.com/me/picture?access_token=CAALtYNTjIPsBADOkamTQiTpGlu1zfsshtAFWlRZA98bohTXIDjJRn3ZCPcYKRNFMACPIZAb701U4kIUQTGZASJzG4qyfJ7erJu1FYv0CrGgteuvbBbs52rEJHqpF8yoglkl8exrng5WdQqRYotKfbVtzRCaBhm4Tt6pf1jt9TztbQUY7wtWsasKUnV6LVucZD&appsecret_proof=1b66259fad7c0c053e232879545e5fdc48299c08ae1e0c7c744bff014f3490de&type=large + uri: https://graph.facebook.com/me/picture?access_token=CAACYW4eNO3YBALOXgCGnSNwLJSUCnhr9dNjiwcpI18ydIL3FHwL2cEbNkRQ2PVpgx9LjphUmUSoZAZBJ1E8VBn3PnU5bi5rWaIJg7SuPVhyEyo6hwxZA88ZBUiWMZCJPZBnT5s8dRxsneNriXkW4jLhLzzrBZBvMv9d4MJsOoZBKZBPzqqwkZADMIX&appsecret_proof=81aae68544e2c768ed27aa63b4cf53f567a7f8212f8ad4063826ad2b917eac20&type=large body: encoding: US-ASCII string: '' @@ -331,26 +321,23 @@ http_interactions: Content-Type: - image/jpeg X-Fb-Trace-Id: - - Fc17PYoPBEr + - DbnffvXhlHa X-Fb-Rev: - - '2041018' + - '2263582' Pragma: - no-cache Location: - - https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oh=72142e015f254a712753f4d7c45685d5&oe=56C0D950&__gda__=1455473436_8aa051731dc730d06180af0ffa96ca0e + - https://scontent.xx.fbcdn.net/hprofile-xla1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oh=9150cbf58c5080ca35231bbe8ba24d73&oe=578DE7F8 Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - j9I/9yLUsw8cLbZq/XaKC3ygHFkmQW2XwblJhUHfOpupyND1fg8NRvcBFY+esw0npv3mDQyG0XSvLSDuVrcIqw== + - Gs5xsfzQWqZJePi/WUSC78D7llGeyVk1U4Ny2SyLEYMgNI4SlF+NWR8JQ68Yor2cOhIGRvVcJGc3nhcUVtGKhA== Date: - - Fri, 13 Nov 2015 05:02:54 GMT + - Mon, 04 Apr 2016 05:39:14 GMT Connection: - keep-alive Content-Length: @@ -359,10 +346,10 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Fri, 13 Nov 2015 05:02:54 GMT + recorded_at: Mon, 04 Apr 2016 05:39:14 GMT - request: method: get - uri: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?__gda__=1455473436_8aa051731dc730d06180af0ffa96ca0e&oe=56C0D950&oh=72142e015f254a712753f4d7c45685d5 + uri: https://scontent.xx.fbcdn.net/hprofile-xla1/v/t1.0-1/s200x200/1379841_10150004552801901_469209496895221757_n.jpg?oe=578DE7F8&oh=9150cbf58c5080ca35231bbe8ba24d73 body: encoding: US-ASCII string: '' @@ -386,23 +373,23 @@ http_interactions: - "*" Access-Control-Allow-Origin: - "*" - Content-Length: - - '2120' - Cache-Control: - - no-transform, max-age=1209600 Expires: - - Fri, 27 Nov 2015 05:02:54 GMT + - Thu, 14 Apr 2016 19:35:18 GMT + Cache-Control: + - max-age=1209600, no-transform Date: - - Fri, 13 Nov 2015 05:02:54 GMT + - Mon, 04 Apr 2016 05:39:14 GMT Connection: - keep-alive + Content-Length: + - '2155' body: encoding: ASCII-8BIT string: !binary |- /9j/4AAQSkZJRgABAgAAAQABAAD/7QCcUGhvdG9zaG9wIDMuMAA4QklNBAQA - AAAAAIAcAmcAFEtrbFNnM2tISGpYcUlCSGZySWxGHAIoAGJGQk1EMDEwMDBh - YjcwMzAwMDA5MzA0MDAwMDIyMDUwMDAwNDMwNTAwMDA3NDA1MDAwMGRhMDUw - MDAwNmUwNjAwMDBlNTA2MDAwMDFhMDcwMDAwNjMwNzAwMDA0ODA4MDAwMP/i + AAAAAIAcAmcAFHM0RjBONm1mbWxFUVg0YkdSaUZxHAIoAGJGQk1EMDEwMDBh + YjcwMzAwMDA5NTA0MDAwMDMzMDUwMDAwNTQwNTAwMDA4MTA1MDAwMGVhMDUw + MDAwODkwNjAwMDAwMDA3MDAwMDMyMDcwMDAwNzEwNzAwMDA2YjA4MDAwMP/i AhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfcAAEA GQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB AAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA @@ -419,34 +406,34 @@ http_interactions: IxwWFiAsICMmJykqKRkfLTAtKDAlKCko/9sAQwEHBwcKCAoTCgoTKBoWGigo KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgo KCgo/8IAEQgAfQDIAwAiAAERAQIRAf/EABoAAQEBAQEBAQAAAAAAAAAAAAAB - BAUDAgb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/EABUBAQEAAAAAAAAAAAAA - AAAAAAAB/9oADAMAAAERAhEAAAH9yiyoKgqCoKbDG6PwYXp5FQVBUFQVBQAA - APXy2G6koE5XWyJzxQAAABBUFQVBduHabxKAxbeamZFVBUFQVAURRFEUTrcr - omoSgMurCYVWRRFEURQAAAA+vkdtn0SgOL0ebYAAAAAAAAAB0Nfn6SgZOf1+ - RYAAAAAQVBUFe28xbvVKAA8vUczP2/GzlPbwKgqCoKgqC6cvYPQSgAAAAOb0 - vM5CLKgqD//EACUQAAECBQMEAwAAAAAAAAAAAAIBAwAEESBAEjAyECEiMRMz - UP/aAAgBAAABBQL8NO8CxHwDCsQQKOI2OokSli90cHQWFLe7ZhPHClrpgsOW - 92zHPCZ+u2Y4YUuvjbMrhitCtXuuGwVR6vlQMSW49ZnjiNppDq4OoMIGlKAB - BuMEKDaUd8G1KAbQdo20KDbUdxkNW88GnbbSgbriVC3/xAAUEQEAAAAAAAAA - AAAAAAAAAABg/9oACAECEQE/AVH/xAAUEQEAAAAAAAAAAAAAAAAAAABg/9oA - CAEBEQE/AVH/xAAkEAABAwMDBAMAAAAAAAAAAAABACBAESEwMVFhAhIiQVBx - gf/aAAgBAAAGPwL4Oy8ivasVeJRWZdUhl1YfU7thl35DEmmzgIYMr6ZTeKWC - KAwiHsFZ11uM/C5xcrjJU6ZqjTGMxd//xAAhEAABAgYDAQEAAAAAAAAAAAAB - ESEAIDFAQVEwYYGhUP/aAAgBAAABPyH8MCSApghFDoR2QDl9g21t2iWVKmAA - gACQAgCgx1rFmD/Uyw6Gzq8TJAIq62fxzU7MABQKiYA7K2a57JnfWz64MpKA - k4glCc2jGaskaHS1B7ZkB7RtA5aFwrmRIK4gsXsnY+kUc+zNRz7EOw8Oelts - YoYXY8VTCbCK2+w5FeB95leR840mNcyTOpv/2gAMAwAAARECEQAAEDjjjjih - BjjjjjgggghvPLwggggjjjjivPPzjjjjssssoPPOsssssggggktPAQgggggg - gggtPIQggggjjjhnvPPDRjjjjjmPPPPPPOjjjv/EABkRAAMBAQEAAAAAAAAA - AAAAAAEgMBEQAP/aAAgBAhEBPxBsmOmQ6ZDpqamOexMcOU//xAAaEQEAAgMB - AAAAAAAAAAAAAAABIDAQETEA/9oACAEBEQE/EI79srclTzJ2pydtK3BSvtwG - bMh//8QAKRABAAECBQMEAQUAAAAAAAAAAREAISAxQFGBMEFxYaHB8JFQsdHh - 8f/aAAgBAAABPxD9DEoSwBRR/JH81/rn8VEtHYTWUDsFx0l/ETgoMEdgjAqI - CEaRLl3fpo/EgYi7lFw6P23yxKDkD5aN2/Q++JSWw/d0YwpkWLriv8LQMX0c - it/YcUgnK/4+dGxigEw5lDJJgLLAlpUUqm+kW+91udsDd4d2x30sH2IYJPsU - 0gQAqsAGdLlAT5OBM4CfIoKARGETLRQQ+tmeKu8nnOK7weM1JD62Y4691H2r - b1DPIT/XSlngJ53q6j2rzt1DQ70RuoAICAyOogkJI5lGB3ojd0w2geW/WDeh - 5L4v/9k= + BQMCBAb/xAAVAQEBAAAAAAAAAAAAAAAAAAAAAf/EABUBAQEAAAAAAAAAAAAA + AAAAAAAB/9oADAMAAAERAhEAAAH9yiyoKgqCoKvY4NDyfC98yoKgqCoKgoAA + AHTnpHf0SgecrX+dMwUAAAAQVBUFQe9nM04BQAMbz3+eyoKgqCoCiKIoij6d + LJ1oBQAMv5+niyKIoiiKAAAAG3j6R2EoA4mU9+LAAAAAAAAFg+nSz9CAXN+f + 6vksAAAAAIKgqCvf3Gd9WhY8+hQPPwaIxG181mc98yoKgqCoKgqdzQ6koAAA + AHLJ28qzigqCoP/EACQQAAIBAwQCAgMAAAAAAAAAAAECAwARQBASIDAEMyJQ + EyEx/9oACAEAAAEFAvowCa/E9CAUYKZSuIi7mUBRqw3B12thQLZeM63TBUXb + mws2BB7Oc/swPH9nOf2YERtJzc3f6lDZhKp5GVRTnc2CDao2YvrIzByb4njj + 5a+QPlhf2lhJpQFGrAMGhIo/rvVSxWECgAOgi9NCDTKVPZGu1euRdy9cIvJ2 + zC0nH//EABQRAQAAAAAAAAAAAAAAAAAAAGD/2gAIAQIRAT8BUf/EABQRAQAA + AAAAAAAAAAAAAAAAAGD/2gAIAQERAT8BUf/EACAQAAICAwACAwEAAAAAAAAA + AAEhABEgMEAxUFFgYXH/2gAIAQAABj8C9Gp4jJiMfJUoYUZXHfzl/OIDQR9D + Gg+qsi55y8ywOJQPAuPkvC+NRqUMKMTj30I3FocSj2/vQNxy/8QAJBABAAEC + BgICAwAAAAAAAAAAAREAISAwMUBBYVFxgaFQscH/2gAIAQAAAT8h/BuwVomP + 6qDcUXP807B2jEPmoQQYBQJKeZ8bO5tcS5Gt2y7IaLGPqh2JkdGQL/Wx/RkK + /wBbH6jkSHvYmttaMbrfYgUAV4s+HF5s9UaQJ2SKbGjdcYDcYUim52k64mCM + cW2zBUBXqvFX3UJLYFIWrxV90FQEe9hJ1bKgIAZACAPuvLVRrNR5y1zJ854z + Ake84IHN8X//2gAMAwAAARECEQAAEDjjjjihhjjjjjgggghvPKwggggjjjjh + /PPLjjjjssssn/PPMssssggggmfPOCgggggggggt/Kgggggjjjgp/PLoRjjj + jjinPPPPPLTjjv/EABkRAAMAAwAAAAAAAAAAAAAAAAERMAAQIP/aAAgBAhEB + PxDpTGzIVFRYTWLaxWPH/8QAGREBAAMBAQAAAAAAAAAAAAAAARARMAAg/9oA + CAEBEQE/EPVmayOTq6uzBjfXI9ex4//EACQQAQABAwMEAwEBAAAAAAAAAAER + ACExIEBRMEFhcYGRoVDB/9oACAEAAAE/EP4ciL4MUgEAsTBj3Qrg8WKh2jwZ + KsUcJh2llIyuChIg/dAUkpFcMrk2dtO96O2qWLtPXc2Uc9o+KAAEAQakkhxX + l4D1sZFyPQiXkP5sVHs/86Ew8A/NjJnCy+eh5pcbFIHuWqUE51OGM1IRlN9i + uq4iYvzUQEi0EOqaGBaBNJcNyTMvOyDtBhKXNlKTm2ibtBCcWpG0mV2iPFmB + 8uhAsMvZs/GABNOi/HmgiEP3RKCVOqzjwK8IAEdeMkvdcBUUtxYKjTeAjoR5 + vAmppTxZKiPfImHqfdFEdx+eoHad3w1cYZEs9MHwJ+nWN8IQ96v/2Q== http_version: - recorded_at: Fri, 13 Nov 2015 05:02:54 GMT + recorded_at: Mon, 04 Apr 2016 05:39:14 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/workers/add_facebook_friends/adds_friends_from_facebook.yml b/spec/vcr/workers/add_facebook_friends/adds_friends_from_facebook.yml index 64b678d..f18ed03 100644 --- a/spec/vcr/workers/add_facebook_friends/adds_friends_from_facebook.yml +++ b/spec/vcr/workers/add_facebook_friends/adds_friends_from_facebook.yml @@ -5,10 +5,10 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - BssAr3GJFFi + - FzAAWz5YXyr X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,31 +36,28 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - eaPf/2xW1jNUxqVNrwaX/683wJUSJk2q9OlTYxTW9X64vTryz8gl6rg02VQklNfsBIkYRXKMGSekAysVRLF7kQ== + - Ei1MARvRZ6156PcQZYfK0rBiS44VC1Ri9NGhD35AAA9Pfu4tH0fE2R1jFGkUOZOZ1/a0Fbbt/PFEmcaL4nWoFQ== Date: - - Fri, 30 Oct 2015 16:49:49 GMT + - Mon, 04 Apr 2016 05:35:14 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 30 Oct 2015 16:49:49 GMT + recorded_at: Mon, 04 Apr 2016 05:35:14 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -77,42 +74,41 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - GUWNIy6aQId + - BeteOafRWYm X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - OHRHzcUwBglB47WitZmG3HzEWCCpDSnusXsdQV8Tm7xQZ3I5py/+o028tVanHUQ6kkvFMpmQUYyycJCF54xwtw== + - uSAM+rzT3ToeKX5o/nJwJO4eA6IGNoL2/8vcJ2Mrbu1dzSMM0zuzuF0eC4FkAsJ8UMbs6b4OS/K5KdlUxn5gXQ== Date: - - Fri, 30 Oct 2015 16:49:49 GMT + - Mon, 04 Apr 2016 05:35:15 GMT Connection: - keep-alive Content-Length: - - '431' + - '355' body: - encoding: UTF-8 - string: '{"id":"111905589171325","access_token":"CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/111905589171325\/","email":"ldcuzly_laustein_1446223789\u0040tfbnw.net","password":"1780510876"}' + encoding: ASCII-8BIT + string: '{"id":"108469772888531","access_token":"CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/108469772888531\/","email":"imubsfo_yangescu_1459748114\u0040tfbnw.net","password":"47304572"}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:49 GMT + recorded_at: Mon, 04 Apr 2016 05:35:15 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -129,42 +125,41 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - H/wTdM/4Hl3 + - CM5cSl5u+SG X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - fxfQZfsS+chfbg/LMhk+qMEs4twHwGLXWGxTiYLRz+INdDHWxFBIm04JN18BKdp530+p0d+Erto/7agnNNJpTw== + - gOLxtRM9Qns3AgmNX2TJjBP2dxy5kN43LsIR2SOWY09f83D72l1aI6zF4aMKDqAPndWzKu5T+0CNxdWH3vFIQw== Date: - - Fri, 30 Oct 2015 16:49:50 GMT + - Mon, 04 Apr 2016 05:35:16 GMT Connection: - keep-alive Content-Length: - - '426' + - '343' body: - encoding: UTF-8 - string: '{"id":"121163498243875","access_token":"CAALtYNTjIPsBAMG7KmqxdMzjDXAwRGTG38uEc0YAAB4qNtOL947GEgGgQTTAbFeG35l7TwWNEo46mWtK9zV8gevy2CZAb8HZB7hPLSt2ynJaM6InQHOxNNZBwIOw5lACZCHwczCqonV89xi5PSdhBfICdcuYa9brxPTj4p1bu6LmBAlZAIHhes1iZCfrDpRZCMi9WW2uNjLYwZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/121163498243875\/","email":"ggfdxzm_romanstein_1446223789\u0040tfbnw.net","password":"475113782"}' + encoding: ASCII-8BIT + string: '{"id":"135216796875322","access_token":"EAACYW4eNO3YBAO7YKo9CvzMobtPn8ZCAQ1zRfe6XOwyWqLtDFbnwHOkRUGAOwSXFUc5uH9YvIlkVavKUJxPdaPOBZCvqJBugR5y9zGVQyd1LAXPptDjf6NGEQI0ZCOAz1K6TXwhQ6Uq48xjrqnwtowrQQ842imN17KszrCXMzRcjy3QZAdk0","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/135216796875322\/","email":"nujtupj_smithwitz_1459748115\u0040tfbnw.net","password":"565833653"}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:51 GMT + recorded_at: Mon, 04 Apr 2016 05:35:16 GMT - request: method: post - uri: https://graph.facebook.com/111905589171325/friends/121163498243875 + uri: https://graph.facebook.com/108469772888531/friends/135216796875322 body: encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD + string: access_token=CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -181,24 +176,21 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - HyASTbwwrt7 + - BQYU6RJrYPT X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - cabIR1DUkMSVZfQEkS6Jve39Dila459MELR53lfbPMmQSMKJLFaqki8D0i/3txxdY+Yk/jvOo0BaZlk+/r72Cw== + - LDI0uVqqrQmsGH7VkGMUYJF2pnPoCCIMkb3fsRIeIvmc6dGbbOHCviHxeU2/0Vg4RUQzKMFx/NPtBuXnaHE4VA== Date: - - Fri, 30 Oct 2015 16:49:51 GMT + - Mon, 04 Apr 2016 05:35:17 GMT Connection: - keep-alive Content-Length: @@ -207,16 +199,16 @@ http_interactions: encoding: UTF-8 string: '{"success":true}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:51 GMT + recorded_at: Mon, 04 Apr 2016 05:35:17 GMT - request: method: post - uri: https://graph.facebook.com/121163498243875/friends/111905589171325 + uri: https://graph.facebook.com/135216796875322/friends/108469772888531 body: encoding: UTF-8 - string: access_token=CAALtYNTjIPsBAMG7KmqxdMzjDXAwRGTG38uEc0YAAB4qNtOL947GEgGgQTTAbFeG35l7TwWNEo46mWtK9zV8gevy2CZAb8HZB7hPLSt2ynJaM6InQHOxNNZBwIOw5lACZCHwczCqonV89xi5PSdhBfICdcuYa9brxPTj4p1bu6LmBAlZAIHhes1iZCfrDpRZCMi9WW2uNjLYwZDZD + string: access_token=EAACYW4eNO3YBAO7YKo9CvzMobtPn8ZCAQ1zRfe6XOwyWqLtDFbnwHOkRUGAOwSXFUc5uH9YvIlkVavKUJxPdaPOBZCvqJBugR5y9zGVQyd1LAXPptDjf6NGEQI0ZCOAz1K6TXwhQ6Uq48xjrqnwtowrQQ842imN17KszrCXMzRcjy3QZAdk0 headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -233,24 +225,21 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - CVnctuNANf+ + - GiRT5sOD4uv X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - Y/tB8sZ3OJsrHdzDXYmrrqgNCjjvZ2XC+J4nlZQ6xSl1i+SWz/hkQ2RnILVz0NLoBIWDqeRhSrbE+S8H90y9dg== + - meh2qnRYnzPnHRV5YeQVsdFWceYWgMo2XY2xSqvoySSjVe8BE+Q4loanmGzPm9htbDJzw+qgvSb3w5+5uwPLQQ== Date: - - Fri, 30 Oct 2015 16:49:52 GMT + - Mon, 04 Apr 2016 05:35:17 GMT Connection: - keep-alive Content-Length: @@ -259,16 +248,16 @@ http_interactions: encoding: UTF-8 string: '{"success":true}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:52 GMT + recorded_at: Mon, 04 Apr 2016 05:35:18 GMT - request: method: get - uri: https://graph.facebook.com/me/friends?access_token=CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD&appsecret_proof=86d6dafa468090051c4b4250a94989b5528585b7f9a717bd4c1a4d745d13a494 + uri: https://graph.facebook.com/me/friends?access_token=CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD&appsecret_proof=f8d1f2c94ddb443a86b5997c401122e902a4eb39aa619fb76cbff97f9a53ad9c body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -283,44 +272,43 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - BsTIsk3mMDW + - AMQjhuG8j4k X-Fb-Rev: - - '2018066' + - '2263582' Etag: - - '"d470622746d2b5f2022239fa2f774cdf96d87142"' + - '"75e557974f45a397c49c9bd9071781d8eb56daa4"' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - fGbORv6farX8Qhxis5dHY089KMXg4OmRueDwLqOlTJ/U/g+IxzHfXZT89NcDFQilakYvP+BZzsNmlrKXtMWMwg== + - EHNlkAxQZz5UU9BvmTve2r+iVYM4fBgTogqS5w6TzetBgqfFNaNZ3oyzuZjugIel9UI83GH4AalWECaqwC1b7Q== Date: - - Fri, 30 Oct 2015 16:49:52 GMT + - Mon, 04 Apr 2016 05:35:18 GMT Connection: - keep-alive Content-Length: - - '540' + - '459' body: - encoding: UTF-8 - string: '{"data":[{"name":"Linda Alajejfgfdcae Romanstein","id":"121163498243875"}],"paging":{"next":"https:\/\/graph.facebook.com\/v2.4\/111905589171325\/friends?access_token=CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD&limit=25&offset=25&__after_id=enc_AdBangKA8kRfKXlnyDyxaAPFlNP7rq5lZBb9THSlyEMdREjK6xIhwZBuIfLxgIZBKeFcyfYW7F4fXRqXk79ASeC602n"},"summary":{"total_count":1}}' + encoding: ASCII-8BIT + string: '{"data":[{"name":"James Alaafakgedai Smithwitz","id":"135216796875322"}],"paging":{"next":"https:\/\/graph.facebook.com\/v2.5\/108469772888531\/friends?access_token=CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD&limit=25&offset=25&__after_id=enc_AdCHVQZC4mr30N4Vu8Ej8y63L3Vx5yuy8FGZC6iOUwKVbLYQLU64NX6bLbdTuCWhTRxgycNaZAT4KgfdWoJk74iNdr8"},"summary":{"total_count":1}}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:52 GMT + recorded_at: Mon, 04 Apr 2016 05:35:18 GMT - request: method: get - uri: https://graph.facebook.com/v2.4/111905589171325/friends?__after_id=enc_AdBangKA8kRfKXlnyDyxaAPFlNP7rq5lZBb9THSlyEMdREjK6xIhwZBuIfLxgIZBKeFcyfYW7F4fXRqXk79ASeC602n&access_token=CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD&appsecret_proof=86d6dafa468090051c4b4250a94989b5528585b7f9a717bd4c1a4d745d13a494&limit=25&offset=25 + uri: https://graph.facebook.com/v2.5/108469772888531/friends?__after_id=enc_AdCHVQZC4mr30N4Vu8Ej8y63L3Vx5yuy8FGZC6iOUwKVbLYQLU64NX6bLbdTuCWhTRxgycNaZAT4KgfdWoJk74iNdr8&access_token=CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD&appsecret_proof=f8d1f2c94ddb443a86b5997c401122e902a4eb39aa619fb76cbff97f9a53ad9c&limit=25&offset=25 body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -335,33 +323,32 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - A/0GiWfcC32 + - D7+Oh2Rb/WN X-Fb-Rev: - - '2018066' + - '2263582' Etag: - - '"d132ebeaaee04c231272b75fb04ec9fce3c9afbb"' + - '"6652cfa5397b87c8e473c906e657ce25bb58c11c"' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - SQBlJk3fgDFAQbPjdkO0shCz0z5tuVQlosQG9ZixdseSEEQljECZ09S+usLKNjUN8FnCsMk8wr1prjIM1fkmKQ== + - "+hiqbNwUw3rUYGpqICbHURxkLftwou6wIvZoYYcAlqE8lw3i4tC3RTnpEnLOQKKd9bolGVtlWRTdO/m+3wNs0Q==" Date: - - Fri, 30 Oct 2015 16:49:52 GMT + - Mon, 04 Apr 2016 05:35:18 GMT Connection: - keep-alive Content-Length: - - '372' + - '328' body: - encoding: UTF-8 - string: '{"data":[],"paging":{"previous":"https:\/\/graph.facebook.com\/v2.4\/111905589171325\/friends?limit=25&offset=0&access_token=CAALtYNTjIPsBAIZCTWEjsZCHFjgIeSb8pwuGlYyqEDZA1VRQfp1CHmEFlzFWcoZCqZBN3UwWZBAXLdXOQt50NjdzLOEkrNZBNXgUuvFPZAyboEek64UG72p8N0eAqNZCZCtk7Y0Q88A4eIGx5MqB5aTssOxsOnwcCy7RrjSMDxZBJtbPlyoZCFBPj4xjltCSo0fidQU1tZB0Py8hnHwZDZD"},"summary":{"total_count":1}}' + encoding: ASCII-8BIT + string: '{"data":[],"paging":{"previous":"https:\/\/graph.facebook.com\/v2.5\/108469772888531\/friends?limit=25&offset=0&access_token=CAACYW4eNO3YBAAVjFZCtwqnZCrB3SrHFhqDUaYu4FGDbZA64Y26a3fp52ZANWl1GwRWGI7cogGiWOSvElSTt4baKZCVbz6ZCDybUfGVF5XwX9JdqyRPsw5BZATk8kvksRM0395IRaFDTZAYnSwS0bYv2oEjE4JXOzIu2pduHPeZBnzLcowW6sbxF6FU5aVV6WIPcZD"},"summary":{"total_count":1}}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:52 GMT + recorded_at: Mon, 04 Apr 2016 05:35:19 GMT recorded_with: VCR 2.9.3 diff --git a/spec/vcr/workers/add_profile_pic/add_profile_pic_from_facebook.yml b/spec/vcr/workers/add_profile_pic/add_profile_pic_from_facebook.yml index 3ca7901..bae4b22 100644 --- a/spec/vcr/workers/add_profile_pic/add_profile_pic_from_facebook.yml +++ b/spec/vcr/workers/add_profile_pic/add_profile_pic_from_facebook.yml @@ -5,10 +5,10 @@ http_interactions: uri: https://graph.facebook.com/oauth/access_token body: encoding: UTF-8 - string: client_id=823950097719547&client_secret=dea8b556df75b906aa59ab482def6e26&grant_type=client_credentials + string: client_id=167518883625846&client_secret=c1bc0f69b8ba83e2d8b9bbe84900704e&grant_type=client_credentials headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -25,9 +25,9 @@ http_interactions: Content-Type: - text/plain; charset=UTF-8 X-Fb-Trace-Id: - - HK9XfFJmK9M + - F22ZdA6tEXk X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: @@ -36,31 +36,28 @@ http_interactions: - v2.0 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - voDEuMbuifwCZ9Ubtx+xKL4rbhuvZi2nglGHKsHGOSMPxKjTCItJhFfFVEJ7ZELNrCWafl2tbZIkzQfDrFL9ew== + - e8amlvRVTjOI8jaqY98P/NoQS0jqiZZaE7CtKbPTsayhmUqKwxqTlC/ZSSpiQexmXngrWJG22Lt991ei6uNaXw== Date: - - Fri, 30 Oct 2015 16:49:54 GMT + - Mon, 04 Apr 2016 05:37:51 GMT Connection: - keep-alive Content-Length: - '56' body: encoding: UTF-8 - string: access_token=823950097719547|oS3DYF56aL2V4qHXWiBZweVqK44 + string: access_token=167518883625846|e0We-Spyw1l6W4rKuJ7Xp_IiCq4 http_version: - recorded_at: Fri, 30 Oct 2015 16:49:54 GMT + recorded_at: Mon, 04 Apr 2016 05:37:51 GMT - request: method: post - uri: https://graph.facebook.com/823950097719547/accounts/test-users + uri: https://graph.facebook.com/167518883625846/accounts/test-users body: encoding: UTF-8 - string: access_token=823950097719547%7CoS3DYF56aL2V4qHXWiBZweVqK44&installed=true&permissions=email%2Cuser_friends + string: access_token=167518883625846%7Ce0We-Spyw1l6W4rKuJ7Xp_IiCq4&installed=true&permissions=email%2Cuser_friends headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Content-Type: - application/x-www-form-urlencoded Accept-Encoding: @@ -77,42 +74,41 @@ http_interactions: Content-Type: - application/json; charset=UTF-8 X-Fb-Trace-Id: - - Gi+QOxc3vQj + - CmGdwwesHHl X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api + Vary: + - Accept-Encoding X-Fb-Debug: - - UEjm1Blhyjm+uDJqBkLaIMGgcOhoHNobsDoy0oUBqHlynZhnWFJNze1NXfW/XR2h+kidq3i5qdcDV0ISxm0V7g== + - bgMDc8FYuyByRrQx/E2wGDh61MgBg8YjY22qDnpH0u20xo9m7inA+K7iGrvdHJRe85Z4t2UQHx/rqBvviwE7CQ== Date: - - Fri, 30 Oct 2015 16:49:55 GMT + - Mon, 04 Apr 2016 05:37:52 GMT Connection: - keep-alive Content-Length: - - '429' + - '365' body: - encoding: UTF-8 - string: '{"id":"112812412413820","access_token":"CAALtYNTjIPsBABa01laWZC0xQwbmo4VP3DAvpyIOEbOPLstobWJc7nNgRWKmp8iD1PNu167K0ftzaiAFXIVnZAwuuDF11GWcD23GRZAZATtPP8Inaqn4qiiBjyCIeHcMZAtf64I2addMZBFvKbFBfn57d5VbrFUQKC4E8ZBvBEYfi2UQMDL3Qvq4ZCZBUdx1w370h9aWfZAO9x0gZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/112812412413820\/","email":"azdfmkt_sharpesen_1446223794\u0040tfbnw.net","password":"1493611087"}' + encoding: ASCII-8BIT + string: '{"id":"121722328226749","access_token":"CAACYW4eNO3YBAHzqefrZBP1wtHxkvZBhPNIMpSZBeQzjUSc4dU8nZBlQBtJFyAsSJt5LI6iZBZBQ8gNlSBTSgE3qnfA59a1RZC6axJNt66OZBuBEcAyLkxuhHSnHUm2XprAGS0q4WkvOaR3SmwdO3OwsLBFEcq3qyxmWc15tnYMCz5w2X5F2K5fnHrx3kglV59J0l2pZAMIZBQ4wZDZD","login_url":"https:\/\/developers.facebook.com\/checkpoint\/test-user-login\/121722328226749\/","email":"ymbkxrh_chaison_1459748271\u0040tfbnw.net","password":"552787415"}' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:55 GMT + recorded_at: Mon, 04 Apr 2016 05:37:52 GMT - request: method: get - uri: https://graph.facebook.com/me/picture?access_token=CAALtYNTjIPsBABa01laWZC0xQwbmo4VP3DAvpyIOEbOPLstobWJc7nNgRWKmp8iD1PNu167K0ftzaiAFXIVnZAwuuDF11GWcD23GRZAZATtPP8Inaqn4qiiBjyCIeHcMZAtf64I2addMZBFvKbFBfn57d5VbrFUQKC4E8ZBvBEYfi2UQMDL3Qvq4ZCZBUdx1w370h9aWfZAO9x0gZDZD&appsecret_proof=aefb3fb72364293527e61e29f4ab5dba4ca3fa67850f296dc9f3142e511c62db&type=large + uri: https://graph.facebook.com/me/picture?access_token=CAACYW4eNO3YBAHzqefrZBP1wtHxkvZBhPNIMpSZBeQzjUSc4dU8nZBlQBtJFyAsSJt5LI6iZBZBQ8gNlSBTSgE3qnfA59a1RZC6axJNt66OZBuBEcAyLkxuhHSnHUm2XprAGS0q4WkvOaR3SmwdO3OwsLBFEcq3qyxmWc15tnYMCz5w2X5F2K5fnHrx3kglV59J0l2pZAMIZBQ4wZDZD&appsecret_proof=be63ddafda2bbe856afb6d762e50286ee03dd4c65cf9bbe475217b8ce5327624&type=large body: encoding: US-ASCII string: '' headers: User-Agent: - - Faraday v0.9.1 + - Faraday v0.9.2 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: @@ -127,26 +123,23 @@ http_interactions: Content-Type: - image/jpeg X-Fb-Trace-Id: - - Coq30x70GOv + - BV8YHXvdsx4 X-Fb-Rev: - - '2018066' + - '2263582' Pragma: - no-cache Location: - - https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oh=72142e015f254a712753f4d7c45685d5&oe=56C0D950&__gda__=1455473436_8aa051731dc730d06180af0ffa96ca0e + - https://scontent.xx.fbcdn.net/hprofile-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oh=3f560f9bf95ca602bb19c2d7b8870e1a&oe=57869A50 Cache-Control: - private, no-cache, no-store, must-revalidate Facebook-Api-Version: - - v2.4 + - v2.5 Expires: - Sat, 01 Jan 2000 00:00:00 GMT - X-Fb-Stats-Contexts: - - V3 - - api X-Fb-Debug: - - vMD7vJ8os/1juLjDTY49hegbrk5ee9E8/TmIQre7X6khxuu1LXSa20dV08IzrVfuckMpEBeNXr/PQ95CcsrzDg== + - VhPXSybpZ0bmUQr3YplGPM4OEYzo/R3EM+8/JqbakpnU3Zv2UY8BDtSneRCrk6gXN/sdCcYeeb+ShDDLqpU9Zw== Date: - - Fri, 30 Oct 2015 16:49:55 GMT + - Mon, 04 Apr 2016 05:37:52 GMT Connection: - keep-alive Content-Length: @@ -155,10 +148,10 @@ http_interactions: encoding: UTF-8 string: '' http_version: - recorded_at: Fri, 30 Oct 2015 16:49:55 GMT + recorded_at: Mon, 04 Apr 2016 05:37:52 GMT - request: method: get - uri: https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?__gda__=1455473436_8aa051731dc730d06180af0ffa96ca0e&oe=56C0D950&oh=72142e015f254a712753f4d7c45685d5 + uri: https://scontent.xx.fbcdn.net/hprofile-xfa1/v/t1.0-1/s200x200/10354686_10150004552801856_220367501106153455_n.jpg?oe=57869A50&oh=3f560f9bf95ca602bb19c2d7b8870e1a body: encoding: US-ASCII string: '' @@ -182,16 +175,16 @@ http_interactions: - "*" Access-Control-Allow-Origin: - "*" - Content-Length: - - '2120' - Cache-Control: - - no-transform, max-age=1209600 Expires: - - Fri, 13 Nov 2015 16:49:56 GMT + - Sun, 17 Apr 2016 01:12:34 GMT + Cache-Control: + - max-age=1209600, no-transform Date: - - Fri, 30 Oct 2015 16:49:56 GMT + - Mon, 04 Apr 2016 05:37:53 GMT Connection: - keep-alive + Content-Length: + - '2120' body: encoding: ASCII-8BIT string: !binary |- @@ -244,5 +237,5 @@ http_interactions: b1DPIT/XSlngJ53q6j2rzt1DQ70RuoAICAyOogkJI5lGB3ojd0w2geW/WDeh 5L4v/9k= http_version: - recorded_at: Fri, 30 Oct 2015 16:49:56 GMT + recorded_at: Mon, 04 Apr 2016 05:37:53 GMT recorded_with: VCR 2.9.3