Skip to content

Instantly share code, notes, and snippets.

@johngag
johngag / Twitter.cfc
Created April 27, 2011 15:10 — forked from jiggidyuo/Twitter.cfc
Easy way to use twitter4j with ColdFusion
<cfcomponent output="false">
<cffunction name="init" returntype="Twitter">
<cfargument name="consumerKey" required="true">
<cfargument name="consumerSecret" required="true">
<cfargument name="authKey" type="string" required="false" default="">
<cfargument name="authSecret" type="string" required="false" default="">
<cfscript>
var local = {};