PHP code example of handelsgids / sharedcount
1. Go to this page and download the library: Download handelsgids/sharedcount library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
handelsgids / sharedcount example snippets
andelsgids\Sharedcount\Sharedcount;
$sharedcount = new Sharedcount('yourapikeygoeshere');
$facebookShares = $sharedcount
->getByUrl('https://www.handelsgids.be')
->getFacebook()
->getShareCount()
;
$sharedcount = new Sharedcount('yourapikeygoeshere', Sharedcount::SUBSCRIPTION_PAYING);