Manual Integration Example Using PHP

Using PHP CURL Extension

Here is the implementation example on PHP using PHP CURL Extension

Usage Example

  1. Clone the repository and open the directory

  2. In PHPCurl/index.php, change the $API_KEY , $API_SECRET , $AGE , $GENDER , and $PUBLISHER_USER_ID to yours

  3. Open terminal and run php -S localhost:8000 PHPCurl/index.php

  4. Now you can open http://localhost:8000 on your browser

Using PHP Guzzle Package

Here is the implementation example on PHP using PHP Guzzle

Usage Example

  1. Clone the repository and open the directory

  2. In PHPGuzzle/src/index.php, change the $API_KEY , $API_SECRET , $AGE , $GENDER , and $PUBLISHER_USER_ID to yours

  3. Open terminal and run php -S localhost:8000 PHPGuzzle/src/index.php

  4. Now you can open http://localhost:8000 on your browser

Last updated