[Status] field can't be got from [suggestions]


#1

I want to get the most recent statuses from the suggested users.First I got the categories of the suggested users.Then get the most recent statuses from some indicated category such as News through the API:https://api.twitter.com/1.1/users/suggestions/:slug/members.json.

But [status] field isn’t included in the response.Why?


#2

The data returned from https://api.twitter.com/1.1/users/suggestions/:slug/members.json is a list of users profile objects. These do not include statuses, you would need to get those using e.g. statuses/lookup


#3

Thanks a lot.But according to https://dev.twitter.com/rest/reference/get/users/suggestions/%3Aslug/members(API description and example),the API should return statuses.If the API return user profile objects only,the API is the same as https://api.twitter.com/1.1/users/suggestions/:slug.json.


#4

You’re absolutely right! Sorry! :blush: I should learn to read more carefully, my bad!

That’s really weird then. Can you provide an example of an a call with :slug value that is not returning the statuses?


#5

That’s all right.On the API console page(https://dev.twitter.com/rest/tools/console),after OAuth1 authentication,fill the Request URL as https://api.twitter.com/1.1/users/suggestions/ニュース/members.json.You can find that statuses aren’t included in the response.Please try.


#6

You’re absolutely right - I will look into this.


#7

This issue has now been resolved - thanks for alerting us to the discrepancy and thank you for your patience! I’ve also taken the opportunity to slightly improve the documentation on the suggestions endpoints.


#8

Thank you a lot.I have seen the correct results.