Authentication
You may want to use mautrix-manager instead of bot commands. It will automate extracting cookies so you don't need to mess with browser devtools.
- Open a private chat with the bridge bot. Usually
@twitterbot:your.server
.- If the bot doesn't accept the invite, see the troubleshooting page
- Log into Twitter in a private browser window.
- Press F12 to open developer tools.
- Select the "Application" (Chrome) or "Storage" (Firefox) tab.
- In the sidebar, expand "Cookies" and select
https://twitter.com
. - In the cookie list, find the values for
ct0
andauth_token
.
- Send
login ct0 auth
to the bot (replacingct0
andauth
with the respective values). - Recent chats should now get portals automatically. Other chats will get portals as you receive messages.