Official Facebook Pixel - Version 2.2.2

Version Description

Download this release

Release Info

Developer Facebook
Plugin Icon Official Facebook Pixel
Version 2.2.2
Comparing to
See all releases

Code changes from version 2.2.1 to 2.2.2

Files changed (183) hide show
  1. changelog.txt +3 -0
  2. composer.json +1 -1
  3. composer.lock +11 -8
  4. core/FacebookPluginConfig.php +1 -1
  5. facebook-for-wordpress.php +1 -1
  6. languages/official-facebook-pixel-ar_AR.po +1 -1
  7. languages/official-facebook-pixel-cs_CZ.po +1 -1
  8. languages/official-facebook-pixel-da_DK.po +1 -1
  9. languages/official-facebook-pixel-de_DE.po +1 -1
  10. languages/official-facebook-pixel-en_GB.po +1 -1
  11. languages/official-facebook-pixel-es_ES.po +1 -1
  12. languages/official-facebook-pixel-es_LA.po +1 -1
  13. languages/official-facebook-pixel-fi_FI.po +1 -1
  14. languages/official-facebook-pixel-fr_CA.po +1 -1
  15. languages/official-facebook-pixel-fr_FR.po +1 -1
  16. languages/official-facebook-pixel-he_IL.po +1 -1
  17. languages/official-facebook-pixel-it_IT.po +1 -1
  18. languages/official-facebook-pixel-ja_JP.po +1 -1
  19. languages/official-facebook-pixel-ko_KR.po +1 -1
  20. languages/official-facebook-pixel-nb_NO.po +1 -1
  21. languages/official-facebook-pixel-nl_NL.po +1 -1
  22. languages/official-facebook-pixel-pl_PL.po +1 -1
  23. languages/official-facebook-pixel-pt_BR.po +1 -1
  24. languages/official-facebook-pixel-pt_PT.po +1 -1
  25. languages/official-facebook-pixel-ru_RU.po +1 -1
  26. languages/official-facebook-pixel-sv_SE.po +1 -1
  27. languages/official-facebook-pixel-th_TH.po +1 -1
  28. languages/official-facebook-pixel-tr_TR.po +1 -1
  29. languages/official-facebook-pixel-vi_VN.po +1 -1
  30. languages/official-facebook-pixel-zh_CN.po +1 -1
  31. languages/official-facebook-pixel-zh_TW.po +1 -1
  32. readme.txt +4 -1
  33. vendor/autoload.php +1 -1
  34. vendor/composer/autoload_real.php +7 -7
  35. vendor/composer/autoload_static.php +4 -4
  36. vendor/composer/installed.json +11 -8
  37. vendor/facebook/php-business-sdk/CHANGELOG.md +17 -0
  38. vendor/facebook/php-business-sdk/composer.json +1 -1
  39. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php +2 -2
  40. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php +2 -2
  41. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php +2 -2
  42. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php +2 -2
  43. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php +2 -2
  44. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php +2 -2
  45. vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php +2 -2
  46. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostCreateCustomAudience.php +1 -1
  47. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostDynamicEventValueBasedLookalikeCustomAudience.php +1 -1
  48. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostDynamicValueBasedLookalikeCustomAudience.php +1 -1
  49. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformCustomAudienceMACARule.php +1 -1
  50. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAExclusions.php +1 -1
  51. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAMultiFilters.php +1 -1
  52. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAMultiPages.php +1 -1
  53. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformEngagementCustomAudience.php +1 -1
  54. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformWebsiteCustomAudience.php +1 -1
  55. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostValueBasedCustomAudience.php +1 -1
  56. vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostValueBasedLookalikeCustomAudience.php +1 -1
  57. vendor/facebook/php-business-sdk/examples/AdAccountReachEstimate.php +1 -1
  58. vendor/facebook/php-business-sdk/examples/AdCampaignActivityNode.php +1 -1
  59. vendor/facebook/php-business-sdk/examples/AdCampaignGroupActivityNode.php +1 -1
  60. vendor/facebook/php-business-sdk/examples/AdCampaignGroupAdsEdgeAdgroupsWithStatusArchived.php +1 -1
  61. vendor/facebook/php-business-sdk/examples/AdCreativeNodeReadInstagramPermalinkUrl.php +1 -1
  62. vendor/facebook/php-business-sdk/examples/AdgroupActivityNode.php +1 -1
  63. vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php +1 -1
  64. vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php +1 -1
  65. vendor/facebook/php-business-sdk/examples/AdsPixelSharedAccountsEdge.php +1 -1
  66. vendor/facebook/php-business-sdk/examples/AdsPixelSharedAgenciesEdge.php +1 -1
  67. vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostDestinationCatalog.php +1 -1
  68. vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostFlightCatalog.php +1 -1
  69. vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostHotelCatalog.php +1 -1
  70. vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostProductCatalog.php +1 -1
  71. vendor/facebook/php-business-sdk/examples/PageFeedEdge.php +1 -1
  72. vendor/facebook/php-business-sdk/examples/PageNode.php +1 -1
  73. vendor/facebook/php-business-sdk/examples/PagePhotosPost.php +1 -1
  74. vendor/facebook/php-business-sdk/examples/PagePictureEdge.php +1 -1
  75. vendor/facebook/php-business-sdk/examples/PagePostCommentsEdge.php +46 -0
  76. vendor/facebook/php-business-sdk/examples/PagePostCommentsPost.php +1 -1
  77. vendor/facebook/php-business-sdk/examples/PagePostDelete.php +1 -1
  78. vendor/facebook/php-business-sdk/examples/PagePostNode.php +1 -1
  79. vendor/facebook/php-business-sdk/examples/PagePostPost.php +1 -1
  80. vendor/facebook/php-business-sdk/examples/PagePostsEdge.php +1 -1
  81. vendor/facebook/php-business-sdk/examples/PagePostsEdgePagePostCreateCarousel.php +1 -1
  82. vendor/facebook/php-business-sdk/examples/PageRolesEdge.php +1 -1
  83. vendor/facebook/php-business-sdk/examples/ProductCatalogProductFeedsPostProductFeed.php +1 -1
  84. vendor/facebook/php-business-sdk/examples/UserAccountsEdge.php +1 -1
  85. vendor/facebook/php-business-sdk/examples/UserLeadGenInfoNode.php +1 -1
  86. vendor/facebook/php-business-sdk/examples/UserNode.php +1 -1
  87. vendor/facebook/php-business-sdk/examples/VideoThumbnailsEdge.php +1 -1
  88. vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php +2 -2
  89. vendor/facebook/php-business-sdk/src/FacebookAds/CrashReporter.php +1 -1
  90. vendor/facebook/php-business-sdk/src/FacebookAds/Http/Client.php +2 -2
  91. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php +38 -24
  92. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountTargetingUnified.php +3 -1
  93. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php +0 -1
  94. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php +0 -1
  95. vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php +0 -24
  96. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php +70 -57
  97. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUnit.php +0 -1
  98. vendor/facebook/php-business-sdk/src/FacebookAds/Object/BusinessUser.php +0 -7
  99. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Campaign.php +4 -0
  100. vendor/facebook/php-business-sdk/src/FacebookAds/Object/CommerceMerchantSettings.php +0 -107
  101. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCampaignActivityFields.php +8 -0
  102. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdCreativeFields.php +4 -0
  103. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdgroupActivityFields.php +4 -0
  104. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/AdoptablePetFields.php +14 -0
  105. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/Agency.php +1 -1
  106. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ApplicationFields.php +2 -0
  107. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CampaignFields.php +4 -0
  108. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsFields.php +2 -0
  109. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/CommerceMerchantSettingsSetupStatusFields.php +2 -0
  110. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ExtendedCreditFields.php +0 -2
  111. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PageFields.php +2 -0
  112. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/PlayableContentFields.php +2 -0
  113. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductCatalogFields.php +0 -2
  114. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductFeedFields.php +2 -0
  115. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ProductItemFields.php +4 -0
  116. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/ReferralFields.php +4 -0
  117. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/UserFields.php +8 -0
  118. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Fields/WhatsAppBusinessAccountFields.php +2 -0
  119. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Flight.php +2 -0
  120. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Group.php +1 -0
  121. vendor/facebook/php-business-sdk/src/FacebookAds/Object/HotelRoom.php +0 -23
  122. vendor/facebook/php-business-sdk/src/FacebookAds/Object/IGUser.php +1 -0
  123. vendor/facebook/php-business-sdk/src/FacebookAds/Object/InstagramUser.php +1 -0
  124. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Link.php +33 -0
  125. vendor/facebook/php-business-sdk/src/FacebookAds/Object/LiveVideo.php +0 -8
  126. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Page.php +76 -47
  127. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Post.php +18 -0
  128. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductCatalog.php +4 -24
  129. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductFeed.php +1 -0
  130. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductItem.php +1 -0
  131. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ProductSet.php +1 -0
  132. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Referral.php +2 -0
  133. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Content.php +22 -0
  134. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/CustomData.php +7 -1
  135. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/EventRequest.php +24 -15
  136. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/HttpServiceClientConfig.php +13 -4
  137. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/HttpServiceInterface.php +1 -0
  138. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ServerSide/Util.php +8 -0
  139. vendor/facebook/php-business-sdk/src/FacebookAds/Object/ThirdPartyMeasurementReportDataset.php +24 -0
  140. vendor/facebook/php-business-sdk/src/FacebookAds/Object/User.php +48 -74
  141. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountAdVolumeRecommendationTypeValues.php +1 -0
  142. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedAppStoreValues.php +53 -0
  143. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAccountTargetingUnifiedObjectiveValues.php +1 -0
  144. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdActivityEventTypeValues.php +0 -1
  145. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAssetFeedSpecCallToActionTypesValues.php +4 -0
  146. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdAsyncRequestStatusesValues.php +2 -0
  147. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeCallToActionTypeValues.php +4 -0
  148. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdCreativeLinkDataCallToActionTypeValues.php +4 -0
  149. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdPreviewAdFormatValues.php +1 -0
  150. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdRuleExecutionSpecExecutionTypeValues.php +4 -0
  151. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdVideoContainerTypeValues.php +3 -0
  152. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsInsightsActionReportTimeValues.php +1 -0
  153. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsPixelAutomaticMatchingFieldsValues.php +1 -0
  154. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsPixelDataUseSettingValues.php +1 -1
  155. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/AdsPixelFirstPartyCookieStatusValues.php +1 -1
  156. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessAssetGroupPageTasksValues.php +0 -1
  157. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessPagePermittedTasksValues.php +0 -1
  158. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessRoleRequestRoleValues.php +4 -4
  159. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/BusinessUserRoleValues.php +4 -4
  160. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/CampaignObjectiveValues.php +1 -0
  161. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{CommerceMerchantSettingsMerchantStatusValues.php → CampaignSmartPromotionTypeValues.php} +4 -4
  162. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupGroupTypeValues.php +1 -0
  163. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/GroupPurposeValues.php +1 -0
  164. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PagePermittedTasksValues.php +0 -1
  165. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageSubscribedFieldsValues.php +1 -0
  166. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PageTasksValues.php +0 -1
  167. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PostCheckinEntryPointValues.php +44 -0
  168. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/{CommerceMerchantSettingsCtaValues.php → PostFormattingValues.php} +4 -4
  169. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{AdCreativeInstagramBrandedContent.php → Values/PostPlaceAttachmentSettingValues.php} +6 -21
  170. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PostPostSurfacesBlacklistValues.php +45 -0
  171. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PostPostingToRedspaceValues.php +42 -0
  172. vendor/facebook/php-business-sdk/src/FacebookAds/Object/{Fields/AdCreativeInstagramBrandedContentFields.php → Values/PostTargetSurfaceValues.php} +5 -8
  173. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/PostUnpublishedContentTypeValues.php +47 -0
  174. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/ProductCatalogVerticalValues.php +1 -0
  175. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/SystemUserRoleValues.php +0 -55
  176. vendor/facebook/php-business-sdk/src/FacebookAds/Object/Values/VehicleAvailabilityValues.php +1 -0
  177. vendor/facebook/php-business-sdk/src/FacebookAds/Object/WhatsAppBusinessAccount.php +46 -0
  178. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Http/ClientTest.php +2 -2
  179. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/ContentTest.php +20 -1
  180. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/CustomDataTest.php +7 -0
  181. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/EventRequestTest.php +31 -20
  182. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/ServerSideUtilTest.php +15 -0
  183. vendor/facebook/php-business-sdk/test/FacebookAdsTest/Object/ServerSide/TestHelpers/E2ETestHttpService.php +0 -64
