bookmarklets for easier link shortening and sharing.' ); ?>
select text on the page you're viewing before clicking on your bookmarklet link" ); ?>
%s\" to the beginning of the current URL (right before its 'http://' part) and hit enter.", preg_replace('@https?://@', '', YOURLS_SITE) . '/' ); ?>
.
username and password parameters.' ); echo "\n"; yourls_e( "If you're worried about sending your credentials into the wild, you can also make API calls without using your login or your password, using a secret signature token." ); ?>
%s
', yourls_auth_signature() ); ?>
signature in your API requests. Example:' ); ?>
/yourls-api.php?signature=&action=...
<?php
$timestamp = time();
// $time =
$signature = md5( $timestamp . '' );
// $signature = ""
?>
signature and timestamp in your API requests. Example:' ); ?>
/yourls-api.php?timestamp=$timestamp&signature=$signature&action=...
/yourls-api.php?timestamp=&signature=&action=...
API documentation for more', YOURLS_SITE . '/readme.html#API' ); ?>