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:
Log into your Twitter account or create a new one.
Create an Application to connect to Twitter with using Oauth
Fill out a Name, Description and Website URL for your app. These can be set to anything.
On the details page of your new application click the Create my access token button at the bottom.
Click the Oauth tab in your application
Log into your Mezzanine site admin area and select Site > Settings from the top navigation and scroll to the Twitter settings section.
Copy the Oauth Consumer and Oauth Access settings from Twitter to your site settings.
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.
comments powered by Disqus