'acct:'.$actor.'@'.$domain, 'links' => [ [ 'rel' => 'self', 'type' => 'application/activity+json', 'href' => $config['url'].'/actor' ] ] ]; header('Content-Type: application/ld+json'); echo(json_encode($data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));