Twitter的Java客户端API Twitter4j

码农软件 · 软件分类 · 开源微博工具 · 2020-01-21 22:43:33

软件介绍

Twitter4J 是一个非官方的 Twitter API 的 Java 客户端开发包,使用 Twitter4j 可以轻松在你的应用中集成 Twitter 的服务,主要特点:

  • 100% 纯Java
  • 支持 Android 平台和 Google App Engine
  • 不依赖第三方开发包
  • 内建 OAuth 支持

示例代码:

// Creates the main object
Twitter twitter = new TwitterFactory().getInstance();
 
// Ask for a request token
RequestToken requestToken = twitter.getOAuthRequestToken();
 
// Store the token in session
request.getSession().setAttribute("rt", requestToken);
 
// Extract the authentication URL
String authUrl = requestToken.getAuthenticationURL();
 
// Send the Twitter authentication page to the page to create a popup from there
request.setAttribute("auth", authUrl);

本文地址:https://www.codercto.com/soft/d/23903.html

比特币

比特币

李钧、长铗 / 中信出版社 / 2014-1-1 / 39.00元

2009年,比特币诞生。比特币是一种通过密码编码,在复杂算法的大量计算下产生的电子货币。虽然是虚拟货币,比特币却引起了前所未有的全球关注热潮。 这一串凝结着加密算法与运算能力的数字不仅可以安全流通、换取实物,1比特币价值甚至曾高达8 000元人民币。有研究者认为比特币具备打破几千年来全球货币由国家垄断发行的可能性。在不经意间,比特币引起的金融新浪潮已悄然成型。 虚拟货币并不是新鲜事物,......一起来看看 《比特币》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码