We compiled a list of common questions with answers which you might need, however if you cannot find your answer feel free to contact us.
The Postback feature allows you to reward your users for voting your game.
This is a great way of inviting your users to promote your game to the top of the list.
We designed our Postback system unlike any other. It sends you back nearly real-time data to your website so you can automatically reward your users for their vote.
The Postback feature is by default disabled for every listing added. You must enable the post feature for each listing individually from your account by clicking the "Actions" section.
Step 1:
Prepare your postback receiver, this can be implemented within your CMS/website or you can use our example below.
Save the following code as supremetop_postback.php:
// Example PHP Postback Handler
$requester_ip = isset($_SERVER["HTTP_X_FORWARDED_FOR"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER['REMOTE_ADDR'];
$supremetop100_ips = ['176.31.56.245'];
if(!in_array($requester_ip, $supremetop100_ips)) {
die('Invalid request!');
}
// Ensure that it is a POST request
if(strcasecmp($_SERVER['REQUEST_METHOD'], 'POST') != 0) {
die('Invalid request!');
}
// Retrieve the RAW POST data.
$content = trim(file_get_contents("php://input"));
$decoded = json_decode($content, true);
if(!is_array($decoded)) {
die('Invalid request!');
}
if($decoded['supremetop100_vote_info']['status'] == 1) {
// Reward user
}
// Log postback data
$log_filename = sprintf("%s_voteData.txt", date('Y-m-d_H-i-s'));
@file_put_contents($log_filename, print_r($decoded, true));
We take security very seriously and this is why efforts have been made to keep your data as safe as possible.
We take your privacy very seriously and this is why we guarantee that any of your data submitted on this website will never be sold or shared to anyone. Ever.
Found a problem on this page ? Please help us improve it. Contact Us and get a reward!