ColdFusion/OAuth/Twitter API [英] ColdFusion/OAuth/Twitter API

查看:24
本文介绍了ColdFusion/OAuth/Twitter API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Twitter 的 OAuth API 与他们集成.我在这里下载并尝试了 CF 实现:http://oauth.riaforge.org/ 没有成功.任何人都有一个简单的 CF 到 Twitter OAuth 示例,用于授权用户、获取令牌并使用它?

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?

推荐答案

ColdFusion 与 java 配合得非常好.我所做的只是使用 twitter4j 库 (http://yusuke.homeip.net/twitter4j/en/index.html#introduction) 来处理所有事情.像魅力一样工作,并且比您自己想象的要全面得多.另外,它是免费的.

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.

在我试图处理签署 oauth 请求和重新发明轮子之前,我会尝试这样做.

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

这篇关于ColdFusion/OAuth/Twitter API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