### Navigation

- index
- modules |
- next |
- previous |
- pywws 14.06.dev1238 documentation »
- Python programs and modules »

# pywws.TwitterAuth

Authorise pywws to post to your Twitter account

    usage: python -m pywws.TwitterAuth [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]) |

Classes

`Twitter` |

`pywws.TwitterAuth.``TwitterAuth`(params)

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

Comments or questions? Please subscribe to the pywws mailing list http://groups.google.com/group/pywws and let us know.

### Navigation

- index
- modules |
- next |
- previous |
- pywws 14.06.dev1238 documentation »
- Python programs and modules »