12

I know a Mastodon user can create a new post by mentioning a Lemmy community, but I believe it is just a text post

Here was an example I found of this:
https://lemmy.world/post/82145

Does anyone know if it is possible to create a post in Lemmy via Mastodon that is a link to somewhere else such as a website?

I suppose I could just put the link in the body of the text post but a direct link would be cool, if possible

top 2 comments
sorted by: hot top controversial new old
[-] Wander@yiffit.net 3 points 1 year ago

Images are possible, but I don't think links are unless you find a way to "attach" a link to a Mastodon post.

[-] lackthought@lemmy.sdf.org 2 points 1 year ago

interesting, maybe I'll have to dig around the ActivityPub documentation to see how data is formatted

I posted a link to Lemmy (from Lemmy) and now I'm viewing the post from Mastodon to see if I can determine how the data flows

the link appears directly in the Mastodon post view but the text I entered on the Lemmy post didn't show up in Mastodon

maybe this would work as a linked post from Mastodon to Lemmy?:

TitleOfPost
some-link-to-an-external-url
@communityname@lemmyinstance

but that may just create a text post with the link as the 'text'

I guess I need to try it out with a test post or in a test community so I'm not spamming anyone with my testing :)

this post was submitted on 13 Jul 2023
12 points (100.0% liked)

Fediverse

28481 readers
207 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS