Revert "Added better og support"

This reverts commit fa3f1e0a7c.
This commit is contained in:
Pablo Ferreiro 2022-11-26 23:36:20 +01:00
parent fa3f1e0a7c
commit ee6e8b0593
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
15 changed files with 47 additions and 84 deletions

View file

@ -15,9 +15,8 @@ class TagController {
$hashtag = $api->hashtag($name);
$hashtag->feed($cursor);
if ($hashtag->ok()) {
$info = $hashtag->getInfo();
$feed = $hashtag->getFeed();
Wrappers::latte('tag', new FullTemplate($info->detail->title, $info, $feed));
$data = $hashtag->getFull();
Wrappers::latte('tag', new FullTemplate($data->info->detail->title, $data));
} else {
ErrorHandler::showMeta($hashtag->error());
}