---
name: "tweet"
section: "1"
platform: "linux"
package: "python-twitter"
version: "1.1+git20131227-2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/tweet"
---

# tweet(1)

Text-based client for Twitter.

## NAME

**tweet** - Text-based client for Twitter.

## SYNOPSIS

**tweet** \[*options*\] *message*

## DESCRIPTION

-

  **tweet** is a text-based client that allows you to post messages to Twitter.

-

  ## OPTIONS AND DOCUMENTATION

Options:\
  **-h** **--help** : print this help\
  **--consumer-key** : the twitter consumer key\
  **--consumer-secret** : the twitter consumer secret\
  **--access-key** : the twitter access token key\
  **--access-secret** : the twitter access token secret\
  **--encoding** : the character set encoding used in input strings, e.g. "utf-8". \[optional\]

-

  Documentation:

If either of the command line flags are not present, the environment variables TWEETUSERNAME and TWEETPASSWORD will then be checked for your consumer\_key or consumer\_secret, respectively.

-

  If neither the command line flags nor the environment variables are present, the .tweetrc file, if it exists, can be used to set the default consumer\_key and consumer\_secret.  The file should contain the following three lines, replacing \*consumer\_key\* with your consumer key, and \*consumer\_secret\* with your consumer secret:

-

  A skeletal .tweetrc file:

-

   \[Tweet\]\
    consumer\_key: \*consumer\_key\*\
    consumer\_secret: \*consumer\_password\*\
    access\_key: \*access\_key\*\
    access\_secret: \*access\_password\*

-

  ## SEE ALSO

 \<https://github.com/bear/python-twitter\>\
  \<http://www.twitter.com\>
