mainURL] = $parsedTwtxtFile; } } else { // Show timeline for the URL $twtsURL = $config['public_txt_url']; // $twtsURL = "https://lyse.isobeef.org/twtxt.txt"; // $profile = getTwtsFromTwtxtString($twtsURL); header("Location: ".$baseURL."/profile?url=".$twtsURL); /* if (filter_var($twtsURL, FILTER_VALIDATE_URL) === FALSE) { die('Not a valid URL'); } $parsedTwtxtFile = getTwtsFromTwtxtString($twtsURL); if (!is_null($parsedTwtxtFile)) { $parsedTwtxtFiles[$parsedTwtxtFile->mainURL] = $parsedTwtxtFile; }*/ } $twts = []; # Combine all the followers twts foreach ($parsedTwtxtFiles as $currentTwtFile) { if (!is_null($currentTwtFile)) { $twts += $currentTwtFile->twts; } } krsort($twts, SORT_NUMERIC); ?>
= $profile->description ?>
twtxt.txt | How to follow