PHP code example of sabas / oauth1-openstreetmap
1. Go to this page and download the library: Download sabas/oauth1-openstreetmap 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/ */
sabas / oauth1-openstreetmap example snippets
$server = new sabas\OAuth1\Client\Server\Openstreetmap(array(
'identifier' => 'your-identifier',
'secret' => 'your-secret',
'callback_uri' => 'http://your-callback-uri/',
));