- Download both files (composer.json and reset-favorites-core.php) into the same directory.
- Use composer to install dependencies:
cd path/to/that/directory
composer install
- Edit the PHP script to contain your actual
$API_URL
,$API_TOKEN
and$ACCOUNT_ID
cd path/to/that/directory
php reset-favorites-core.php