且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

twitter4j XAuth认证

更新时间:2021-07-11 05:58:35

微博德precated基本身份验证和Twitter4J 2.2.0,你需要使用Twitter#getOAuthAccessToken(ID,密码),以获得访问令牌。
http://twitter4j.org/en/versions.html#migration21x-22x

Twitter deprecated Basic authentication and as of Twitter4J 2.2.0, you need to use Twitter#getOAuthAccessToken(id,password) to get the access token. http://twitter4j.org/en/versions.html#migration21x-22x