Skip to content

Instantly share code, notes, and snippets.

@jonDowdle
Created April 22, 2009 11:51
Show Gist options
  • Save jonDowdle/99750 to your computer and use it in GitHub Desktop.
Save jonDowdle/99750 to your computer and use it in GitHub Desktop.
<cfscript>
cKey = '68gG2okEZUOrl0dNKQeNPQ';
cSecret = 'qqPHVYLSjrJ4J9wDysQ9eAHenLiB2dYPdwsfLtTmQ';
reqUrl = 'https://twitter.com/oauth/request_token';
authUrl = 'http://twitter.com/oauth/authorize';
accessUrl = 'http://twitter.com/oauth/access_token';
</cfscript>
<cfhttp url="#reqUrl#" method="get" redirect="false">
<cfhttpparam name="CONSUMER_KEY" value="#cKey#" encoded="true" type="formfield">
<cfhttpparam name="CONSUMER_SECRET_KEY" value="#cSecret#" encoded="true" type="formfield">
</cfhttp>
<cfdump var="#cfhttp#">
<cfoutput>#cfhttp.filecontent#</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment