views:

1274

answers:

3

I'm trying to integrate with twitter using their OAuth api. I have downloaded and tried the CF implementation here: http://oauth.riaforge.org/ with no success. Anyone have a simple CF to twitter OAuth example for authorizing a user, getting a token, and using it?

A: 

Could try this one, but I didn't try it myself yet to know if it works any better than the one on RIA Forge. I just found it while digging around.

http://oauth.googlecode.com/svn/code/coldfusion/

It looks like RPX also supports OAuth, but again, I haven't tried it personally. I am using them for an OpenID implementation, and they work great.

https://rpxnow.com/docs

Jason
Thanks, but the the google code link is the same as the one on RIAForge.
According to the official OAuth site, the two projects are the same, simply multiply hosted.
Ben Doom
+4  A: 

Coldfusion plays really nice with java. What I did is simply use the twitter4j lib (http://yusuke.homeip.net/twitter4j/en/index.html#introduction) to handle everything. Works like a charm, and is far more comprehensive that you'd ever dream of writing yourself. Plus, it's free.

I'd try that before I went banging my head against the wall trying to deal with signing oauth requests and reinventing the wheel.

Anthony Webb
Thank you. Works great!
A: 

Hello,

codeigniter comes up with a twitter library on http://newdailyblog.blogspot.com/2010/07/tweetsigniter-documentation.html. Thanks.

Tahsin Hasan