Problem/Motivation

When a post is sent to mastodon, there should be a rich preview card. The title, description, link, and image of that card should all be configurable. I think this is the relevant documentation: https://docs.joinmastodon.org/entities/PreviewCard/

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

megakeegman created an issue. See original summary.

megakeegman’s picture

Per https://docs.joinmastodon.org/entities/Status/#card, preview cards are generated via links that are included in status content. So the options being added are whether to append, prepend, or omit the link to/from the message content. This has not been tested yet.

megakeegman’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

megakeegman’s picture

Not sure why, but
tags did not seem to get converted properly to real line breaks, neither did \n. So opted to use heredocs syntax for the linebreaks and that seems to be working fine.

megakeegman’s picture

Title: Posts with a rich preview card » Posts with a rich preview card for posts via mposse

Also noteworthy that this is issue is only relevant to posts sent via mposse. Currently the ECA implementation does not include node references. While this would be cool, links can be written in messages manually. If someone comes across this an wants node references in ECA configuration (to automate the addition of links), please open a new issue. Updating the title of this for documentation purposes.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.