Matthias Pfefferle
Matthias Pfefferle
Have you added the App-Secret correctly?
The ActivityPub plugin itself does not handle link previews at all. Mastodon uses Open-Graph for that, so you have to check the plugin that generates the Open-Graph data.
🤔 It seems that the site does not use OGP at all... So maybe you should install a plugin for that ;) See: https://wordpress.org/plugins/opengraph/
The plugin should always add the featured image as attachment. Exceptions are, if you use the post-format setting, set the post to video and add a video to the post....
You can see the JSON, the plugin sends, by adding `?activitypub` at the end of each post URL.
THAT is interesting! I am not sure how this is even possible, will see why this happens!
@jeremiahlee do you use the classic editor or the block editor?
@obenland the enclosure feature was added around that time. for me, the question is more: why is this video added as an enclosure, by WordPress or some other plugin!?!
> Aside: [Mastodon doesn't seem to need the attachment information to show a preview of the video](https://mastodon.social/@[email protected]/113596764387891548), a URL in the post seems to be enough. @obenland this is snippet...
@obenland there might be one shortcut, if this is used: https://github.com/Automattic/wordpress-activitypub/blob/trunk/integration/class-seriously-simple-podcasting.php https://github.com/Automattic/wordpress-activitypub/blob/930db56033340a21d876fd46ff5d80b6cb232bee/integration/load.php#L79 @jeremiahlee do you maybe use seriously-simple-podcasting or do you have a defined const `SSP_VERSION` somewhere in your codebase!?!