42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.66k stars 618 forks source link

Add twitter support #658

Closed git-sid closed 2 years ago

git-sid commented 5 years ago

Is your feature request related to a problem? Please describe. Matterbridge doesn't support twitter yet.

Describe the solution you'd like Have twitter as a supported messaging channel.

Describe alternatives you've considered Letting the community add the twitter support. However, this seems rather difficult without documentation, see #657

patcon commented 5 years ago

Had never considered this, but interesting idea 😄

Might interestingly complement with the philosophies of spectrum.chat (not yet implemented) or Zulip (implemented), which both embrace a very thread-centric model of chat.

Even if it doesn't fit in core (or if it doesn't at first), it could be implemented or "proof-of-concepted" as a small related project and linked in the readme.

Would you be interested in working on something like this in some form, or are you just banking the suggestion for a potential future someone?

git-sid commented 5 years ago

There's this project called Ticketfrei which is slowly adding support for bridging messages between different social networks.

There was a discussion whether using a preexisting project like matterbridge would be beneficial to not reinvent the wheel. However, some important services like Mastodon and Twitter are missing: #658 #659.

This project ranks relatively high when searching for bridge solutions. I think many would like to participate, me included. But documentation is necessary for that. Going into a channel and talking to people to grasp the API is okay, but won't lead to many contributions. Releasing a workable documentation would do wonders. (So would using python, but that's just my 2c)

42wim commented 5 years ago

API documentation now available on https://app.swaggerhub.com/apis-docs/matterbridge/matterbridge-api/0.1.0-oas3

You can interface with the API with python, ruby, curl whatever, so you can make your own addon for twitter.

qaisjp commented 5 years ago

How would this work?

patcon commented 5 years ago

@qaisjp long time no see :) I think Wim was suggesting it work like any of the API consuming apps listed in README: https://github.com/42wim/matterbridge#api

Assuming the subtext is that he considers Twitter support to be outside the scope of what he'd like the maintain in the core. Not sure if that's a point of open discussion, or if he's feeling resolute on that conclusion though! (You have every right to draw any lines, Wim :) )

qaisjp commented 5 years ago

👋 long time no see to you too. I'm mainly confused as to Twitter's relevance in chat, I thought there were only tweets & private messages?

patcon commented 5 years ago

Not sure what @git-sid had in mind, but I can imagine it working for DMs or hashtags or Tweets mentioning a specific account. Def a bit more of a unique use-case though

E.g., A private slack channel where mentions of our org account or our event's hashtags get piped in, and responses in channel create tweets from the org account

qaisjp commented 4 years ago

Having recently used Twitter for group messages, I now understand exactly the use case that @git-sid may have had in mind.

You can have group chats on Twitter. Therefore, one would want to bridge that group chat to another (more flexible) platform.

42wim commented 4 years ago

@qaisjp feel free to implement 👍 :-)

SonaliBendre commented 3 years ago

Having recently used Twitter for group messages, I now understand exactly the use case that @git-sid may have had in mind.

You can have group chats on Twitter. Therefore, one would want to bridge that group chat to another (more flexible) platform.

@qaisjp Implementing when? By the way, Matterbridge is still missing Instagram,Mastodon, and twitter, which I need the most