Skip to main content

Twitter plugin for django-blog-zinnia

Project description

Zinnia-twitter is a package putting your entries on Twitter.

Installation

  • Install the package on your system:

    $ pip install zinnia-twitter

    Tweepy will also be installed as a dependency.

  • Register the 'zinnia_twitter' in your INSTALLED_APPS after the 'zinnia' application.

  • Define these following settings with your credentials:

    • TWITTER_CONSUMER_KEY

    • TWITTER_CONSUMER_SECRET

    • TWITTER_ACCESS_KEY

    • TWITTER_ACCESS_SECRET

Note that the authentification for Twitter has changed since September 2010. The actual authentification system is based on oAuth. That’s why now you need to set these 4 settings. If you don’t know how to get these information, follow this excellent tutorial at:

http://talkfast.org/2010/05/31/twitter-from-the-command-line-in-python-using-oauth/

You can replace the script mentionned in the step 3 of the tutorial by the get_twitter_access management command provided by the application, once you have your CONSUMER_KEY and CONSUMER_SECRET.

Now in the admin, you can post an update containing your entry’s title and the shortened URL of your entry.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zinnia-twitter-1.0.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file zinnia-twitter-1.0.tar.gz.

File metadata

File hashes

Hashes for zinnia-twitter-1.0.tar.gz
Algorithm Hash digest
SHA256 9c255a27abb45a5e51d66d124cb54f6721179947e86777732b6c3448df7c06ca
MD5 586f751bf2a81e551441b4c482d91c4d
BLAKE2b-256 63e6bdcb8a9aaa0001fdeef814523b4f7ba3a6fcd645cbd4898696e18f1d8138

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page