Twitter bridge

The Twitter bridge installed by us is powered by mautrix-twitter.

Usage¶

This page shows you how to set up the Twitter bridge using Cinny client app (available as an add-on component), so that you can receive and send messages between Twitter and Matrix rooms.

Invite the bot to a management room¶

First, please start a chat with @twitterbot:your-server.com to create a management room. You can do so by inviting the bot to a room like below.

Make sure to replace your-server.com with your actual “base domain”. Setting your-server.com or example.com does not work on your server!

Invitation dialog to create a management room

When the bot joins to the created room, it sends confirmation messages to the room as below. If they are visible, bot successfully joined the management room — it works as expected.

Confirmation message on the room

Authentication¶

To conduct authentication, please follow the steps below.

  1. Send login to the bridge bot
  2. The bot will send you these instructions to extract required cookies. Follow the steps to log into the bridge: Instruction for logging in
  3. Log into the Twitter in private/incognito browser window
  4. Press F12 to open developer tools
  5. Select the Application (Chrome, Safari, Edge) or Storage (Firefox) tab
  6. In the sidebar, expand Cookies and select https://twitter.com
  7. In the cookie list, find the auth_token value
  8. In the cookie list, find the ct0 value
  9. Send login ct0 auth to the bot after replacing ct0 and auth with the respective values

After logging in, the bridge will create portal rooms for recent chats. Portal rooms for other chats will be created as you receive messages.

Useful commands¶

If you send a message help to the room, available commands are output as a message like below:

The output returned after sending help

Here is a couple of useful commands:

Power up with Twitter bridge

Start using Twitter bridge today - get a managed Matrix server with it pre-installed, or add it to your existing setup.

If you need assistance

Before seeking help, make sure to thoroughly review the documentation. If you still have questions, please don't hesitate to contact bridge's support. Please note that etke.cc Customer Support exclusively handles server-related inquiries. For any questions related to the bridge, please reach out to bridge's support.