Skip to content

A ColdFusion wrapper to interact with the Twitter API (with OAuth integration)

Notifications You must be signed in to change notification settings

coldfumonkeh/monkehTweets

Repository files navigation

Build Status

monkehTweets ColdFusion Twitter API


monkehTweets is a ColdFusion Wrapper written to interact with the Twitter API. Full installation details (incredibly simple) are included within the /installation directory.

monkehTweets has been compatible with Twitter's v1.1 API since October 2012 (well in advance of the change in May 2013)

Authors

Developed by Matt Gifford (aka coldfumonkeh)

Share the love

Got a lot out of this package? Saved you time and money?

Share the love and visit Matt's wishlist: http://www.amazon.co.uk/wishlist/B9PFNDZNH4PY


Requirements

monkehTweets requires ColdFusion 8+

The package has been tested against:

  • Adobe ColdFusion 9
  • Adobe ColdFusion 10
  • Railo 4
  • Railo 4.1
  • Railo 4.2
  • Lucee 4.5
  • Lucee 5

Project home: http://monkehTweet.riaforge.org

CommandBox Compatible

Installation

This CF wrapper can be installed as standalone or as a ColdBox Module. Either approach requires a simple CommandBox command:

box install monkehtweet

Then follow either the standalone or module instructions below.

Standalone

This wrapper will be installed into a directory called monkehTweet and then can be instantiated via new monkehTweet.com.coldfumonkeh.monkehTweet() with the following constructor arguments:

     consumerKey      =	'',
     consumerSecret   =	'',
     oauthToken       =	'',
     oauthTokenSecret =	'',
     userAccountName  =	'',
     parseResults     = true

ColdBox Module

This package also is a ColdBox module as well. The module can be configured by creating a monkehTweet configuration structure in your application configuration file: config/Coldbox.cfc with the following settings:

monkehTweet = {
     consumerKey      =	'',
     consumerSecret   =	'',
     oauthToken       =	'',
     oauthTokenSecret	=	'',
     userAccountName  =	'',
     parseResults     =	true,
};

Then you can inject the CFC via Wirebox:

property name="monkehTweet" inject="monkehTweet@MonkehTweet";

Useful Links

One of the questions received in regards to monkehTweets is how to manage authentication for multiple users. You can find the answer right here: