Specify attributes to return, instead of returning the whole user object, for users/lookup


#1

Rather than return the entire user object in users/lookup, is it possible to just request for certain attributes?

For example if all I need is their name and profile picture, it would save some time/bandwidth when looking up thousands of users.


#2

No, there’s no field selection capabilities in that API at this time. The trimmest you can get it would be to use a few mostly-global API parameters like:

include_entities=false&include_user_entities=false&skip_status=true


#3

Ok, thank you!


#4

[Feature Request] Would be nice to have though!