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.
- checksums.yaml +4 -4
- data/.approvals +0 -0
- data/.coveralls.yml +1 -0
- data/.rspec +2 -0
- data/.rubocop.yml +13 -1
- data/.rubocop_todo.yml +16 -0
- data/.travis.yml +3 -1
- data/CHANGELOG.md +5 -0
- data/Gemfile +10 -7
- data/Gemfile.lock +56 -19
- data/LICENSE.md +22 -0
- data/README.md +8 -0
- data/facebook_ads.gemspec +2 -2
- data/lib/facebook_ads/ad.rb +2 -2
- data/lib/facebook_ads/ad_account.rb +52 -19
- data/lib/facebook_ads/ad_audience.rb +1 -1
- data/lib/facebook_ads/ad_campaign.rb +47 -5
- data/lib/facebook_ads/ad_creative.rb +4 -4
- data/lib/facebook_ads/ad_exception.rb +7 -1
- data/lib/facebook_ads/ad_image.rb +6 -2
- data/lib/facebook_ads/ad_insight.rb +1 -1
- data/lib/facebook_ads/ad_product.rb +1 -1
- data/lib/facebook_ads/ad_product_catalog.rb +1 -1
- data/lib/facebook_ads/ad_product_feed.rb +1 -1
- data/lib/facebook_ads/ad_product_set.rb +1 -1
- data/lib/facebook_ads/ad_set.rb +5 -5
- data/lib/facebook_ads/ad_targeting.rb +3 -3
- data/lib/facebook_ads/base.rb +10 -9
- data/spec/facebook_ads/ad_account_spec.rb +93 -0
- data/spec/facebook_ads/ad_campaign_spec.rb +19 -0
- data/spec/facebook_ads/ad_creative_spec.rb +4 -0
- data/spec/facebook_ads/ad_image_spec.rb +4 -0
- data/spec/facebook_ads/ad_insight_spec.rb +4 -0
- data/spec/facebook_ads/ad_product_catalog_spec.rb +27 -0
- data/spec/facebook_ads/ad_product_feed_spec.rb +4 -0
- data/spec/facebook_ads/ad_product_set_spec.rb +4 -0
- data/spec/facebook_ads/ad_product_spec.rb +21 -0
- data/spec/facebook_ads/ad_set_spec.rb +47 -0
- data/spec/facebook_ads/ad_spec.rb +4 -0
- data/spec/facebook_ads/ad_targeting_spec.rb +4 -0
- data/spec/facebook_ads/facebook_ads_spec.rb +15 -0
- data/spec/fixtures/approvals/facebookads_adaccount/ad_campaigns/lists_campaigns.approved.json +15 -0
- data/spec/fixtures/approvals/facebookads_adaccount/ad_creatives/lists_creatives.approved.json +1047 -0
- data/spec/fixtures/approvals/facebookads_adaccount/ad_images/lists_images.approved.json +11 -0
- data/spec/fixtures/approvals/facebookads_adaccount/ad_sets/lists_ad_sets.approved.json +3 -0
- data/spec/fixtures/approvals/facebookads_adaccount/ads/lists_ads.approved.json +3 -0
- data/spec/fixtures/approvals/facebookads_adaccount/all/lists_all_accounts.approved.json +92 -0
- data/spec/fixtures/approvals/facebookads_adaccount/create_ad_campaign/creates_a_new_ad_campaign.approved.json +13 -0
- data/spec/fixtures/approvals/facebookads_adaccount/create_ad_images/creates_an_image.approved.json +11 -0
- data/spec/fixtures/approvals/facebookads_adaccount/find_by/finds_a_specific_account.approved.json +9 -0
- data/spec/fixtures/approvals/facebookads_adaccount/reach_estimate/estimates_the_reach_of_a_targeting_spec.approved.json +358 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_campaigns/lists_campaigns.yml +56 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_creatives/lists_creatives.yml +91 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_images/lists_images.yml +56 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ad_sets/lists_ad_sets.yml +56 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_ads/lists_ads.yml +56 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_all/lists_all_accounts.yml +58 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_create_ad_campaign/creates_a_new_ad_campaign.yml +115 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_create_ad_images/creates_an_image.yml +2865 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_find_by/finds_a_specific_account.yml +58 -0
- data/spec/fixtures/cassettes/FacebookAds_AdAccount/_reach_estimate/estimates_the_reach_of_a_targeting_spec.yml +56 -0
- data/spec/fixtures/cassettes/FacebookAds_AdCampaign/_destroy/creates_a_new_ad_campaign.yml +164 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/support/approvals.rb +10 -0
- data/spec/support/facebook_ads.rb +4 -0
- data/spec/support/rest_client.rb +13 -0
- data/spec/support/vcr.rb +16 -0
- metadata +47 -29
- data/test/ad_account_test.rb +0 -27
- data/test/ad_campaign_test.rb +0 -32
- data/test/ad_creative_test.rb +0 -7
- data/test/ad_image_test.rb +0 -27
- data/test/ad_insight_test.rb +0 -7
- data/test/ad_product_catalog_test.rb +0 -28
- data/test/ad_product_feed_test.rb +0 -7
- data/test/ad_product_set_test.rb +0 -7
- data/test/ad_product_test.rb +0 -22
- data/test/ad_set_test.rb +0 -48
- data/test/ad_targeting_test.rb +0 -7
- data/test/ad_test.rb +0 -7
- data/test/facebook_ads_test.rb +0 -8
- data/test/test_helper.rb +0 -64
- data/test/vcr_cassettes/AdAccountTest-test_all.yml +0 -70
- data/test/vcr_cassettes/AdAccountTest-test_applications.yml +0 -130
- data/test/vcr_cassettes/AdAccountTest-test_find_by.yml +0 -71
- data/test/vcr_cassettes/AdCampaignTest-test_create.yml +0 -295
- data/test/vcr_cassettes/AdCampaignTest-test_list.yml +0 -133
- data/test/vcr_cassettes/AdImageTest-test_create.yml +0 -2963
- data/test/vcr_cassettes/AdImageTest-test_list.yml +0 -137
- data/test/vcr_cassettes/AdProductCatalogTest-test_all.yml +0 -60
- data/test/vcr_cassettes/AdProductCatalogTest-test_create.yml +0 -256
- data/test/vcr_cassettes/AdProductTest-test_list.yml +0 -130
- data/test/vcr_cassettes/AdSetTest-test_create.yml +0 -189
- data/test/vcr_cassettes/AdSetTest-test_destroy.yml +0 -124
- data/test/vcr_cassettes/AdSetTest-test_update.yml +0 -134
@@ -1,137 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://graph.facebook.com/v2.8/me/adaccounts?access_token=TEST_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
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Access-Control-Allow-Origin:
|
22
|
-
- "*"
|
23
|
-
Etag:
|
24
|
-
- '"6194b1794c8f5668cfc7f1d4b62a23eb2bf0ccbe"'
|
25
|
-
Pragma:
|
26
|
-
- no-cache
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Facebook-Api-Version:
|
30
|
-
- v2.8
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Content-Type:
|
34
|
-
- application/json; charset=UTF-8
|
35
|
-
X-Fb-Trace-Id:
|
36
|
-
- BQgVK2rolN1
|
37
|
-
X-Fb-Rev:
|
38
|
-
- '2761076'
|
39
|
-
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
Content-Encoding:
|
42
|
-
- gzip
|
43
|
-
X-Fb-Debug:
|
44
|
-
- 2ca24KACKQz6JK2LjnikD7t59wu80iF6wx29ZP4X2YuDUQDLzWulAEtPfXbcLXXk74EdWK6j7BtfLABl0oXBAA==
|
45
|
-
Date:
|
46
|
-
- Sun, 01 Jan 2017 02:33:28 GMT
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
Content-Length:
|
50
|
-
- '630'
|
51
|
-
body:
|
52
|
-
encoding: ASCII-8BIT
|
53
|
-
string: !binary |-
|
54
|
-
H4sIAAAAAAAAA4WUQWvbQBCF/0rQ2RIzuzO7s3sLdQs+2KGJSiGlBEVWHLmt
|
55
|
-
XWSZ1AT/944MhUayYrEHsTPa/Xh6816TZdEWSfz2mtTLJCZF2T6gMZZNYItg
|
56
|
-
rHOUTHS73O437cOp5536ri3a/S6JqFurKonGZcYwQzDcrUlSNlXRVsuHtv6l
|
57
|
-
5cQAuhRNCiZHiKzLpyAAemS5b5pqUx6068vdVDc2xemT6Uu9em6vZrPkOPkf
|
58
|
-
GoNYYCNg0Hh2A+jxeh+aKDPkGZE9gacRaEwRcrQnaLoEfVu1RbOq2nqz6mOL
|
59
|
-
VT2R0KucHobYo/U+tqMsBPn3jGkNqfEnrTlySPXEy1r3ia3xEiw778hSGBKP
|
60
|
-
1vvEiD4LQpZRunWeGCS1mCNHpGjsJeLb6tO++kl9ZGRjlEYvscHzEHm0PkAm
|
61
|
-
zNA4sADjhlbkzhs+Gh/posi3+8fDW14drW5oVEkhYtPHHS8PnGwxE1K/WyTB
|
62
|
-
swLzyRIuh6Dqxg7+fdq82p1xMTAGK2pWFJ0wPxB4vD5IDHJZcE7bPFg/oi+l
|
63
|
-
Rjp9rYngLxF/rR77tPq7rWXvXNBbwA5xxxv6vGrezHsRNx4WdJKYcjWwlWjx
|
64
|
-
EvCH56beXX3ctU1Vl89v2cWpgl6jTByQDIZvvDxICyMZiHWWumh2562hQkPI
|
65
|
-
0WnCRZZL3NebZbNVjDfAOk8i7AekZ/YHVhCWDC1T8E7YnEEEHS6NBO7iAegU
|
66
|
-
aO/ncH1zlxy/T5LfxaozcXztOnfbZte9PlZP26brmq/ntJjOcL7+8Wcx/WIW
|
67
|
-
+fVhnpf33UHFU1s12rNYX7/M1zO4mc4Pi3zFi8/3U204Ho9/ARmJkaBTBwAA
|
68
|
-
http_version:
|
69
|
-
recorded_at: Sun, 01 Jan 2017 02:33:28 GMT
|
70
|
-
- request:
|
71
|
-
method: get
|
72
|
-
uri: https://graph.facebook.com/v2.8/act_1132789356764349/adimages?access_token=TEST_ACCESS_TOKEN&fields=id,hash,account_id,name,permalink_url,original_width,original_height&hashes=%5B%22a9e27630331b8ca2ebac1bb8619c98eb%22,%20%22037b8f4f2383f45f35b110cf72c46f0b%22%5D
|
73
|
-
body:
|
74
|
-
encoding: US-ASCII
|
75
|
-
string: ''
|
76
|
-
headers:
|
77
|
-
Accept:
|
78
|
-
- "*/*; q=0.5, application/xml"
|
79
|
-
Accept-Encoding:
|
80
|
-
- gzip, deflate
|
81
|
-
User-Agent:
|
82
|
-
- Ruby
|
83
|
-
response:
|
84
|
-
status:
|
85
|
-
code: 200
|
86
|
-
message: OK
|
87
|
-
headers:
|
88
|
-
Access-Control-Allow-Origin:
|
89
|
-
- "*"
|
90
|
-
Etag:
|
91
|
-
- '"3ad438b372a2fc4dfc7c4b4f141a953a0850f42f"'
|
92
|
-
Pragma:
|
93
|
-
- no-cache
|
94
|
-
Cache-Control:
|
95
|
-
- private, no-cache, no-store, must-revalidate
|
96
|
-
Facebook-Api-Version:
|
97
|
-
- v2.8
|
98
|
-
Expires:
|
99
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
100
|
-
Content-Type:
|
101
|
-
- application/json; charset=UTF-8
|
102
|
-
X-Fb-Trace-Id:
|
103
|
-
- EmN1DDLXVR2
|
104
|
-
X-Fb-Rev:
|
105
|
-
- '2761076'
|
106
|
-
Vary:
|
107
|
-
- Accept-Encoding
|
108
|
-
Content-Encoding:
|
109
|
-
- gzip
|
110
|
-
X-Fb-Debug:
|
111
|
-
- UF7diwBI7wAk9BPwbzdrAMxMz1rb9xQXG7gPSPJ/ggrxH7khDIAlujQUy8XfhISXGROynIWwthn/rkvRP1AGvg==
|
112
|
-
Date:
|
113
|
-
- Sun, 01 Jan 2017 02:33:29 GMT
|
114
|
-
Connection:
|
115
|
-
- keep-alive
|
116
|
-
Content-Length:
|
117
|
-
- '625'
|
118
|
-
body:
|
119
|
-
encoding: ASCII-8BIT
|
120
|
-
string: !binary |-
|
121
|
-
H4sIAAAAAAAAA62RWW+bQBSF/wvPccy+WKoqarBjnAHbMZihrqxhB4OhLAYm
|
122
|
-
8n8vjvqQh0ZKpL6Nzj33jO75XgkfNYiY/XwlEp+YERTF0IIoMRwv8CzDSjMk
|
123
|
-
BbTAMyTDUK7oITpwkUe5rshTkieJgUs8EDGq43H1E07keUV7aU7//GqcX1Ae
|
124
|
-
3JP8JEdR4Cg0vWQe0zKIxlkZVDnKksv51FbZaIqbpqxnx+lx2nXdY4i8wC2K
|
125
|
-
86NX5Mcp8uvj9C3jOP3uf5O3Gvxx1Y1SsXmHHYwTmE98ofctU3Cd+LlG587u
|
126
|
-
Cp+LDbtVVSjPbSwbXrZtmbQ16PUqZqssXh7YunTimNoO3K4XtFMP8NK3tKeB
|
127
|
-
ul77flnPz4GbTYDPndZYfaliy3GaDWswV7QubXFTrRoBrxfOQjLVeZtL1603
|
128
|
-
XlVUSZRcUHbqEr8ZW+RJ8p0YB0kUN2/q7eEjQiQjuGLIhjQjMiHLhQznUhTp
|
129
|
-
hQLtsXxIviP0CefXCEFk2ObivxBa5RXsBsHUot26Cg+ToXGzaMNFGqu7Cthp
|
130
|
-
Vn99erYC42VRJvok9fOhtxUOR3vefN76wRViW1J3uXJxzN8TdeGEm0w6YSg5
|
131
|
-
mKZWUd3Duhb6UonyFuwMzqyKshV8lXVkCTfLugIK3589Wo5IfScOXmklTC63
|
132
|
-
2pcI/RorQKMcEbNXwmuruqjq+9MNwqK6twb2Kgapxxp7QOmpR+sKII19GRsH
|
133
|
-
c9AxxEABGBxWLKTVwZEPWgzxIoFpRIN9lhr7OIORozjKHVPYBNWHiUUHsJ8Y
|
134
|
-
S0g6crrChqLnumLlAFvJuNBBGjIgB6Sew+5v4u12+wNLeZo0CgQAAA==
|
135
|
-
http_version:
|
136
|
-
recorded_at: Sun, 01 Jan 2017 02:33:29 GMT
|
137
|
-
recorded_with: VCR 3.0.3
|
@@ -1,60 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://graph.facebook.com/v2.8/TEST_BUSINESS_ID/product_catalogs?access_token=TEST_ACCESS_TOKEN&fields=id,name,vertical,product_count,feed_count
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
response:
|
17
|
-
status:
|
18
|
-
code: 200
|
19
|
-
message: OK
|
20
|
-
headers:
|
21
|
-
Access-Control-Allow-Origin:
|
22
|
-
- "*"
|
23
|
-
Etag:
|
24
|
-
- '"4da6baa87a2d2d9485d71880069bf895add8e5de"'
|
25
|
-
Pragma:
|
26
|
-
- no-cache
|
27
|
-
Cache-Control:
|
28
|
-
- private, no-cache, no-store, must-revalidate
|
29
|
-
Facebook-Api-Version:
|
30
|
-
- v2.8
|
31
|
-
Expires:
|
32
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
33
|
-
Content-Type:
|
34
|
-
- application/json; charset=UTF-8
|
35
|
-
X-Fb-Trace-Id:
|
36
|
-
- CqlREkJ8OJg
|
37
|
-
X-Fb-Rev:
|
38
|
-
- '2761076'
|
39
|
-
Vary:
|
40
|
-
- Accept-Encoding
|
41
|
-
Content-Encoding:
|
42
|
-
- gzip
|
43
|
-
X-Fb-Debug:
|
44
|
-
- Ds3NYlectdNlrW6ryiWIACId1My+0Le6V0avtR53Bg8lXWQy7uJ8VWNmngaxYyYcKl8i6lz9ng3yijmbJNB1lw==
|
45
|
-
Date:
|
46
|
-
- Sun, 01 Jan 2017 02:33:32 GMT
|
47
|
-
Connection:
|
48
|
-
- keep-alive
|
49
|
-
Content-Length:
|
50
|
-
- '161'
|
51
|
-
body:
|
52
|
-
encoding: ASCII-8BIT
|
53
|
-
string: !binary |-
|
54
|
-
H4sIAAAAAAAAA3WMsQrCMBRF/+XNHQxRUrMJdqwu3UQkvryWok3kNRFpyL+b
|
55
|
-
Lm5u95x7uQmsCQb0JcFoQYPYq1oJuVFS7JSooQJnJipFR3Mo9CYOI5pnMein
|
56
|
-
iRip2Bd7GzHc0EcXQIsKeiL7w3wtEzOMbgCdACPPnuc13qn3vL633UOej/hp
|
57
|
-
l4Nsl0aclmZbfk0fiP/VOecvv4YTXL4AAAA=
|
58
|
-
http_version:
|
59
|
-
recorded_at: Sun, 01 Jan 2017 02:33:33 GMT
|
60
|
-
recorded_with: VCR 3.0.3
|
@@ -1,256 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://graph.facebook.com/v2.8/TEST_BUSINESS_ID/product_catalogs
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: name=Foo%20Bar&access_token=TEST_ACCESS_TOKEN&fields=id%2Cname%2Cvertical%2Cproduct_count%2Cfeed_count
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- "*/*; q=0.5, application/xml"
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Length:
|
15
|
-
- '257'
|
16
|
-
Content-Type:
|
17
|
-
- application/x-www-form-urlencoded
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Access-Control-Allow-Origin:
|
26
|
-
- "*"
|
27
|
-
Pragma:
|
28
|
-
- no-cache
|
29
|
-
Cache-Control:
|
30
|
-
- private, no-cache, no-store, must-revalidate
|
31
|
-
Facebook-Api-Version:
|
32
|
-
- v2.8
|
33
|
-
Expires:
|
34
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
35
|
-
Content-Type:
|
36
|
-
- application/json; charset=UTF-8
|
37
|
-
X-Fb-Trace-Id:
|
38
|
-
- DwKDrC1jPrM
|
39
|
-
X-Fb-Rev:
|
40
|
-
- '2761076'
|
41
|
-
X-Fb-Debug:
|
42
|
-
- 3gvbCpvLrQ+TEr+mRGfN5U0B0gDgMY4MT+NgHGOMAKAh+Q8E9Vk50vcBsjOGU97UCm3Pug0OMc3279LedWYqgg==
|
43
|
-
Date:
|
44
|
-
- Sun, 01 Jan 2017 02:33:33 GMT
|
45
|
-
Connection:
|
46
|
-
- keep-alive
|
47
|
-
Content-Length:
|
48
|
-
- '24'
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"id":"170503373426164"}'
|
52
|
-
http_version:
|
53
|
-
recorded_at: Sun, 01 Jan 2017 02:33:33 GMT
|
54
|
-
- request:
|
55
|
-
method: get
|
56
|
-
uri: https://graph.facebook.com/v2.8/170503373426164?access_token=TEST_ACCESS_TOKEN&fields=id,name,vertical,product_count,feed_count
|
57
|
-
body:
|
58
|
-
encoding: US-ASCII
|
59
|
-
string: ''
|
60
|
-
headers:
|
61
|
-
Accept:
|
62
|
-
- "*/*; q=0.5, application/xml"
|
63
|
-
Accept-Encoding:
|
64
|
-
- gzip, deflate
|
65
|
-
User-Agent:
|
66
|
-
- Ruby
|
67
|
-
response:
|
68
|
-
status:
|
69
|
-
code: 200
|
70
|
-
message: OK
|
71
|
-
headers:
|
72
|
-
Access-Control-Allow-Origin:
|
73
|
-
- "*"
|
74
|
-
Etag:
|
75
|
-
- '"82aa1b8e08c74e0b1a196f692648495bbf769761"'
|
76
|
-
Pragma:
|
77
|
-
- no-cache
|
78
|
-
Cache-Control:
|
79
|
-
- private, no-cache, no-store, must-revalidate
|
80
|
-
Facebook-Api-Version:
|
81
|
-
- v2.8
|
82
|
-
Expires:
|
83
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
84
|
-
Content-Type:
|
85
|
-
- application/json; charset=UTF-8
|
86
|
-
X-Fb-Trace-Id:
|
87
|
-
- BiXTKhZ20on
|
88
|
-
X-Fb-Rev:
|
89
|
-
- '2761076'
|
90
|
-
X-Fb-Debug:
|
91
|
-
- HD5mJaaE1aump6kkPEiWsi9mUaeicnQEVxKMOIJUkKT5HM7B51M/8SVr1WxAIjgD79IllSC/iPpxSL6whC2ywA==
|
92
|
-
Date:
|
93
|
-
- Sun, 01 Jan 2017 02:33:33 GMT
|
94
|
-
Connection:
|
95
|
-
- keep-alive
|
96
|
-
Content-Length:
|
97
|
-
- '96'
|
98
|
-
body:
|
99
|
-
encoding: UTF-8
|
100
|
-
string: '{"id":"170503373426164","name":"Foo Bar","vertical":"commerce","product_count":0,"feed_count":0}'
|
101
|
-
http_version:
|
102
|
-
recorded_at: Sun, 01 Jan 2017 02:33:33 GMT
|
103
|
-
- request:
|
104
|
-
method: get
|
105
|
-
uri: https://graph.facebook.com/v2.8/170503373426164?access_token=TEST_ACCESS_TOKEN&fields=id,name,vertical,product_count,feed_count
|
106
|
-
body:
|
107
|
-
encoding: US-ASCII
|
108
|
-
string: ''
|
109
|
-
headers:
|
110
|
-
Accept:
|
111
|
-
- "*/*; q=0.5, application/xml"
|
112
|
-
Accept-Encoding:
|
113
|
-
- gzip, deflate
|
114
|
-
User-Agent:
|
115
|
-
- Ruby
|
116
|
-
response:
|
117
|
-
status:
|
118
|
-
code: 200
|
119
|
-
message: OK
|
120
|
-
headers:
|
121
|
-
Access-Control-Allow-Origin:
|
122
|
-
- "*"
|
123
|
-
Etag:
|
124
|
-
- '"82aa1b8e08c74e0b1a196f692648495bbf769761"'
|
125
|
-
Pragma:
|
126
|
-
- no-cache
|
127
|
-
Cache-Control:
|
128
|
-
- private, no-cache, no-store, must-revalidate
|
129
|
-
Facebook-Api-Version:
|
130
|
-
- v2.8
|
131
|
-
Expires:
|
132
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
133
|
-
Content-Type:
|
134
|
-
- application/json; charset=UTF-8
|
135
|
-
X-Fb-Trace-Id:
|
136
|
-
- CM9KCf1EzSG
|
137
|
-
X-Fb-Rev:
|
138
|
-
- '2761076'
|
139
|
-
X-Fb-Debug:
|
140
|
-
- XXELCZN8fyEMaburaOO2Q7yNVLVklB6zyB0reIPjRDqVaFF18ToehByTFbOxwqltj3TRbA5wCWBtVeCaxROuwg==
|
141
|
-
Date:
|
142
|
-
- Sun, 01 Jan 2017 02:33:34 GMT
|
143
|
-
Connection:
|
144
|
-
- keep-alive
|
145
|
-
Content-Length:
|
146
|
-
- '96'
|
147
|
-
body:
|
148
|
-
encoding: UTF-8
|
149
|
-
string: '{"id":"170503373426164","name":"Foo Bar","vertical":"commerce","product_count":0,"feed_count":0}'
|
150
|
-
http_version:
|
151
|
-
recorded_at: Sun, 01 Jan 2017 02:33:34 GMT
|
152
|
-
- request:
|
153
|
-
method: delete
|
154
|
-
uri: https://graph.facebook.com/v2.8/170503373426164?access_token=TEST_ACCESS_TOKEN
|
155
|
-
body:
|
156
|
-
encoding: US-ASCII
|
157
|
-
string: ''
|
158
|
-
headers:
|
159
|
-
Accept:
|
160
|
-
- "*/*; q=0.5, application/xml"
|
161
|
-
Accept-Encoding:
|
162
|
-
- gzip, deflate
|
163
|
-
User-Agent:
|
164
|
-
- Ruby
|
165
|
-
response:
|
166
|
-
status:
|
167
|
-
code: 200
|
168
|
-
message: OK
|
169
|
-
headers:
|
170
|
-
Access-Control-Allow-Origin:
|
171
|
-
- "*"
|
172
|
-
Pragma:
|
173
|
-
- no-cache
|
174
|
-
Cache-Control:
|
175
|
-
- private, no-cache, no-store, must-revalidate
|
176
|
-
Facebook-Api-Version:
|
177
|
-
- v2.8
|
178
|
-
Expires:
|
179
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
180
|
-
Content-Type:
|
181
|
-
- application/json; charset=UTF-8
|
182
|
-
X-Fb-Trace-Id:
|
183
|
-
- CG5cLmJxMvy
|
184
|
-
X-Fb-Rev:
|
185
|
-
- '2761076'
|
186
|
-
X-Fb-Debug:
|
187
|
-
- 8kmeA1oA4BxPq1/CCOCFfpvU+7RrN22n5Rgex8/RdO5fRhGkod6NSfhCEAKjy7Nyk/tixnLUJIJi+AtOHQu1nA==
|
188
|
-
Date:
|
189
|
-
- Sun, 01 Jan 2017 02:33:34 GMT
|
190
|
-
Connection:
|
191
|
-
- keep-alive
|
192
|
-
Content-Length:
|
193
|
-
- '16'
|
194
|
-
body:
|
195
|
-
encoding: UTF-8
|
196
|
-
string: '{"success":true}'
|
197
|
-
http_version:
|
198
|
-
recorded_at: Sun, 01 Jan 2017 02:33:34 GMT
|
199
|
-
- request:
|
200
|
-
method: get
|
201
|
-
uri: https://graph.facebook.com/v2.8/TEST_BUSINESS_ID/product_catalogs?access_token=TEST_ACCESS_TOKEN&fields=id,name,vertical,product_count,feed_count
|
202
|
-
body:
|
203
|
-
encoding: US-ASCII
|
204
|
-
string: ''
|
205
|
-
headers:
|
206
|
-
Accept:
|
207
|
-
- "*/*; q=0.5, application/xml"
|
208
|
-
Accept-Encoding:
|
209
|
-
- gzip, deflate
|
210
|
-
User-Agent:
|
211
|
-
- Ruby
|
212
|
-
response:
|
213
|
-
status:
|
214
|
-
code: 200
|
215
|
-
message: OK
|
216
|
-
headers:
|
217
|
-
Access-Control-Allow-Origin:
|
218
|
-
- "*"
|
219
|
-
Etag:
|
220
|
-
- '"4da6baa87a2d2d9485d71880069bf895add8e5de"'
|
221
|
-
Pragma:
|
222
|
-
- no-cache
|
223
|
-
Cache-Control:
|
224
|
-
- private, no-cache, no-store, must-revalidate
|
225
|
-
Facebook-Api-Version:
|
226
|
-
- v2.8
|
227
|
-
Expires:
|
228
|
-
- Sat, 01 Jan 2000 00:00:00 GMT
|
229
|
-
Content-Type:
|
230
|
-
- application/json; charset=UTF-8
|
231
|
-
X-Fb-Trace-Id:
|
232
|
-
- GdK+cnbk26h
|
233
|
-
X-Fb-Rev:
|
234
|
-
- '2761076'
|
235
|
-
Vary:
|
236
|
-
- Accept-Encoding
|
237
|
-
Content-Encoding:
|
238
|
-
- gzip
|
239
|
-
X-Fb-Debug:
|
240
|
-
- 4Wg7uXPOHMXJya6/WDHSD1SCkO6HoIlERtCLfjXW8fKZw7CWBL20201f5Q+1FvJ2ApHR/SLLyYIL7t0LBO553g==
|
241
|
-
Date:
|
242
|
-
- Sun, 01 Jan 2017 02:33:34 GMT
|
243
|
-
Connection:
|
244
|
-
- keep-alive
|
245
|
-
Content-Length:
|
246
|
-
- '161'
|
247
|
-
body:
|
248
|
-
encoding: ASCII-8BIT
|
249
|
-
string: !binary |-
|
250
|
-
H4sIAAAAAAAAA3WMsQrCMBRF/+XNHQxRUrMJdqwu3UQkvryWok3kNRFpyL+b
|
251
|
-
Lm5u95x7uQmsCQb0JcFoQYPYq1oJuVFS7JSooQJnJipFR3Mo9CYOI5pnMein
|
252
|
-
iRip2Bd7GzHc0EcXQIsKeiL7w3wtEzOMbgCdACPPnuc13qn3vL633UOej/hp
|
253
|
-
l4Nsl0aclmZbfk0fiP/VOecvv4YTXL4AAAA=
|
254
|
-
http_version:
|
255
|
-
recorded_at: Sun, 01 Jan 2017 02:33:34 GMT
|
256
|
-
recorded_with: VCR 3.0.3
|