Kris
Kris

Reputation: 828

limit results of twitter.lookupUser method?

in the twitter4j library: Is there a way to reduce the number of results for the twitter.lookupUser method? i.e. only return certain fields or even only fields that are not empty?

Upvotes: 1

Views: 243

Answers (1)

Kris
Kris

Reputation: 828

I actually already found the answer. So for people who are looking for the same thing:

if you use the lookupUser method a list of Users gets returned. so then you can use all of the User methods on that list. For example getLocation, which only returns the location of the users in the list.

Upvotes: 1

Related Questions