ColdFusion / OAuth / Twitter API

I am trying to integrate with Twitter using their OAuth API. I downloaded and tried the CF implementation here: http://oauth.riaforge.org/ without success. Does anyone have a simple CF example for Twitter OAuth to authorize a user, get a token and use it?

+4
source share
3 answers

ColdFusion plays great with java. What I did just uses twitter4j lib ( http://yusuke.homeip.net/twitter4j/en/index.html#introduction ) to handle everything. It works like a charm, and much more comprehensive that you ever dreamed of writing yourself. In addition, it is free.

I would try this before I hit my head against the wall, trying to figure out how to sign oauth requests and reinvent the wheel.

+7
source

check out this post my colleague wrote - the twitter 4j library recently changed in update 2.2, and now the class has become an interface, so you need to change the code a bit ...

http://techblog.troywebconsulting.com/2011/09/authenticating-to-twitter-using-oauth-and-twitter4j-2-2x-api-with-coldfusion/

+1
source

Could try this one, but I haven't tried it on my own to find out if it works better than RIA Forge. I just found it, digging around.

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

It looks like RPX also supports OAuth, but then again, I have not tried it personally. I use them to implement OpenID, and they work great.

https://rpxnow.com/docs

0
source

Source: https://habr.com/ru/post/1286244/


All Articles