facebook_ads 0.1.11 → 0.1.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/.approvals +0 -0
  3. data/.coveralls.yml +1 -0
  4. data/.rspec +2 -0
  5. data/.rubocop.yml +13 -1
  6. data/.rubocop_todo.yml +16 -0
  7. data/.travis.yml +3 -1
  8. data/CHANGELOG.md +5 -0
  9. data/Gemfile +10 -7
  10. data/Gemfile.lock +56 -19
  11. data/LICENSE.md +22 -0
  12. data/README.md +8 -0
  13. data/facebook_ads.gemspec +2 -2
  14. data/lib/facebook_ads/ad.rb +2 -2
  15. data/lib/facebook_ads/ad_account.rb +52 -19
  16. data/lib/facebook_ads/ad_audience.rb +1 -1
  17. data/lib/facebook_ads/ad_campaign.rb +47 -5
  18. data/lib/facebook_ads/ad_creative.rb +4 -4
  19. data/lib/facebook_ads/ad_exception.rb +7 -1
  20. data/lib/facebook_ads/ad_image.rb +6 -2
  21. data/lib/facebook_ads/ad_insight.rb +1 -1
  22. data/lib/facebook_ads/ad_product.rb +1 -1
  23. data/lib/facebook_ads/ad_product_catalog.rb +1 -1
  24. data/lib/facebook_ads/ad_product_feed.rb +1 -1
  25. data/lib/facebook_ads/ad_product_set.rb +1 -1
  26. data/lib/facebook_ads/ad_set.rb +5 -5
  27. data/lib/facebook_ads/ad_targeting.rb +3 -3
  28. data/lib/facebook_ads/base.rb +10 -9
  29. data/spec/facebook_ads/ad_account_spec.rb +93 -0
  30. data/spec/facebook_ads/ad_campaign_spec.rb +19 -0
  31. data/spec/facebook_ads/ad_creative_spec.rb +4 -0
  32. data/spec/facebook_ads/ad_image_spec.rb +4 -0
  33. data/spec/facebook_ads/ad_insight_spec.rb +4 -0
  34. data/spec/facebook_ads/ad_product_catalog_spec.rb +27 -0
  35. data/spec/facebook_ads/ad_product_feed_spec.rb +4 -0
  36. data/spec/facebook_ads/ad_product_set_spec.rb +4 -0
  37. data/spec/facebook_ads/ad_product_spec.rb +21 -0
  38. data/spec/facebook_ads/ad_set_spec.rb +47 -0
  39. data/spec/facebook_ads/ad_spec.rb +4 -0
  40. data/spec/facebook_ads/ad_targeting_spec.rb +4 -0
  41. data/spec/facebook_ads/facebook_ads_spec.rb +15 -0
  42. data/spec/fixtures/approvals/facebookads_adaccount/ad_campaigns/lists_campaigns.approved.json +15 -0
  43. data/spec/fixtures/approvals/facebookads_adaccount/ad_creatives/lists_creatives.approved.json +1047 -0
  44. data/spec/fixtures/approvals/facebookads_adaccount/ad_images/lists_images.approved.json +11 -0
  45. data/spec/fixtures/approvals/facebookads_adaccount/ad_sets/lists_ad_sets.approved.json +3 -0
  46. data/spec/fixtures/approvals/facebookads_adaccount/ads/lists_ads.approved.json +3 -0
  47. data/spec/fixtures/approvals/facebookads_adaccount/all/lists_all_accounts.approved.json +92 -0
  48. data/spec/fixtures/approvals/facebookads_adaccount/create_ad_campaign/creates_a_new_ad_campaign.approved.json +13 -0
  49. data/spec/fixtures/approvals/facebookads_adaccount/create_ad_images/creates_an_image.approved.json +11 -0
  50. data/spec/fixtures/approvals/facebookads_adaccount/find_by/finds_a_specific_account.approved.json +9 -0
  51. data/spec/fixtures/approvals/facebookads_adaccount/reach_estimate/estimates_the_reach_of_a_targeting_spec.approved.json +358 -0
  52. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_campaigns/lists_campaigns.yml +56 -0
  53. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_creatives/lists_creatives.yml +91 -0
  54. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_images/lists_images.yml +56 -0
  55. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_sets/lists_ad_sets.yml +56 -0
  56. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ads/lists_ads.yml +56 -0
  57. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_all/lists_all_accounts.yml +58 -0
  58. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_create_ad_campaign/creates_a_new_ad_campaign.yml +115 -0
  59. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_create_ad_images/creates_an_image.yml +2865 -0
  60. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_find_by/finds_a_specific_account.yml +58 -0
  61. data/spec/fixtures/cassettes/FacebookAds_AdAccount/_reach_estimate/estimates_the_reach_of_a_targeting_spec.yml +56 -0
  62. data/spec/fixtures/cassettes/FacebookAds_AdCampaign/_destroy/creates_a_new_ad_campaign.yml +164 -0
  63. data/spec/spec_helper.rb +7 -0
  64. data/spec/support/approvals.rb +10 -0
  65. data/spec/support/facebook_ads.rb +4 -0
  66. data/spec/support/rest_client.rb +13 -0
  67. data/spec/support/vcr.rb +16 -0
  68. metadata +47 -29
  69. data/test/ad_account_test.rb +0 -27
  70. data/test/ad_campaign_test.rb +0 -32
  71. data/test/ad_creative_test.rb +0 -7
  72. data/test/ad_image_test.rb +0 -27
  73. data/test/ad_insight_test.rb +0 -7
  74. data/test/ad_product_catalog_test.rb +0 -28
  75. data/test/ad_product_feed_test.rb +0 -7
  76. data/test/ad_product_set_test.rb +0 -7
  77. data/test/ad_product_test.rb +0 -22
  78. data/test/ad_set_test.rb +0 -48
  79. data/test/ad_targeting_test.rb +0 -7
  80. data/test/ad_test.rb +0 -7
  81. data/test/facebook_ads_test.rb +0 -8
  82. data/test/test_helper.rb +0 -64
  83. data/test/vcr_cassettes/AdAccountTest-test_all.yml +0 -70
  84. data/test/vcr_cassettes/AdAccountTest-test_applications.yml +0 -130
  85. data/test/vcr_cassettes/AdAccountTest-test_find_by.yml +0 -71
  86. data/test/vcr_cassettes/AdCampaignTest-test_create.yml +0 -295
  87. data/test/vcr_cassettes/AdCampaignTest-test_list.yml +0 -133
  88. data/test/vcr_cassettes/AdImageTest-test_create.yml +0 -2963
  89. data/test/vcr_cassettes/AdImageTest-test_list.yml +0 -137
  90. data/test/vcr_cassettes/AdProductCatalogTest-test_all.yml +0 -60
  91. data/test/vcr_cassettes/AdProductCatalogTest-test_create.yml +0 -256
  92. data/test/vcr_cassettes/AdProductTest-test_list.yml +0 -130
  93. data/test/vcr_cassettes/AdSetTest-test_create.yml +0 -189
  94. data/test/vcr_cassettes/AdSetTest-test_destroy.yml +0 -124
  95. data/test/vcr_cassettes/AdSetTest-test_update.yml +0 -134
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/campaigns?access_token=<access_token>&effective_status%5B%5D=ACTIVE&fields=id,account_id,buying_type,can_use_spend_cap,configured_status,created_time,effective_status,name,objective,start_time,stop_time,updated_time,spend_cap&limit=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"bef5c8022e30c0db14d45a5eff8f380b2e9be4a5"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - A8QPcCBBVRP
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - kAfkCio2n0OjsFS7X2WkHoHAR4NqjbgCOBZVeB4NwkjbDflBEDTBndjGiZVFIY/yDeLHc8nuchE3vYnAyLWX6w==
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:41 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '434'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[{"id":"6076261167842","account_id":"10152335766987003","buying_type":"AUCTION","can_use_spend_cap":true,"configured_status":"ACTIVE","created_time":"2017-04-25T16:54:27-0700","effective_status":"ACTIVE","name":"Test","objective":"MOBILE_APP_INSTALLS","start_time":"1969-12-31T15:59:59-0800","updated_time":"2017-04-25T16:54:27-0700"}],"paging":{"cursors":{"before":"NjA3NjI2MTE2Nzg0MgZDZD","after":"NjA3NjI2MTE2Nzg0MgZDZD"}}}'
54
+ http_version:
55
+ recorded_at: Wed, 26 Apr 2017 00:48:41 GMT
56
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,91 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/adcreatives?access_token=<access_token>&fields=id,name,object_story_id,object_story_spec,object_type,thumbnail_url,run_status&limit=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"5856cd7a10f0d62aaee8548598b90c7eb260c13d"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - GLzFzakfMe1
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - 4CPULNEAzRDmbA73CMqtPKVVny4v5KROx491ZngzeAOWJHk4IOPOpduy/zOon8wf1dzlrUu6VbdBvLCoWWNnQA==
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:43 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '28205'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[{"id":"6047307246042","name":"Ad from a Page post #6,047,307,246,042","object_story_spec":{"page_id":"300664329976860","instagram_actor_id":"1225641534119785","link_data":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","message":"Tophatter
54
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}},"child_attachments":[{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6047307243042","name":"Ad
55
+ from a Page post #6,047,307,243,042","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","message":"Tophatter
56
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}},"child_attachments":[{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQCIPomShqFYoi4N","run_status":"ACTIVE"},{"id":"6037591532042","name":"Ad
57
+ from a Page post #6,037,591,532,042","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Foo
58
+ bar baz.","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591520042","name":"Ad
59
+ from a Page post #6,037,591,520,042","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Foo
60
+ bar baz.","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"SHARE","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQAn_wfmDXSKOWgL&w=64&h=64&url=http\u00253A\u00252F\u00252Fis2.mzstatic.com\u00252Fimage\u00252Fthumb\u00252FPurple7\u00252Fv4\u00252Fb2\u00252F37\u00252Fae\u00252Fb237ae8d-2b39-df92-b853-a7d55fb91200\u00252Fsource\u00252F1200x630bf.jpg&cfs=1&_nc_hash=AQCY1tBOdqunbEAD","run_status":"ACTIVE"},{"id":"6037591496242","name":"Ad
61
+ from a Page post #6,037,591,496,242","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Foo
62
+ bar baz.","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQCIPomShqFYoi4N","run_status":"ACTIVE"},{"id":"6037591490242","name":"Ad
63
+ from a Page post #6,037,591,490,242","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Foo
64
+ bar baz.","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591488442","name":"Ad
65
+ from a Page post #6,037,591,488,442","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Test
66
+ test test.","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591381642","name":"Ad
67
+ from a Page post #6,037,591,381,642","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
68
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591371842","name":"Ad
69
+ from a Page post #6,037,591,371,842","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
70
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591366642","name":"Ad
71
+ from a Page post #6,037,591,366,642","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
72
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQCIPomShqFYoi4N","run_status":"ACTIVE"},{"id":"6037591365642","name":"Ad
73
+ from a Page post #6,037,591,365,642","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
74
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591364242","name":"Ad
75
+ from a Page post #6,037,591,364,242","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
76
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591361442","name":"Ad
77
+ from a Page post #6,037,591,361,442","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
78
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591360642","name":"Ad
79
+ from a Page post #6,037,591,360,642","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
80
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591360442","name":"Ad
81
+ from a Page post #6,037,591,360,442","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
82
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591347442","name":"Ad
83
+ from a Page post #6,037,591,347,442","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
84
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591151042","name":"Ad
85
+ from a Page post #6,037,591,151,042","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"https:\/\/itunes.apple.com\/app\/id619460348","message":"Tophatter
86
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}},"child_attachments":[{"link":"https:\/\/itunes.apple.com\/app\/id619460348","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348","link_title":"Tophatter"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}},{"link":"https:\/\/itunes.apple.com\/app\/id619460348","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"https:\/\/itunes.apple.com\/app\/id619460348"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"},{"id":"6037591146242","name":"Ad
87
+ from a Page post #6,037,591,146,242","object_story_spec":{"page_id":"300664329976860","link_data":{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","message":"Tophatter
88
+ hosts the world''s most exciting and entertaining live auctions feature","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}},"child_attachments":[{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","name":"Tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","link_title":"Tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}},{"link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter","call_to_action":{"type":"INSTALL_MOBILE_APP","value":{"application":"295802707128640","link":"http:\/\/play.google.com\/store\/apps\/details?id=com.tophatter"}}}],"multi_share_end_card":true,"multi_share_optimized":true}},"object_type":"INVALID","thumbnail_url":"https:\/\/external.xx.fbcdn.net\/safe_image.php?d=AQBUpgXveulYjAj7&w=64&h=64&url=https\u00253A\u00252F\u00252Fscontent.xx.fbcdn.net\u00252Fv\u00252Ft1.0-9\u00252F13645144_1096106237099328_9186797913597492566_n.png\u00253Foh\u00253Dda1ed4a885401f0e7477cdab5ac334f9\u002526oe\u00253D59796C5C&cfs=1&_nc_hash=AQBLX4jev8NGecY5","run_status":"ACTIVE"}],"paging":{"cursors":{"before":"NjA0NzMwNzI0NjA0MgZDZD","after":"NjAzNzU5MTE0NjI0MgZDZD"}}}'
89
+ http_version:
90
+ recorded_at: Wed, 26 Apr 2017 00:48:43 GMT
91
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/adimages?access_token=<access_token>&fields=id,hash,account_id,name,permalink_url,original_width,original_height&hashes%5B%5D=d8fc613662fb5ef6cf5fb9d1fe779315
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"57cb9f58f449656a6e77b0b528d1a1183ba8c232"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - HQ808aSx6mj
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - "+YXJvwsXIleO651tllG7IBM6OK+NikbdDlA5kjEf2orN7srgfIvzYQB4/u1bptOVq1/eJ3OYsboHFY3Fmk/YLg=="
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:42 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '616'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[{"id":"10152335766987003:d8fc613662fb5ef6cf5fb9d1fe779315","hash":"d8fc613662fb5ef6cf5fb9d1fe779315","account_id":"10152335766987003","name":"13006112.jpg","permalink_url":"https:\/\/www.facebook.com\/ads\/image\/?d=AQLSiUGsZ84fclezlh6EppSetpCqajyC5977Xg-Ez51AOlAJw17zgcoauXutWgj8v4Ggg9BHXtKSQs351gRUmSfOxfGutEPX2c9fASaamvnfsK-3DENLiahsMn7Ck4sdzL5ah92Rsx25nZJO81Vp9SEy","original_width":570,"original_height":707}],"paging":{"cursors":{"before":"MTAxNTIzMzU3NjY5ODcwMDM6ZADhmYzYxMzY2MmZAiNWVmNmNmNWZAiOWQxZAmU3NzkzMTUZD","after":"MTAxNTIzMzU3NjY5ODcwMDM6ZADhmYzYxMzY2MmZAiNWVmNmNmNWZAiOWQxZAmU3NzkzMTUZD"}}}'
54
+ http_version:
55
+ recorded_at: Wed, 26 Apr 2017 00:48:42 GMT
56
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/adsets?access_token=<access_token>&effective_status%5B%5D=ACTIVE&fields=id,account_id,campaign_id,name,status,configured_status,effective_status,bid_amount,billing_event,optimization_goal,pacing_type,daily_budget,budget_remaining,lifetime_budget,promoted_object,targeting,created_time,updated_time&limit=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"1050253aec7b29caff644806927dabfa81406eee"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - G1Pg2cslCnu
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - 0x/X85kUtXITFwVtEjfurYQGH+/hnyLUwN6NM06M+kZIV2UfxObF17dcg6P8/jiYPdDmmePb2wOXdmunLtiLOg==
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:43 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '11'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[]}'
54
+ http_version:
55
+ recorded_at: Wed, 26 Apr 2017 00:48:44 GMT
56
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/ads?access_token=<access_token>&effective_status%5B%5D=ACTIVE&fields=id,account_id,campaign_id,adset_id,adlabels,bid_amount,bid_info,bid_type,configured_status,conversion_specs,created_time,creative,effective_status,last_updated_by_app_id,name,tracking_specs,updated_time,ad_review_feedback&limit=100
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"1050253aec7b29caff644806927dabfa81406eee"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - C5jzYFrIkhE
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - xyXRBxm7pYYeahb+5ZYcNLE1PyQcXideNdmJp5/XEGfo2xjlisOcdDTLi3kNHMRrBErKXXtfeT46espH1Vj6EA==
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:44 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '11'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[]}'
54
+ http_version:
55
+ recorded_at: Wed, 26 Apr 2017 00:48:44 GMT
56
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,58 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://graph.facebook.com/v2.8/me/adaccounts?access_token=<access_token>&fields=id,account_id,account_status,age,created_time,currency,name
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Host:
17
+ - graph.facebook.com
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: OK
22
+ headers:
23
+ Access-Control-Allow-Origin:
24
+ - "*"
25
+ Etag:
26
+ - '"a440530e21aad047aacd9ac5e04ed08e34c7a70a"'
27
+ Pragma:
28
+ - no-cache
29
+ Cache-Control:
30
+ - private, no-cache, no-store, must-revalidate
31
+ X-Fb-Rev:
32
+ - '2980367'
33
+ Content-Type:
34
+ - application/json
35
+ X-Fb-Trace-Id:
36
+ - AC21JGF/Xzs
37
+ Facebook-Api-Version:
38
+ - v2.8
39
+ Expires:
40
+ - Sat, 01 Jan 2000 00:00:00 GMT
41
+ Vary:
42
+ - Accept-Encoding
43
+ X-Fb-Debug:
44
+ - 4vv4qL4vB5HlEPhLJJ7VxgpyMJCXHxNKiCDJMkRS5xHKXQ671gmgo2JOjjT6jxDpVs2s3+2vOfVBGjyxIcG1Sg==
45
+ Date:
46
+ - Wed, 26 Apr 2017 00:48:40 GMT
47
+ Connection:
48
+ - keep-alive
49
+ Content-Length:
50
+ - '1893'
51
+ body:
52
+ encoding: UTF-8
53
+ string: '{"data":[{"id":"act_1223529531023664","account_id":"1223529531023664","account_status":1,"age":141.15273148148,"created_time":"2016-12-02T10:50:57-0800","currency":"USD","name":"International
54
+ II"},{"id":"act_1198305280212756","account_id":"1198305280212756","account_status":1,"age":159.1747337963,"created_time":"2016-11-10T13:50:54-0800","currency":"USD","name":"Retargeting"},{"id":"act_1183122141731070","account_id":"1183122141731070","account_status":1,"age":179.92611111111,"created_time":"2016-10-27T10:55:59-0700","currency":"USD","name":"DollarStart"},{"id":"act_1132789356764349","account_id":"1132789356764349","account_status":1,"age":232.91157407407,"created_time":"2016-08-31T15:14:23-0700","currency":"USD","name":"LuxeJoy"},{"id":"act_1115226431853975","account_id":"1115226431853975","account_status":1,"age":256.05325231481,"created_time":"2016-08-10T17:27:49-0700","currency":"USD","name":"Ruby"},{"id":"act_953255011384452","account_id":"953255011384452","account_status":1,"age":546.76849537037,"created_time":"2015-10-26T09:23:16-0700","currency":"USD","name":"International"},{"id":"act_1051938118182807","account_id":"1051938118182807","account_status":1,"age":361.89405092593,"created_time":"2016-04-28T17:32:07-0700","currency":"USD","name":"Web"},{"id":"act_861827983860489","account_id":"861827983860489","account_status":1,"age":743.01085648148,"created_time":"2015-04-09T16:54:58-0700","currency":"USD","name":"Android"},{"id":"act_39788579","account_id":"39788579","account_status":1,"age":2973.0627199074,"created_time":"2009-03-05T15:04:59-0800","currency":"USD","name":"iOS"},{"id":"act_10152335766987003","account_id":"10152335766987003","account_status":1,"age":466.70608796296,"created_time":"2014-10-24T14:38:31-0700","currency":"USD","name":"Chris
55
+ Estreich"}],"paging":{"cursors":{"before":"MjM4NDI1MjkxNDU2NTAyMTcZD","after":"NjAxODA5MTU2MDA0MgZDZD"}}}'
56
+ http_version:
57
+ recorded_at: Wed, 26 Apr 2017 00:48:40 GMT
58
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,115 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://graph.facebook.com/v2.8/act_10152335766987003/campaigns
6
+ body:
7
+ encoding: UTF-8
8
+ string: name=Test&objective=MOBILE_APP_INSTALLS&status=ACTIVE&access_token=<access_token>
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - identity
14
+ User-Agent:
15
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
16
+ Content-Length:
17
+ - '239'
18
+ Content-Type:
19
+ - application/x-www-form-urlencoded
20
+ Host:
21
+ - graph.facebook.com
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ P3p:
28
+ - CP="Facebook has no P3P policy fb.me/p3p"
29
+ Access-Control-Allow-Origin:
30
+ - "*"
31
+ Pragma:
32
+ - no-cache
33
+ Cache-Control:
34
+ - private, no-cache, no-store, must-revalidate
35
+ X-Fb-Rev:
36
+ - '2980367'
37
+ Content-Type:
38
+ - application/json
39
+ X-Fb-Trace-Id:
40
+ - DMTQYubI/4g
41
+ Facebook-Api-Version:
42
+ - v2.8
43
+ Expires:
44
+ - Sat, 01 Jan 2000 00:00:00 GMT
45
+ Set-Cookie:
46
+ - sW=1493167721%3AAaBIRTfoN7MpUjEy; path=/; domain=.graph.facebook.com; secure
47
+ Vary:
48
+ - Accept-Encoding
49
+ X-Fb-Debug:
50
+ - "+KnN1XVwIe+4TpXHvYFat15j3J2REvSOYSypywiTE0eEYqLmMDwjvyobpYgCldYsQU3l4vGOTBPCvdydDwrShQ=="
51
+ Date:
52
+ - Wed, 26 Apr 2017 00:48:41 GMT
53
+ Connection:
54
+ - keep-alive
55
+ Content-Length:
56
+ - '22'
57
+ body:
58
+ encoding: UTF-8
59
+ string: '{"id":"6076262393242"}'
60
+ http_version:
61
+ recorded_at: Wed, 26 Apr 2017 00:48:41 GMT
62
+ - request:
63
+ method: get
64
+ uri: https://graph.facebook.com/v2.8/6076262393242?access_token=<access_token>&fields=id,account_id,buying_type,can_use_spend_cap,configured_status,created_time,effective_status,name,objective,start_time,stop_time,updated_time,spend_cap
65
+ body:
66
+ encoding: US-ASCII
67
+ string: ''
68
+ headers:
69
+ Accept:
70
+ - application/json
71
+ Accept-Encoding:
72
+ - identity
73
+ User-Agent:
74
+ - rest-client/2.0.2 (darwin16.3.0 x86_64) ruby/2.2.6p396
75
+ Host:
76
+ - graph.facebook.com
77
+ response:
78
+ status:
79
+ code: 200
80
+ message: OK
81
+ headers:
82
+ Access-Control-Allow-Origin:
83
+ - "*"
84
+ Etag:
85
+ - '"afc3f4866822b3f672a2f8d9eeb611fae118671d"'
86
+ Pragma:
87
+ - no-cache
88
+ Cache-Control:
89
+ - private, no-cache, no-store, must-revalidate
90
+ X-Fb-Rev:
91
+ - '2980367'
92
+ Content-Type:
93
+ - application/json
94
+ X-Fb-Trace-Id:
95
+ - CrEyPvQAq9U
96
+ Facebook-Api-Version:
97
+ - v2.8
98
+ Expires:
99
+ - Sat, 01 Jan 2000 00:00:00 GMT
100
+ Vary:
101
+ - Accept-Encoding
102
+ X-Fb-Debug:
103
+ - TQt+Z5a0M9NPXirZas9rZ4tt8luhHS0Gc88kC+7GhlqxmSBdkxIPiRl/8TGequR5RlliSYAm/1CXL/vWZJi1vw==
104
+ Date:
105
+ - Wed, 26 Apr 2017 00:48:41 GMT
106
+ Connection:
107
+ - keep-alive
108
+ Content-Length:
109
+ - '333'
110
+ body:
111
+ encoding: UTF-8
112
+ string: '{"id":"6076262393242","account_id":"10152335766987003","buying_type":"AUCTION","can_use_spend_cap":true,"configured_status":"ACTIVE","created_time":"2017-04-25T17:48:41-0700","effective_status":"ACTIVE","name":"Test","objective":"MOBILE_APP_INSTALLS","start_time":"1969-12-31T15:59:59-0800","updated_time":"2017-04-25T17:48:41-0700"}'
113
+ http_version:
114
+ recorded_at: Wed, 26 Apr 2017 00:48:42 GMT
115
+ recorded_with: VCR 3.0.3