Here is the implementation example on PHP using PHP CURL Extension
Clone the repository and open the directory
In PHPCurl/index.php, change the $API_KEY , $API_SECRET , $AGE , $GENDER , and $PUBLISHER_USER_ID to yours
PHPCurl/index.php
$API_KEY
$API_SECRET
$AGE
$GENDER
$PUBLISHER_USER_ID
Open terminal and run php -S localhost:8000 PHPCurl/index.php
php -S localhost:8000 PHPCurl/index.php
Now you can open http://localhost:8000 on your browser
http://localhost:8000
Here is the implementation example on PHP using PHP Guzzle
In PHPGuzzle/src/index.php, change the $API_KEY , $API_SECRET , $AGE , $GENDER , and $PUBLISHER_USER_ID to yours
PHPGuzzle/src/index.php
Open terminal and run php -S localhost:8000 PHPGuzzle/src/index.php
php -S localhost:8000 PHPGuzzle/src/index.php
Last updated 6 months ago