This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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
  • If you have enabled one of the zinnia-wysiwyg-xxx plugin widget, you need to reconstruct the EntryAdmin class manually with the provided mixins:

    from zinnia.admin.entry import EntryAdmin
    from zinnia_twitter.admin import EntryAdminTwitterMixin
    from zinnia_ckeditor.admin import EntryAdminCKEditorMixin
    
    class FinalEntryAdmin(EntryAdminCKEditorMixin,
                          EntryAdminTwitterMixin,
                          EntryAdmin):
        pass
    
    admin.site.unregister(Entry)
    admin.site.register(Entry, FinalEntryAdmin)
    

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.

Release History

Release History

1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
zinnia-twitter-1.1.tar.gz (8.7 kB) Copy SHA256 Checksum SHA256 Source Feb 19, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting