title: Get Twitter's profiles using Java
body: <p>I'm doing an app which using Java with Twitter4j, I want to access to other Twitter user's profile information (id,name, etc) but these users are not followers or friends of mine. Now I only can access of my follower's and friend's profiles. Here is my code (to access to my followers): </p>
  
  <pre><code>    ConfigurationBuilder cb = new ConfigurationBuilder();
            cb.setDebugEnabled(true)
              .setOAuthConsumerKey("XXXXXXXXXXXXXXXXXXXXX")
              .setOAuthConsumerSecret("XXXXXXXXXXXXXXXXXXXXX")
              .setOAuthAccessToken("XXXXXXXXXXXXXXXXXXXXX")
              .setOAuthAccessTokenSecret("XXXXXXXXXXXXXXXXXXXXX");
  
  
      TwitterFactory tf = new TwitterFactory(cb.build());
  
      twitter = tf.getInstance();
      long cursor = -1;
  
      do {
                  if (0 &lt; args.length) {
                      ids = twitter.getFollowersIDs(args[0], cursor);
                  } else {
                      ids = twitter.getFollowersIDs(cursor);
                  }
       } while ((cursor = ids.getNextCursor()) != 0);
  </code></pre>
  
  <p>Also, Twitter gives an URL to access to this data with get_user (OAuth Signature Generator) but if I put it into a browser, it doesn't work (anyway, I don't have a clue about use it): </p>
  
  <pre><code>Request URI: https://api.twitter.com/1.1/users/search.json 
  Request query: q=Twitter%20API&amp;amp;page=1&amp;amp;count=3
  Final URL: https://api.twitter.com/1.1/users/search.json?q=Twitter%20API&amp;page=1&amp;count=3
  </code></pre>
  
  <p>Exist a way to access to these data?</p>
  
  <p>Thank you in advance and sorry for my english :)</p>