changelog.txt CHANGED
@@ -1,4 +1,7 @@
1
  *** Facebook for WordPress Changelog ***
 
 
 
2
  2020-11-04 version 2.2.1
3
  * Stop sending events for internal users
4
  * Fix Contact Form 7 integration bug, send events only on form submit success
1
  *** Facebook for WordPress Changelog ***
2
+ 2020-12-08 version 2.2.2
3
+ * Update Business SDK to v9.0.1
4
+
5
  2020-11-04 version 2.2.1
6
  * Stop sending events for internal users
7
  * Fix Contact Form 7 integration bug, send events only on form submit success
composer.json CHANGED
@@ -9,7 +9,7 @@
9
  },
10
  "license": "GPL",
11
  "require": {
12
- "facebook/php-business-sdk": "8.0.2",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
9
  },
10
  "license": "GPL",
11
  "require": {
12
+ "facebook/php-business-sdk": "9.0.1",
13
  "techcrunch/wp-async-task": "dev-master"
14
  },
15
  "autoload": {
composer.lock CHANGED
@@ -4,24 +4,24 @@
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
- "content-hash": "a0aad8d1bffd3ae28611c14df87c968a",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
- "version": "8.0.2",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
- "reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d"
16
  },
17
  "dist": {
18
  "type": "zip",
19
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/637fce87380d4a65f6d4c24cc79664fa28c3428d",
20
- "reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d",
21
  "shasum": ""
22
  },
23
  "require": {
24
- "guzzlehttp/guzzle": "^6.5"
25
  },
26
  "require-dev": {
27
  "mockery/mockery": "1.3.3",
@@ -45,7 +45,10 @@
45
  "page",
46
  "sdk"
47
  ],
48
- "time": "2020-09-18T00:34:44+00:00"
 
 
 
49
  },
50
  {
51
  "name": "guzzlehttp/guzzle",
@@ -3136,5 +3139,5 @@
3136
  "prefer-lowest": false,
3137
  "platform": [],
3138
  "platform-dev": [],
3139
- "plugin-api-version": "1.1.0"
3140
  }
4
  "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
  "This file is @generated automatically"
6
  ],
7
+ "content-hash": "f3617bd0b592188283a11223e67f9e0a",
8
  "packages": [
9
  {
10
  "name": "facebook/php-business-sdk",
11
+ "version": "9.0.1",
12
  "source": {
13
  "type": "git",
14
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
15
+ "reference": "7edcdcfcd551196c90246875f875dbb48d35cd98"
16
  },
17
  "dist": {
18
  "type": "zip",
19
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/7edcdcfcd551196c90246875f875dbb48d35cd98",
20
+ "reference": "7edcdcfcd551196c90246875f875dbb48d35cd98",
21
  "shasum": ""
22
  },
23
  "require": {
24
+ "guzzlehttp/guzzle": "^6.5 || ^7.0"
25
  },
26
  "require-dev": {
27
  "mockery/mockery": "1.3.3",
45
  "page",
46
  "sdk"
47
  ],
48
+ "support": {
49
+ "source": "https://github.com/facebook/facebook-php-business-sdk/tree/9.0.1"
50
+ },
51
+ "time": "2020-11-17T23:35:14+00:00"
52
  },
53
  {
54
  "name": "guzzlehttp/guzzle",
3139
  "prefer-lowest": false,
3140
  "platform": [],
3141
  "platform-dev": [],
3142
+ "plugin-api-version": "2.0.0"
3143
  }
core/FacebookPluginConfig.php CHANGED
@@ -20,7 +20,7 @@ namespace FacebookPixelPlugin\Core;
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
- const PLUGIN_VERSION = '2.2.1';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
 
20
  defined('ABSPATH') or die('Direct access not allowed');
21
 
22
  class FacebookPluginConfig {
23
+ const PLUGIN_VERSION = '2.2.2';
24
  const SOURCE = 'wordpress';
25
  const TEXT_DOMAIN = 'official-facebook-pixel';
26
 
facebook-for-wordpress.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
- * Version: 2.2.1
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
5
  * Description: <strong><em>***ATTENTION: After upgrade the plugin may be deactivated due to a known issue, to workaround please refresh this page and activate plugin.***</em></strong> The Facebook pixel is an analytics tool that helps you measure the effectiveness of your advertising. You can use the Facebook pixel to understand the actions people are taking on your website and reach audiences you care about.
6
  * Author: Facebook
7
  * Author URI: https://www.facebook.com/
8
+ * Version: 2.2.2
9
  * Text Domain: official-facebook-pixel
10
  */
11
 
languages/official-facebook-pixel-ar_AR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-cs_CZ.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-da_DK.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-de_DE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-en_GB.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_ES.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-es_LA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fi_FI.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_CA.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-fr_FR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-he_IL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-it_IT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ja_JP.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ko_KR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nb_NO.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-nl_NL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pl_PL.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_BR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-pt_PT.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-ru_RU.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-sv_SE.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-th_TH.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-pixel\n"
7
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
8
  "PO-Revision-Date: 2018-11-28 17:37-0800\n"
languages/official-facebook-pixel-tr_TR.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-vi_VN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_CN.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
languages/official-facebook-pixel-zh_TW.po CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Official Facebook Pixel 2.2.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
2
  # This file is distributed under the same license as the Facebook Pixel package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Official Facebook Pixel 2.2.2\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/official-facebook-"
7
  "pixel\n"
8
  "POT-Creation-Date: 2018-11-29 01:26:28+00:00\n"
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: Facebook, Facebook Conversion Pixel, Facebook Pixel, Facebook Pixel Events
4
  Requires at least: 4.4
5
  Tested up to: 7.4
6
  Requires PHP: 5.6
7
- Stable tag: 2.2.0
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -50,6 +50,9 @@ If you get stuck, or have any questions, you can ask for help in the [Official F
50
  Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
51
 
52
  == Changelog ==
 
 
 
53
  = 2020-11-04 version 2.2.1 =
54
  * Stop sending events for internal users
55
  * Fix Contact Form 7 integration bug, send events only on form submit success
4
  Requires at least: 4.4
5
  Tested up to: 7.4
6
  Requires PHP: 5.6
7
+ Stable tag: 2.2.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
50
  Of course! This plugin is open sourced on the Facebook Incubator GitHub. You can find the code and contribution instructions in the [plugin repository](https://github.com/facebookincubator/Facebook-Pixel-for-WordPress).
51
 
52
  == Changelog ==
53
+ = 2020-12-08 version 2.2.2 =
54
+ * Update Business SDK to v9.0.1
55
+
56
  = 2020-11-04 version 2.2.1 =
57
  * Stop sending events for internal users
58
  * Fix Contact Form 7 integration bug, send events only on form submit success
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitf5dc60b911b965ef7d900e2c71f975ec::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInitb70dda9054913ec540ad699dadb60915::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInitb70dda9054913ec540ad699dadb60915
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInitb70dda9054913ec540ad699dadb60915::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequireb70dda9054913ec540ad699dadb60915($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequireb70dda9054913ec540ad699dadb60915($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitf5dc60b911b965ef7d900e2c71f975ec
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitf5dc60b911b965ef7d900e2c71f975ec', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitf5dc60b911b965ef7d900e2c71f975ec', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequiref5dc60b911b965ef7d900e2c71f975ec($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequiref5dc60b911b965ef7d900e2c71f975ec($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitb70dda9054913ec540ad699dadb60915
8
  {
9
  public static $files = array (
10
  '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
@@ -110,9 +110,9 @@ class ComposerStaticInitb70dda9054913ec540ad699dadb60915
110
  public static function getInitializer(ClassLoader $loader)
111
  {
112
  return \Closure::bind(function () use ($loader) {
113
- $loader->prefixLengthsPsr4 = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$prefixLengthsPsr4;
114
- $loader->prefixDirsPsr4 = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$prefixDirsPsr4;
115
- $loader->classMap = ComposerStaticInitb70dda9054913ec540ad699dadb60915::$classMap;
116
 
117
  }, null, ClassLoader::class);
118
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec
8
  {
9
  public static $files = array (
10
  '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
110
  public static function getInitializer(ClassLoader $loader)
111
  {
112
  return \Closure::bind(function () use ($loader) {
113
+ $loader->prefixLengthsPsr4 = ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec::$prefixLengthsPsr4;
114
+ $loader->prefixDirsPsr4 = ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec::$prefixDirsPsr4;
115
+ $loader->classMap = ComposerStaticInitf5dc60b911b965ef7d900e2c71f975ec::$classMap;
116
 
117
  }, null, ClassLoader::class);
118
  }
vendor/composer/installed.json CHANGED
@@ -1,28 +1,28 @@
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
- "version": "8.0.2",
5
- "version_normalized": "8.0.2.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
- "reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/637fce87380d4a65f6d4c24cc79664fa28c3428d",
14
- "reference": "637fce87380d4a65f6d4c24cc79664fa28c3428d",
15
  "shasum": ""
16
  },
17
  "require": {
18
- "guzzlehttp/guzzle": "^6.5"
19
  },
20
  "require-dev": {
21
  "mockery/mockery": "1.3.3",
22
  "phpunit/phpunit": "~8",
23
  "symfony/finder": "~2.6"
24
  },
25
- "time": "2020-09-18T00:34:44+00:00",
26
  "type": "library",
27
  "installation-source": "dist",
28
  "autoload": {
@@ -40,7 +40,10 @@
40
  "instagram",
41
  "page",
42
  "sdk"
43
- ]
 
 
 
44
  },
45
  {
46
  "name": "guzzlehttp/guzzle",
1
  [
2
  {
3
  "name": "facebook/php-business-sdk",
4
+ "version": "9.0.1",
5
+ "version_normalized": "9.0.1.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/facebook/facebook-php-business-sdk.git",
9
+ "reference": "7edcdcfcd551196c90246875f875dbb48d35cd98"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/facebook/facebook-php-business-sdk/zipball/7edcdcfcd551196c90246875f875dbb48d35cd98",
14
+ "reference": "7edcdcfcd551196c90246875f875dbb48d35cd98",
15
  "shasum": ""
16
  },
17
  "require": {
18
+ "guzzlehttp/guzzle": "^6.5 || ^7.0"
19
  },
20
  "require-dev": {
21
  "mockery/mockery": "1.3.3",
22
  "phpunit/phpunit": "~8",
23
  "symfony/finder": "~2.6"
24
  },
25
+ "time": "2020-11-17T23:35:14+00:00",
26
  "type": "library",
27
  "installation-source": "dist",
28
  "autoload": {
40
  "instagram",
41
  "page",
42
  "sdk"
43
+ ],
44
+ "support": {
45
+ "source": "https://github.com/facebook/facebook-php-business-sdk/tree/9.0.1"
46
+ }
47
  },
48
  {
49
  "name": "guzzlehttp/guzzle",
vendor/facebook/php-business-sdk/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
5
 
6
  ## Unreleased
7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  ## v8.0.2
9
 
10
  ### Added
5
 
6
  ## Unreleased
7
 
8
+ ## v9.0.0
9
+
10
+
11
+ ### Added
12
+ - `delivery_category` field to Content for Conversions API.
13
+
14
+ ### Changed
15
+ - Add empty to the list of reserved keywords.
16
+ - Change empty value enum name in AdsPixelFirstPartyCookieStatusValues and AdsPixelDataUseSettingValues
17
+
18
+ ## v8.0.3
19
+
20
+ ### Changed
21
+ - Fixed a normalization issue for zero values in CustomData in Conversions API
22
+ - Start passing in the appsecret_proof to Conversions API custom http_clients when an appsecret is set
23
+ - A Conversions API EventRequest custom http_client must now be an object instead of a class name
24
+
25
  ## v8.0.2
26
 
27
  ### Added
vendor/facebook/php-business-sdk/composer.json CHANGED
@@ -12,7 +12,7 @@
12
  ],
13
  "homepage": "https://developers.facebook.com/",
14
  "require": {
15
- "guzzlehttp/guzzle": "^6.5"
16
  },
17
  "require-dev": {
18
  "phpunit/phpunit": "~8",
12
  ],
13
  "homepage": "https://developers.facebook.com/",
14
  "require": {
15
+ "guzzlehttp/guzzle": "^6.5 || ^7.0"
16
  },
17
  "require-dev": {
18
  "phpunit/phpunit": "~8",
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpa.php CHANGED
@@ -42,8 +42,8 @@ $params = array(
42
  'name' => 'A CPA Ad Set',
43
  'campaign_id' => '<adCampaignLinkClicksID>',
44
  'daily_budget' => '5000',
45
- 'start_time' => '2019-12-12T23:42:39-0800',
46
- 'end_time' => '2019-12-19T23:42:39-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'REACH',
49
  'bid_amount' => '1000',
42
  'name' => 'A CPA Ad Set',
43
  'campaign_id' => '<adCampaignLinkClicksID>',
44
  'daily_budget' => '5000',
45
+ 'start_time' => '2020-10-29T22:16:32-0700',
46
+ 'end_time' => '2020-11-05T22:16:32-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'REACH',
49
  'bid_amount' => '1000',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostAdSetCreateCpaAppEvents.php CHANGED
@@ -42,8 +42,8 @@ $params = array(
42
  'name' => 'A CPA Ad Set optimized for App Events',
43
  'campaign_id' => '<adCampaignAppInstallsID>',
44
  'daily_budget' => '300',
45
- 'start_time' => '2019-12-12T23:43:36-0800',
46
- 'end_time' => '2019-12-19T23:43:36-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'OFFSITE_CONVERSIONS',
49
  'bid_amount' => '100',
42
  'name' => 'A CPA Ad Set optimized for App Events',
43
  'campaign_id' => '<adCampaignAppInstallsID>',
44
  'daily_budget' => '300',
45
+ 'start_time' => '2020-10-29T22:17:28-0700',
46
+ 'end_time' => '2020-11-05T22:17:28-0800',
47
  'billing_event' => 'IMPRESSIONS',
48
  'optimization_goal' => 'OFFSITE_CONVERSIONS',
49
  'bid_amount' => '100',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostCreateAdSet.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First AdSet',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2019-12-12T23:41:41-0800',
45
- 'end_time' => '2019-12-19T23:41:41-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
41
  $params = array(
42
  'name' => 'My First AdSet',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2020-10-29T22:15:36-0700',
45
+ 'end_time' => '2020-11-05T22:15:36-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostDailyBudget20.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'daily_budget' => '2000',
44
- 'start_time' => '2019-12-05T23:43:07-0800',
45
- 'end_time' => '2019-12-12T23:43:07-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'daily_budget' => '2000',
44
+ 'start_time' => '2020-10-22T22:17:00-0700',
45
+ 'end_time' => '2020-10-29T22:17:00-0700',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostLifetimeBudget200Duration10Days.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2019-12-05T23:43:17-0800',
45
- 'end_time' => '2019-12-15T23:43:17-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2020-10-22T22:17:10-0700',
45
+ 'end_time' => '2020-11-01T22:17:10-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '100',
48
  'billing_event' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOfferClaim.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My Offer Claim AdSet',
43
  'lifetime_budget' => '56000',
44
- 'start_time' => '2019-12-05T23:42:58-0800',
45
- 'end_time' => '2019-12-12T23:42:58-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'billing_event' => 'LINK_CLICKS',
48
  'optimization_goal' => 'LINK_CLICKS',
41
  $params = array(
42
  'name' => 'My Offer Claim AdSet',
43
  'lifetime_budget' => '56000',
44
+ 'start_time' => '2020-10-22T22:16:51-0700',
45
+ 'end_time' => '2020-10-29T22:16:51-0700',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'billing_event' => 'LINK_CLICKS',
48
  'optimization_goal' => 'LINK_CLICKS',
vendor/facebook/php-business-sdk/examples/AdAccountAdSetsPostOptimizePostEngagement.php CHANGED
@@ -41,8 +41,8 @@ $fields = array(
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
- 'start_time' => '2019-12-05T23:43:27-0800',
45
- 'end_time' => '2019-12-15T23:43:27-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
41
  $params = array(
42
  'name' => 'My First Adset',
43
  'lifetime_budget' => '20000',
44
+ 'start_time' => '2020-10-22T22:17:19-0700',
45
+ 'end_time' => '2020-11-01T22:17:19-0800',
46
  'campaign_id' => '<adCampaignLinkClicksID>',
47
  'bid_amount' => '500',
48
  'billing_event' => 'IMPRESSIONS',
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostCreateCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostDynamicEventValueBasedLookalikeCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostDynamicValueBasedLookalikeCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformCustomAudienceMACARule.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAExclusions.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAMultiFilters.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformECAMultiPages.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformEngagementCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostPlatformWebsiteCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostValueBasedCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountCustomAudiencesPostValueBasedLookalikeCustomAudience.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_ACCOUNT_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdAccountReachEstimate.php CHANGED
@@ -24,7 +24,7 @@
24
  require __DIR__ . '/vendor/autoload.php';
25
 
26
  use FacebookAds\Object\AdAccount;
27
- use FacebookAds\Object\ReachEstimate;
28
  use FacebookAds\Api;
29
  use FacebookAds\Logger\CurlLogger;
30
 
24
  require __DIR__ . '/vendor/autoload.php';
25
 
26
  use FacebookAds\Object\AdAccount;
27
+ use FacebookAds\Object\AdAccountReachEstimate;
28
  use FacebookAds\Api;
29
  use FacebookAds\Logger\CurlLogger;
30
 
vendor/facebook/php-business-sdk/examples/AdCampaignActivityNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<ACTIVITY_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdCampaignGroupActivityNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<ACTIVITY_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdCampaignGroupAdsEdgeAdgroupsWithStatusArchived.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<AD_CAMPAIGN_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdCreativeNodeReadInstagramPermalinkUrl.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<AD_CREATIVE_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdgroupActivityNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<ACTIVITY_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdgroupLeadsEdgeAdgroupLeadsFiltered.php CHANGED
@@ -39,7 +39,7 @@ $api->setLogger(new CurlLogger());
39
  $fields = array(
40
  );
41
  $params = array(
42
- 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1546549613)),
43
  );
44
  echo json_encode((new Ad($id))->getLeads(
45
  $fields,
39
  $fields = array(
40
  );
41
  $params = array(
42
+ 'filtering' => array(array('field' => 'time_created','operator' => 'GREATER_THAN','value' => 1602826030)),
43
  );
44
  echo json_encode((new Ad($id))->getLeads(
45
  $fields,
vendor/facebook/php-business-sdk/examples/AdsPixelEventsPost.php CHANGED
@@ -38,7 +38,7 @@ $api->setLogger(new CurlLogger());
38
  $fields = array(
39
  );
40
  $params = array(
41
- 'data' => array(array('event_name' => 'PageView','event_time' => 1569260711,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))),
42
  );
43
  echo json_encode((new AdsPixel($id))->createEvent(
44
  $fields,
38
  $fields = array(
39
  );
40
  $params = array(
41
+ 'data' => array(array('event_name' => 'PageView','event_time' => 1604520076,'user_data' => array('fbc' => 'fb.1.1554763741205.AbCdEfGhIjKlMnOpQrStUvWxYz1234567890','fbp' => 'fb.1.1558571054389.1098115397','em' => '309a0a5c3e211326ae75ca18196d301a9bdbd1a882a4d2569511033da23f0abd'))),
42
  );
43
  echo json_encode((new AdsPixel($id))->createEvent(
44
  $fields,
vendor/facebook/php-business-sdk/examples/AdsPixelSharedAccountsEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PIXEL_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/AdsPixelSharedAgenciesEdge.php CHANGED
@@ -40,7 +40,7 @@ $fields = array(
40
  );
41
  $params = array(
42
  );
43
- echo json_encode((new AdsPixel($id))->getShareDAgencies(
44
  $fields,
45
  $params
46
  )->getResponse()->getContent(), JSON_PRETTY_PRINT);
40
  );
41
  $params = array(
42
  );
43
+ echo json_encode((new AdsPixel($id))->getSharedAgencies(
44
  $fields,
45
  $params
46
  )->getResponse()->getContent(), JSON_PRETTY_PRINT);
vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostDestinationCatalog.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<BUSINESS_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostFlightCatalog.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<BUSINESS_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostHotelCatalog.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<BUSINESS_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/BusinessOwnedProductCatalogsPostProductCatalog.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<BUSINESS_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PageFeedEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PageNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<PAGE_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePhotosPost.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePictureEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostCommentsEdge.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
4
+ *
5
+ * You are hereby granted a non-exclusive, worldwide, royalty-free license to
6
+ * use, copy, modify, and distribute this software in source code or binary
7
+ * form for use in connection with the web services and APIs provided by
8
+ * Facebook.
9
+ *
10
+ * As with any software that integrates with the Facebook platform, your use
11
+ * of this software is subject to the Facebook Developer Principles and
12
+ * Policies [http://developers.facebook.com/policy/]. This copyright notice
13
+ * shall be included in all copies or substantial portions of the software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+ * DEALINGS IN THE SOFTWARE.
22
+ */
23
+
24
+ require __DIR__ . '/vendor/autoload.php';
25
+
26
+ use FacebookAds\Object\PagePost;
27
+ use FacebookAds\Object\Comment;
28
+ use FacebookAds\Api;
29
+ use FacebookAds\Logger\CurlLogger;
30
+
31
+ $access_token = '<ACCESS_TOKEN>';
32
+ $app_secret = '<APP_SECRET>';
33
+ $app_id = '<APP_ID>';
34
+ $id = '<PAGE_POST_ID>';
35
+
36
+ $api = Api::init($app_id, $app_secret, $access_token);
37
+ $api->setLogger(new CurlLogger());
38
+
39
+ $fields = array(
40
+ );
41
+ $params = array(
42
+ );
43
+ echo json_encode((new PagePost($id))->getComments(
44
+ $fields,
45
+ $params
46
+ )->getResponse()->getContent(), JSON_PRETTY_PRINT);
vendor/facebook/php-business-sdk/examples/PagePostCommentsPost.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_POST_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostDelete.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_POST_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<PAGE_POST_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostPost.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<PAGE_POST_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostsEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PagePostsEdgePagePostCreateCarousel.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/PageRolesEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PAGE_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/ProductCatalogProductFeedsPostProductFeed.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<PRODUCT_CATALOG_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/UserAccountsEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<APP_SCOPED_USER_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/UserLeadGenInfoNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<LEAD_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/UserNode.php CHANGED
@@ -30,7 +30,7 @@ use FacebookAds\Logger\CurlLogger;
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
- $id = '<ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
30
  $access_token = '<ACCESS_TOKEN>';
31
  $app_secret = '<APP_SECRET>';
32
  $app_id = '<APP_ID>';
33
+ $id = '<USER_ID>';
34
 
35
  $api = Api::init($app_id, $app_secret, $access_token);
36
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/examples/VideoThumbnailsEdge.php CHANGED
@@ -31,7 +31,7 @@ use FacebookAds\Logger\CurlLogger;
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
- $id = '<ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
31
  $access_token = '<ACCESS_TOKEN>';
32
  $app_secret = '<APP_SECRET>';
33
  $app_id = '<APP_ID>';
34
+ $id = '<VIDEO_ID>';
35
 
36
  $api = Api::init($app_id, $app_secret, $access_token);
37
  $api->setLogger(new CurlLogger());
vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php CHANGED
@@ -23,7 +23,7 @@
23
  */
24
  namespace FacebookAds;
25
  class ApiConfig {
26
- const APIVersion = '8.0';
27
- const SDKVersion = '8.0.2';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
23
  */
24
  namespace FacebookAds;
25
  class ApiConfig {
26
+ const APIVersion = '9.0';
27
+ const SDKVersion = '9.0.1';
28
  const TYPE_CHECKER_STRICT_MODE = false;
29
  }
vendor/facebook/php-business-sdk/src/FacebookAds/CrashReporter.php CHANGED
@@ -140,8 +140,8 @@ class CrashReporter {
140
 
141
  $lastError = set_error_handler(
142
  function ($errno, $errstr, $errfile, $errline) use (&$lastError) {
143
- self::log('Error detected!');
144
  if (($errno & self::E_FATAL) && strpos($errfile, 'FacebookAds') != false) {
 
145
  $e = new \ErrorException($errstr, 0, $errno, $errfile, $errline);
146
  $params = $this->buildParamsFromException($e);
147
  if ($params != null) {
140
 
141
  $lastError = set_error_handler(
142
  function ($errno, $errstr, $errfile, $errline) use (&$lastError) {
 
143
  if (($errno & self::E_FATAL) && strpos($errfile, 'FacebookAds') != false) {
144
+ self::log('Error detected!');
145
  $e = new \ErrorException($errstr, 0, $errno, $errfile, $errline);
146
  $params = $this->buildParamsFromException($e);
147
  if ($params != null) {
vendor/facebook/php-business-sdk/src/FacebookAds/Http/Client.php CHANGED
@@ -24,7 +24,7 @@
24
 
25
  namespace FacebookAds\Http;
26
 
27
- use FacebookAds\Api;
28
  use FacebookAds\Http\Adapter\AdapterInterface;
29
  use FacebookAds\Http\Adapter\CurlAdapter;
30
  use FacebookAds\Http\Exception\EmptyResponseException;
@@ -128,7 +128,7 @@ class Client {
128
  public function getDefaultRequestHeaderds() {
129
  if ($this->defaultRequestHeaders === null) {
130
  $this->defaultRequestHeaders = new Headers(array(
131
- 'User-Agent' => 'fbbizsdk-php-v'.Api::VERSION,
132
  'Accept-Encoding' => '*',
133
  ));
134
  }
24
 
25
  namespace FacebookAds\Http;
26
 
27
+ use FacebookAds\ApiConfig;
28
  use FacebookAds\Http\Adapter\AdapterInterface;
29
  use FacebookAds\Http\Adapter\CurlAdapter;
30
  use FacebookAds\Http\Exception\EmptyResponseException;
128
  public function getDefaultRequestHeaderds() {
129
  if ($this->defaultRequestHeaders === null) {
130
  $this->defaultRequestHeaders = new Headers(array(
131
+ 'User-Agent' => 'fbbizsdk-php-v'.ApiConfig::SDKVersion,
132
  'Accept-Encoding' => '*',
133
  ));
134
  }
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccount.php CHANGED
@@ -39,6 +39,7 @@ use FacebookAds\Object\Values\AdAccountDeliveryEstimateOptimizationGoalValues;
39
  use FacebookAds\Object\Values\AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues;
40
  use FacebookAds\Object\Values\AdAccountPermittedTasksValues;
41
  use FacebookAds\Object\Values\AdAccountSubtypeValues;
 
42
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
43
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedModeValues;
44
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedObjectiveValues;
@@ -102,6 +103,7 @@ use FacebookAds\Object\Values\CampaignEffectiveStatusValues;
102
  use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
103
  use FacebookAds\Object\Values\CampaignObjectiveValues;
104
  use FacebookAds\Object\Values\CampaignOperatorValues;
 
105
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
106
  use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
107
  use FacebookAds\Object\Values\CampaignStatusValues;
@@ -344,6 +346,7 @@ class AdAccount extends AbstractCrudObject {
344
  'image_url' => 'string',
345
  'instagram_actor_id' => 'string',
346
  'instagram_permalink_url' => 'string',
 
347
  'instant_checkout_setting' => 'instant_checkout_setting_enum',
348
  'interactive_components_spec' => 'map',
349
  'is_dco_internal' => 'bool',
@@ -361,6 +364,7 @@ class AdAccount extends AbstractCrudObject {
361
  'portrait_customizations' => 'map',
362
  'product_set_id' => 'string',
363
  'recommender_settings' => 'map',
 
364
  'template_url' => 'string',
365
  'template_url_spec' => 'Object',
366
  'thumbnail_url' => 'string',
@@ -574,6 +578,7 @@ class AdAccount extends AbstractCrudObject {
574
  $param_types = array(
575
  'app_id' => 'string',
576
  'name' => 'string',
 
577
  'source' => 'file',
578
  'source_url' => 'string',
579
  'source_zip' => 'file',
@@ -1126,6 +1131,7 @@ class AdAccount extends AbstractCrudObject {
1126
  'sales_promo_id' => 'unsigned int',
1127
  'slideshow_spec' => 'map',
1128
  'source' => 'file',
 
1129
  'spherical' => 'bool',
1130
  'start_offset' => 'unsigned int',
1131
  'swap_mode' => 'swap_mode_enum',
@@ -1617,6 +1623,7 @@ class AdAccount extends AbstractCrudObject {
1617
  'objective' => 'objective_enum',
1618
  'pacing_type' => 'list<string>',
1619
  'promoted_object' => 'Object',
 
1620
  'source_campaign_id' => 'string',
1621
  'special_ad_categories' => 'list<special_ad_categories_enum>',
1622
  'special_ad_category_country' => 'list<special_ad_category_country_enum>',
@@ -1629,6 +1636,7 @@ class AdAccount extends AbstractCrudObject {
1629
  'bid_strategy_enum' => CampaignBidStrategyValues::getInstance()->getValues(),
1630
  'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
1631
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
 
1632
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
1633
  'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
1634
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
@@ -1675,6 +1683,29 @@ class AdAccount extends AbstractCrudObject {
1675
  return $pending ? $request : $request->execute();
1676
  }
1677
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1678
  public function getContentDeliveryReport(array $fields = array(), array $params = array(), $pending = false) {
1679
  $this->assureId();
1680
 
@@ -2719,9 +2750,12 @@ class AdAccount extends AbstractCrudObject {
2719
 
2720
  $param_types = array(
2721
  'allow_only_fat_head_interests' => 'bool',
 
2722
  'countries' => 'list<string>',
2723
  'is_exclusion' => 'bool',
2724
  'limit_type' => 'limit_type_enum',
 
 
2725
  'q' => 'string',
2726
  'regulated_categories' => 'list<regulated_categories_enum>',
2727
  'session_id' => 'unsigned int',
@@ -2729,7 +2763,9 @@ class AdAccount extends AbstractCrudObject {
2729
  'whitelisted_types' => 'list<whitelisted_types_enum>',
2730
  );
2731
  $enums = array(
 
2732
  'limit_type_enum' => AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues(),
 
2733
  'regulated_categories_enum' => AdAccountTargetingUnifiedRegulatedCategoriesValues::getInstance()->getValues(),
2734
  'whitelisted_types_enum' => AdAccountTargetingUnifiedWhitelistedTypesValues::getInstance()->getValues(),
2735
  );
@@ -2780,6 +2816,7 @@ class AdAccount extends AbstractCrudObject {
2780
  $this->assureId();
2781
 
2782
  $param_types = array(
 
2783
  'countries' => 'list<string>',
2784
  'limit_type' => 'limit_type_enum',
2785
  'mode' => 'mode_enum',
@@ -2791,6 +2828,7 @@ class AdAccount extends AbstractCrudObject {
2791
  'whitelisted_types' => 'list<whitelisted_types_enum>',
2792
  );
2793
  $enums = array(
 
2794
  'limit_type_enum' => AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues(),
2795
  'mode_enum' => AdAccountTargetingUnifiedModeValues::getInstance()->getValues(),
2796
  'objective_enum' => AdAccountTargetingUnifiedObjectiveValues::getInstance()->getValues(),
@@ -2840,30 +2878,6 @@ class AdAccount extends AbstractCrudObject {
2840
  return $pending ? $request : $request->execute();
2841
  }
2842
 
2843
- public function deleteTracking(array $fields = array(), array $params = array(), $pending = false) {
2844
- $this->assureId();
2845
-
2846
- $param_types = array(
2847
- 'tracking_specs' => 'Object',
2848
- );
2849
- $enums = array(
2850
- );
2851
-
2852
- $request = new ApiRequest(
2853
- $this->api,
2854
- $this->data['id'],
2855
- RequestInterface::METHOD_DELETE,
2856
- '/tracking',
2857
- new AbstractCrudObject(),
2858
- 'EDGE',
2859
- array(),
2860
- new TypeChecker($param_types, $enums)
2861
- );
2862
- $request->addParams($params);
2863
- $request->addFields($fields);
2864
- return $pending ? $request : $request->execute();
2865
- }
2866
-
2867
  public function getTracking(array $fields = array(), array $params = array(), $pending = false) {
2868
  $this->assureId();
2869
 
39
  use FacebookAds\Object\Values\AdAccountMatchedSearchApplicationsEdgeDataAppStoreValues;
40
  use FacebookAds\Object\Values\AdAccountPermittedTasksValues;
41
  use FacebookAds\Object\Values\AdAccountSubtypeValues;
42
+ use FacebookAds\Object\Values\AdAccountTargetingUnifiedAppStoreValues;
43
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
44
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedModeValues;
45
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedObjectiveValues;
103
  use FacebookAds\Object\Values\CampaignExecutionOptionsValues;
104
  use FacebookAds\Object\Values\CampaignObjectiveValues;
105
  use FacebookAds\Object\Values\CampaignOperatorValues;
106
+ use FacebookAds\Object\Values\CampaignSmartPromotionTypeValues;
107
  use FacebookAds\Object\Values\CampaignSpecialAdCategoriesValues;
108
  use FacebookAds\Object\Values\CampaignSpecialAdCategoryCountryValues;
109
  use FacebookAds\Object\Values\CampaignStatusValues;
346
  'image_url' => 'string',
347
  'instagram_actor_id' => 'string',
348
  'instagram_permalink_url' => 'string',
349
+ 'instagram_user_id' => 'string',
350
  'instant_checkout_setting' => 'instant_checkout_setting_enum',
351
  'interactive_components_spec' => 'map',
352
  'is_dco_internal' => 'bool',
364
  'portrait_customizations' => 'map',
365
  'product_set_id' => 'string',
366
  'recommender_settings' => 'map',
367
+ 'source_instagram_media_id' => 'string',
368
  'template_url' => 'string',
369
  'template_url_spec' => 'Object',
370
  'thumbnail_url' => 'string',
578
  $param_types = array(
579
  'app_id' => 'string',
580
  'name' => 'string',
581
+ 'session_id' => 'string',
582
  'source' => 'file',
583
  'source_url' => 'string',
584
  'source_zip' => 'file',
1131
  'sales_promo_id' => 'unsigned int',
1132
  'slideshow_spec' => 'map',
1133
  'source' => 'file',
1134
+ 'source_instagram_media_id' => 'string',
1135
  'spherical' => 'bool',
1136
  'start_offset' => 'unsigned int',
1137
  'swap_mode' => 'swap_mode_enum',
1623
  'objective' => 'objective_enum',
1624
  'pacing_type' => 'list<string>',
1625
  'promoted_object' => 'Object',
1626
+ 'smart_promotion_type' => 'smart_promotion_type_enum',
1627
  'source_campaign_id' => 'string',
1628
  'special_ad_categories' => 'list<special_ad_categories_enum>',
1629
  'special_ad_category_country' => 'list<special_ad_category_country_enum>',
1636
  'bid_strategy_enum' => CampaignBidStrategyValues::getInstance()->getValues(),
1637
  'execution_options_enum' => CampaignExecutionOptionsValues::getInstance()->getValues(),
1638
  'objective_enum' => CampaignObjectiveValues::getInstance()->getValues(),
1639
+ 'smart_promotion_type_enum' => CampaignSmartPromotionTypeValues::getInstance()->getValues(),
1640
  'special_ad_categories_enum' => CampaignSpecialAdCategoriesValues::getInstance()->getValues(),
1641
  'special_ad_category_country_enum' => CampaignSpecialAdCategoryCountryValues::getInstance()->getValues(),
1642
  'status_enum' => CampaignStatusValues::getInstance()->getValues(),
1683
  return $pending ? $request : $request->execute();
1684
  }
1685
 
1686
+ public function getConnectedInstagramAccounts(array $fields = array(), array $params = array(), $pending = false) {
1687
+ $this->assureId();
1688
+
1689
+ $param_types = array(
1690
+ );
1691
+ $enums = array(
1692
+ );
1693
+
1694
+ $request = new ApiRequest(
1695
+ $this->api,
1696
+ $this->data['id'],
1697
+ RequestInterface::METHOD_GET,
1698
+ '/connected_instagram_accounts',
1699
+ new IGUser(),
1700
+ 'EDGE',
1701
+ IGUser::getFieldsEnum()->getValues(),
1702
+ new TypeChecker($param_types, $enums)
1703
+ );
1704
+ $request->addParams($params);
1705
+ $request->addFields($fields);
1706
+ return $pending ? $request : $request->execute();
1707
+ }
1708
+
1709
  public function getContentDeliveryReport(array $fields = array(), array $params = array(), $pending = false) {
1710
  $this->assureId();
1711
 
2750
 
2751
  $param_types = array(
2752
  'allow_only_fat_head_interests' => 'bool',
2753
+ 'app_store' => 'app_store_enum',
2754
  'countries' => 'list<string>',
2755
  'is_exclusion' => 'bool',
2756
  'limit_type' => 'limit_type_enum',
2757
+ 'objective' => 'objective_enum',
2758
+ 'promoted_object' => 'Object',
2759
  'q' => 'string',
2760
  'regulated_categories' => 'list<regulated_categories_enum>',
2761
  'session_id' => 'unsigned int',
2763
  'whitelisted_types' => 'list<whitelisted_types_enum>',
2764
  );
2765
  $enums = array(
2766
+ 'app_store_enum' => AdAccountTargetingUnifiedAppStoreValues::getInstance()->getValues(),
2767
  'limit_type_enum' => AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues(),
2768
+ 'objective_enum' => AdAccountTargetingUnifiedObjectiveValues::getInstance()->getValues(),
2769
  'regulated_categories_enum' => AdAccountTargetingUnifiedRegulatedCategoriesValues::getInstance()->getValues(),
2770
  'whitelisted_types_enum' => AdAccountTargetingUnifiedWhitelistedTypesValues::getInstance()->getValues(),
2771
  );
2816
  $this->assureId();
2817
 
2818
  $param_types = array(
2819
+ 'app_store' => 'app_store_enum',
2820
  'countries' => 'list<string>',
2821
  'limit_type' => 'limit_type_enum',
2822
  'mode' => 'mode_enum',
2828
  'whitelisted_types' => 'list<whitelisted_types_enum>',
2829
  );
2830
  $enums = array(
2831
+ 'app_store_enum' => AdAccountTargetingUnifiedAppStoreValues::getInstance()->getValues(),
2832
  'limit_type_enum' => AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues(),
2833
  'mode_enum' => AdAccountTargetingUnifiedModeValues::getInstance()->getValues(),
2834
  'objective_enum' => AdAccountTargetingUnifiedObjectiveValues::getInstance()->getValues(),
2878
  return $pending ? $request : $request->execute();
2879
  }
2880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2881
  public function getTracking(array $fields = array(), array $params = array(), $pending = false) {
2882
  $this->assureId();
2883
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdAccountTargetingUnified.php CHANGED
@@ -29,6 +29,7 @@ use FacebookAds\Cursor;
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdAccountTargetingUnifiedFields;
 
32
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
33
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedModeValues;
34
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedObjectiveValues;
@@ -58,8 +59,9 @@ class AdAccountTargetingUnified extends AbstractCrudObject {
58
  $ref_enums['LimitType'] = AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues();
59
  $ref_enums['RegulatedCategories'] = AdAccountTargetingUnifiedRegulatedCategoriesValues::getInstance()->getValues();
60
  $ref_enums['WhitelistedTypes'] = AdAccountTargetingUnifiedWhitelistedTypesValues::getInstance()->getValues();
61
- $ref_enums['Mode'] = AdAccountTargetingUnifiedModeValues::getInstance()->getValues();
62
  $ref_enums['Objective'] = AdAccountTargetingUnifiedObjectiveValues::getInstance()->getValues();
 
63
  return $ref_enums;
64
  }
65
 
29
  use FacebookAds\Http\RequestInterface;
30
  use FacebookAds\TypeChecker;
31
  use FacebookAds\Object\Fields\AdAccountTargetingUnifiedFields;
32
+ use FacebookAds\Object\Values\AdAccountTargetingUnifiedAppStoreValues;
33
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedLimitTypeValues;
34
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedModeValues;
35
  use FacebookAds\Object\Values\AdAccountTargetingUnifiedObjectiveValues;
59
  $ref_enums['LimitType'] = AdAccountTargetingUnifiedLimitTypeValues::getInstance()->getValues();
60
  $ref_enums['RegulatedCategories'] = AdAccountTargetingUnifiedRegulatedCategoriesValues::getInstance()->getValues();
61
  $ref_enums['WhitelistedTypes'] = AdAccountTargetingUnifiedWhitelistedTypesValues::getInstance()->getValues();
62
+ $ref_enums['AppStore'] = AdAccountTargetingUnifiedAppStoreValues::getInstance()->getValues();
63
  $ref_enums['Objective'] = AdAccountTargetingUnifiedObjectiveValues::getInstance()->getValues();
64
+ $ref_enums['Mode'] = AdAccountTargetingUnifiedModeValues::getInstance()->getValues();
65
  return $ref_enums;
66
  }
67
 
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdCreative.php CHANGED
@@ -210,7 +210,6 @@ class AdCreative extends AbstractCrudObject {
210
  $param_types = array(
211
  'thumbnail_height' => 'unsigned int',
212
  'thumbnail_width' => 'unsigned int',
213
- 'with_unified_spec' => 'bool',
214
  );
215
  $enums = array(
216
  );
210
  $param_types = array(
211
  'thumbnail_height' => 'unsigned int',
212
  'thumbnail_width' => 'unsigned int',
 
213
  );
214
  $enums = array(
215
  );
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudy.php CHANGED
@@ -120,7 +120,6 @@ class AdStudy extends AbstractCrudObject {
120
  'is_primary' => 'bool',
121
  'name' => 'string',
122
  'offline_conversion_data_sets' => 'list<Object>',
123
- 'offsitepixels' => 'list<Object>',
124
  'product_catalogs' => 'list<Object>',
125
  'product_sets' => 'list<Object>',
126
  'type' => 'type_enum',
120
  'is_primary' => 'bool',
121
  'name' => 'string',
122
  'offline_conversion_data_sets' => 'list<Object>',
 
123
  'product_catalogs' => 'list<Object>',
124
  'product_sets' => 'list<Object>',
125
  'type' => 'type_enum',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/AdStudyObjective.php CHANGED
@@ -171,29 +171,6 @@ class AdStudyObjective extends AbstractCrudObject {
171
  return $pending ? $request : $request->execute();
172
  }
173
 
174
- public function getOffsitePixels(array $fields = array(), array $params = array(), $pending = false) {
175
- $this->assureId();
176
-
177
- $param_types = array(
178
- );
179
- $enums = array(
180
- );
181
-
182
- $request = new ApiRequest(
183
- $this->api,
184
- $this->data['id'],
185
- RequestInterface::METHOD_GET,
186
- '/offsitepixels',
187
- new OffsitePixel(),
188
- 'EDGE',
189
- OffsitePixel::getFieldsEnum()->getValues(),
190
- new TypeChecker($param_types, $enums)
191
- );
192
- $request->addParams($params);
193
- $request->addFields($fields);
194
- return $pending ? $request : $request->execute();
195
- }
196
-
197
  public function getPartnerStudies(array $fields = array(), array $params = array(), $pending = false) {
198
  $this->assureId();
199
 
@@ -281,7 +258,6 @@ class AdStudyObjective extends AbstractCrudObject {
281
  'is_primary' => 'bool',
282
  'name' => 'string',
283
  'offline_conversion_data_sets' => 'list<Object>',
284
- 'offsitepixels' => 'list<Object>',
285
  'product_catalogs' => 'list<Object>',
286
  'product_sets' => 'list<Object>',
287
  'type' => 'type_enum',
171
  return $pending ? $request : $request->execute();
172
  }
173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  public function getPartnerStudies(array $fields = array(), array $params = array(), $pending = false) {
175
  $this->assureId();
176
 
258
  'is_primary' => 'bool',
259
  'name' => 'string',
260
  'offline_conversion_data_sets' => 'list<Object>',
 
261
  'product_catalogs' => 'list<Object>',
262
  'product_sets' => 'list<Object>',
263
  'type' => 'type_enum',
vendor/facebook/php-business-sdk/src/FacebookAds/Object/Business.php CHANGED
@@ -42,7 +42,6 @@ use FacebookAds\Object\Values\BusinessPagePermittedTasksValues;
42
  use FacebookAds\Object\Values\BusinessPermittedTasksValues;
43
  use FacebookAds\Object\Values\BusinessSurveyBusinessTypeValues;
44
  use FacebookAds\Object\Values\BusinessTwoFactorTypeValues;
45
- use FacebookAds\Object\Values\BusinessUserRoleValues;
46
  use FacebookAds\Object\Values\BusinessVerticalValues;
47
  use FacebookAds\Object\Values\CPASCollaborationRequestRequesterAgencyOrBrandValues;
48
  use FacebookAds\Object\Values\ContentDeliveryReportPlatformValues;
@@ -57,7 +56,6 @@ use FacebookAds\Object\Values\OracleTransactionTypeValues;
57
  use FacebookAds\Object\Values\ProductCatalogVerticalValues;
58
  use FacebookAds\Object\Values\ProfilePictureSourceBreakingChangeValues;
59
  use FacebookAds\Object\Values\ProfilePictureSourceTypeValues;
60
- use FacebookAds\Object\Values\SystemUserRoleValues;
61
 
62
  /**
63
  * This class is auto-generated.
@@ -115,6 +113,30 @@ class Business extends AbstractCrudObject {
115
  return $pending ? $request : $request->execute();
116
  }
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  public function getAdStudies(array $fields = array(), array $params = array(), $pending = false) {
119
  $this->assureId();
120
 
@@ -603,32 +625,6 @@ class Business extends AbstractCrudObject {
603
  return $pending ? $request : $request->execute();
604
  }
605
 
606
- public function createBusinessUser(array $fields = array(), array $params = array(), $pending = false) {
607
- $this->assureId();
608
-
609
- $param_types = array(
610
- 'email' => 'string',
611
- 'role' => 'role_enum',
612
- );
613
- $enums = array(
614
- 'role_enum' => BusinessUserRoleValues::getInstance()->getValues(),
615
- );
616
-
617
- $request = new ApiRequest(
618
- $this->api,
619
- $this->data['id'],
620
- RequestInterface::METHOD_POST,
621
- '/business_users',
622
- new BusinessUser(),
623
- 'EDGE',
624
- BusinessUser::getFieldsEnum()->getValues(),
625
- new TypeChecker($param_types, $enums)
626
- );
627
- $request->addParams($params);
628
- $request->addFields($fields);
629
- return $pending ? $request : $request->execute();
630
- }
631
-
632
  public function createClaimCustomConversion(array $fields = array(), array $params = array(), $pending = false) {
633
  $this->assureId();
634
 
@@ -1275,6 +1271,29 @@ class Business extends AbstractCrudObject {
1275
  return $pending ? $request : $request->execute();
1276
  }
1277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1278
  public function deleteManagedBusinesses(array $fields = array(), array $params = array(), $pending = false) {
1279
  $this->assureId();
1280
 
@@ -1711,12 +1730,10 @@ class Business extends AbstractCrudObject {
1711