edbizarro / laravel-facebook-ads

Facebook & Instagram Ads API for Laravel
MIT License
122 stars 32 forks source link

FacebookAds\Http\Exception\AuthorizationException (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v5.0 #53

Open gabrielchiron opened 4 years ago

gabrielchiron commented 4 years ago

FacebookAds\Http\Exception\AuthorizationException (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v5.0

kajal098 commented 4 years ago

I am also getting the same issue as described above

brescianicri commented 4 years ago

I have the same problem: FacebookAds\Http\Exception\AuthorizationException (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v7.0.

fsjdg commented 4 years ago

+1

caiofelipedossantos commented 4 years ago

I have the same problem: FacebookAds\Http\Exception\AuthorizationException (#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v7.0.

joaovictorrx commented 4 years ago

Same problem here =/

hernandezharries08 commented 4 years ago

Hi,

Try updating your ApiConfig.php in FacebookAds/ApiConfig./php to the version that you need to use

const APIVersion = '8.0';

mwargan commented 3 years ago

Hi,

Try updating your ApiConfig.php in FacebookAds/ApiConfig./php to the version that you need to use

const APIVersion = '8.0';

This is the solution - can you make a pull request that will hopefully be accepted?

bioudi commented 3 years ago

Hello everyone,

as @hernandezharries08 said by updating your ApiConfig.php to the right version it works the path to that file is your_project/vendor/facebook/php-business-sdk/src/FacebookAds/ApiConfig.php