"https://www.w3.org/ns/activitystreams", "id" => "https://".$domain."/user/following/?actor=".$userid, "type" => "OrderedCollection", "totalItems" => 0, "orderedItems" => [], ); echo json_encode($item, JSON_UNESCAPED_UNICODE); }else{ header("HTTP/1.1 410 Gone"); } ?>