this post was submitted on 06 Aug 2023
59 points (90.4% liked)

Fediverse

28483 readers
818 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
 

Hello,

It's hard to find information about this in this early stage of Lemmy.

I know that there is a protocol "ActivityPub" that kind of allows communication between Fediverse platforms and instances.

My use case is the following one: If a specific person posts a tweet/toot on Mastodon, I want to automatically create a post in a Lemmy community.

Can you give me some tips how to achieve this? I'm a software developer by the way, so writing code is not a problem. But is it even necessary to write code?

you are viewing a single comment's thread
view the rest of the comments
[–] Klaymore@sh.itjust.works 13 points 1 year ago* (last edited 1 year ago) (1 children)

If you copy the URL of one of their posts and paste it into the search bar of your Lemmy instance (you might need to refresh a couple times, and make sure the filter is set to all), then you should be able to view what community it's posted in on your Lemmy instance and subscribe to it as normal. Then all new posts should automatically sync to your Lemmy instance and show up as a post. I subscribed to a Peertube channel this way and it worked.

Edit: changed from searching for user to searching for post and subscribing to it's community.

[–] OldFartPhil@lemm.ee 3 points 1 year ago (3 children)

I'm not sure that actually works. You can search for a Mastodon user, but when you try to subscribe the sidebar buttons are missing on Lemmy.

My understanding is that you can subscribe to a Lemmy community in Mastodon, but not the other way around. Maybe there's a trick I'm missing?

[–] Coelacanth@feddit.nu 5 points 1 year ago (2 children)

Lemmy has no support for following individuals as far as I know. As others have mentioned, Mastodon users can post to Lemmy by @-ing a community, and Lemmy users can interact with that post normally, and with any replies in it (or other replies made by Mastodon users).

It's possible Lemmy users could directly @ Mastodon users, though I don't have Mastodon, so I'm not sure.

If you want to be able to follow both communities and individuals, then that is basically the selling point of Kbin, though Kbin isn't for me so I don't know exactly how it works and where in your feeds posts by individuals you follow shows up.

[–] aebrer@kbin.social 4 points 1 year ago

Only saying this for general informational purposes, but if you want to be able to follow Lemmy and Mastodon content and post either, kbin supports that out of the box (masto style content is called "microblogs")

[–] Rootiest@lemmy.world 1 points 1 year ago (1 children)

It's possible Lemmy users could directly @ Mastodon users

Let's see..

@rootiest@fosstodon.org

[–] wegettosss@lemmy.world 2 points 1 year ago

I cant find sidebar either

[–] Klaymore@sh.itjust.works 2 points 1 year ago

Ah yeah it shows up as a user not a community. I think if you search the URL of one of their posts you can see the community it's posted in and subscribe to that.