Documentation
EnglishCallback URL
The player votes on our platform, and, at the end of this vote, is redirected to your website using a specific parameter in our URL. You must first install our Vote API.
- A GET type parameter must be passed to our URL
- Parameter value must be URL
Some examples of URL's on which you can redirect your player with an automatic redirection at the end of the vote:
- URL of your game server record
- Voting URL to customize according to API
Example
https://metin2pserver.org/game/3-core-top/?callback=https://metin2pserver.org/test.php
Example
https://metin2pserver.org/in/3-core-top/336699/?callback=https://metin2pserver.org/test.php
PHP Example
<a href="https://metin2pserver.org/game/3-core-top/?callback=https://metin2pserver.org/test.php" title="Vote on Metin2PServer">Vote on Metin2PServer</a>
<a href="https://metin2pserver.org/in/3-core-top/<?= $playerid ?>/?callback=https://metin2pserver.org/test.php" title="Vote on Metin2PServer">Vote on Metin2PServer</a>