Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

TFJ-641 remove authentication checks from lookupUsers()

  • Loading branch information...
commit cd62a8e59c92d8ade582ada1aa1b24c3d1db2f83 1 parent 84ac63b
@yusuke yusuke authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  twitter4j-core/src/main/java/twitter4j/TwitterImpl.java
View
2  twitter4j-core/src/main/java/twitter4j/TwitterImpl.java
@@ -499,7 +499,6 @@ public User showUser(long userId) throws TwitterException {
* {@inheritDoc}
*/
public ResponseList<User> lookupUsers(String[] screenNames) throws TwitterException {
- ensureAuthorizationEnabled();
return factory.createUserList(get(conf.getRestBaseURL() +
"users/lookup.json", new HttpParameter[]{
new HttpParameter("screen_name", z_T4JInternalStringUtil.join(screenNames))
@@ -510,7 +509,6 @@ public User showUser(long userId) throws TwitterException {
* {@inheritDoc}
*/
public ResponseList<User> lookupUsers(long[] ids) throws TwitterException {
- ensureAuthorizationEnabled();
return factory.createUserList(get(conf.getRestBaseURL() +
"users/lookup.json", new HttpParameter[]{
new HttpParameter("user_id", z_T4JInternalStringUtil.join(ids))
Please sign in to comment.
Something went wrong with that request. Please try again.