$url = 'https://www.patreon.com/api/oauth2/api/current_user';
$options = array(
'http' => array(
'header' => 'authorization: Bearer ' . $patreonToken,
'method' => 'GET'
)
);
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
$resultJson = json_decode($result, true);
var_dump($result);
var_dump returns false by some patrons