### Navigation

- index
- modules |
- next |
- previous |
- pywws 13.03_7f9fc90 documentation »
- Python programs and modules »

# TwitterAuth

Authorise pywws to post to your Twitter account

    usage: python TwitterAuth.py [options] data_dir
    options are:
     -h or --help       display this help
    data_dir is the root directory of the weather data

This program authorises `pywws.ToTwitter` to post to a Twitter account. You need to create an account before running `TwitterAuth`. It opens a web browser window (or gives you a URL to copy to your web browser) where you log in to your Twitter account. If the login is successful the browser will display a 7 digit number which you then copy to `TwitterAuth`.

See How to configure pywws to post messages to Twitter for more detail on using Twitter with pywws.

Functions

`TwitterAuth`(params) |
`main`([argv]) |

`TwitterAuth.``TwitterAuth`(params)

`TwitterAuth.``main`(argv=None)

### Navigation

- index
- modules |
- next |
- previous |
- pywws 13.03_7f9fc90 documentation »
- Python programs and modules »