telegram-foxnitter

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

README

This is slapped and bodged together, don't expect anything.

Configuration

Non-platform environment:

NITTER_DOMAIN

Getting Twitter creds

  1. Make an account https://developer.twitter.com/en/portal/
  2. Click View products, get Elevated access.
  3. Projects & AppsProject 1FoxNitter
  4. User authentication settings
    1. Enable OAuth 1.0a
    2. App permissions → Read, Write, Direct messages (apparently you can't retweet without DMs‽)
    3. Callback can be anything
  5. Keys and tokensConsumer keys (ENV: CLIENT_*)
  6. Authentication TokensGenerate (ENV: ACCESS_*)

Environment needed:

CLIENT_ID
CLIENT_SECRET
ACCESS_TOKEN
ACCESS_SECRET

Getting Telegram creds

  1. You can get a Telegram bot API key from @botfather (env: TELEGRAM_KEY)
  2. Get channel ID by running the bot without TELEGRAM_ID

Environment needed:

TELEGRAM_KEY
TELEGRAM_ID

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL