@ahmetbora Thanks for building this. After purchasing and creating the access token I run into a problem where it’s not showing previews of video files (only broken image icon). Is there a fix for this?
If I use ->thumbnail_url() instead of ->media_url() it breaks all the others and nog the video.
I fixed it with the solution underneath but there might be a nicer/cleaner way?
<a href="<?= $feed->permalink() ?>" target="_blank">
<?php if ($feed->media_type() == 'VIDEO') { ?>
<img title="<?= $feed->caption() ?>" src="<?= $feed->thumbnail_url() ?>">
<?php } else { ?>
<img title="<?= $feed->caption() ?>" src="<?= $feed->media_url() ?>">
<?php } ?>
</a>