Next reset in: 15 days, 15 hours, 20 min

API

(login to show personalized code)

How Postback (aka Incentive voting) works:
postback.php code example:
<?php
#WoWTop100 Postback Script Start

//settings:
$WoWTop100SecretAPIToken 'INSERT_API_TOKEN_HERE';

//get variables from WoWTop100 and sanitize $VoterID to integer:
$Token   = (isset($_POST['token'])   && !empty($_POST['token']))   ? 
    
$_POST['token'] : false;
$VoterID = (isset($_POST['voterid']) && !empty($_POST['voterid'])) ? 
    (int)
$_POST['voterid']:false//remove "(int)" if you passing string like username.

//validate:
if ($Token != $WoWTop100SecretAPIToken || !$VoterID)
{
    
//request is invalid - token is invalid or voterid is empty
    //stop script
    
die(1);
}

/**
 * Run your own code here, like giving points, money or rewards.
 * Use $VoterID variable to identify user who voted. Passed from vote banner link.
 **/

//YOUR CODE - DO SOMETHING WITH $VoterID

#WoWTop100 Postback Script End
?>
Parameters sent:
voterid = ID of voter pulled from WoWTop100 banner link
token = unique API token related to your site ID - keep this a secret
Method:
POST