public static function TweetHandler($arguments)
    {
        if (!isset($arguments['id'])) {
            return null;
        }
        if (substr($arguments['id'], 0, 4) === 'http') {
            list($unneeded, $id) = explode('/status/', $arguments['id']);
        } else {
            $id = $arguments['id'];
        }
        $data = json_decode(file_get_contents('https://api.twitter.com/1/statuses/oembed.json?id=' . $id . '&omit_script=true&lang=en'), 1);

        return $data['html'];
    }