@Remoteable(path="https://api.twitter.com/1.1/users")
public interface SuggestedUsers
Modifier and Type | Method and Description |
---|---|
List<SuggestedUserCategory> |
categories(String lang)
Access to Twitter’s suggested user list.
|
List<User> |
members(String slug)
Access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
|
SuggestedUserCategory |
suggestions(String slug,
String lang)
Access the users in a given category of the Twitter suggested user list.
|
@RemoteMethod(httpMethod="GET", path="/suggestions.json") List<SuggestedUserCategory> categories(@QueryIfNE(value="lang") String lang)
lang
- Restricts the suggested categories to the requested language. The language must be specified by the appropriate two letter ISO 639-1 representation.List
[SuggestedUserCategory
]@RemoteMethod(httpMethod="GET", path="/suggestions/{slug}.json") SuggestedUserCategory suggestions(@Path(value="slug") String slug, @QueryIfNE(value="lang") String lang)
Copyright © 2018 The Apache Software Foundation. All rights reserved.