Play Framework Module for Twitter

Play framework 2.x module to fetch, cache, and display tweets from Twitter in your web application. Resilient against Twitter API downtime by maintaining a cached copy of the last successful API call. Basic rendering of tweets into html for simple display. Published to Maven Central for quick and easy installation as a dependency.

Source code

Bugs or issues

Building and publishing a play framework 2.x module to maven central

Play Framework 2.x Usage

Add the following dependency to project/Build.scala:

"com.mfizz" %% "mfz-play-module-twitter" % "1.0"

Add the plugin to conf/play.plugins:

1000:com.mfizz.play.twitter.TwitterPlugin

Add the following properties to conf/application.conf:

twitter.access-token = "required: replace with twitter access token"
twitter.access-secret =  "required: replace with twitter access secret"
twitter.consumer-key = "required: replace with twitter consumer key"
twitter.consumer-secret = "required: replace with twitter consumer secret"
twitter.refresh-interval = 60m

Sample application

https://github.com/mfizz-inc/play-module-twitter/tree/master/sample

Updates? Need assistance?

Follow @fizzed_inc on Twitter for future updates and latest news.

If you have specific issues, questions, or problems, please contact us with your inquiry or consulting request.

Info

Tags