GET

/oauth/authorize

Request Code

Last Update : 2019.07.05
// get authorize URL
$url = $mastodonApi->oauth->authorize();

// use a tag
<a href="<?php echo $url; ?>">Authorize</a>

Redirect Uri Data

Last Update : 2019.07.05
// Your Redirect Uri Page
var_dump($_GET['code']); // string(43) "{Your Apps Authorize Code}"

// goto OAuth Token

AdSense