Django Mezzanine Twitter Setup

Setting up your Mezzanine based site to pull in a feed from Twitter has changed quite a bit over the past few years as the system has evolved. Now its incredibly simple to set up but the documentation is pretty terse and it’s not immediately evident how to do it. All you have to do is follow a few simple steps:

  1. Log into your Twitter account or create a new one.

  2. Create an Application to connect to Twitter with using Oauth

  3. Fill out a Name, Description and Website URL for your app. These can be set to anything.

  4. On the details page of your new application click the Create my access token button at the bottom.

  5. Click the Oauth tab in your application

  6. Log into your Mezzanine site admin area and select Site > Settings from the top navigation and scroll to the Twitter settings section.

  7. Copy the Oauth Consumer and Oauth Access settings from Twitter to your site settings.

  8. Then set the query keywords or username you want to use and the type of query from the drop down box.

That’s it. You may still need to poll_twitter on your production box.