trait TwitterUserClient extends AnyRef
Implements the available requests for the users
resource.
- Source
- TwitterUserClient.scala
- Alphabetic
- By Inheritance
- TwitterUserClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val restClient: RestClient
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def profileBannersForUser(screen_name: String): Future[RatedData[Banners]]
Returns a map of the available size variations of the specified user’s profile banner.
Returns a map of the available size variations of the specified user’s profile banner. If the user has not uploaded a profile banner, a
TwitterException
will be thrown instead. This method can be used instead of string manipulation on the profile_banner_url returned in user objects as described in Profile Images and Banners. The profile banner data available at each size variant’s URL is in PNG format. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-users-profile_banner.- screen_name
: The screen name of the user for whom to return results. Helpful for disambiguating when a valid screen name is also a user ID.
- returns
: The banners representation.
- def profileBannersForUserId(user_id: Long): Future[RatedData[Banners]]
Returns a map of the available size variations of the specified user’s profile banner.
Returns a map of the available size variations of the specified user’s profile banner. If the user has not uploaded a profile banner, a
TwitterException
will be thrown instead. This method can be used instead of string manipulation on the profile_banner_url returned in user objects as described in Profile Images and Banners. The profile banner data available at each size variant’s URL is in PNG format. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-users-profile_banner.- user_id
: The ID of the user for whom to return results. Helpful for disambiguating when a valid user ID is also a valid screen name.
- returns
: The banners representation.
- def searchForUser(query: String, page: Int = -1, count: Int = 20, include_entities: Boolean = true): Future[RatedData[Seq[User]]]
Provides a simple, relevance-based search interface to public user accounts on Twitter.
Provides a simple, relevance-based search interface to public user accounts on Twitter. Try querying by topical interest, full name, company name, location, or other criteria. Exact match searches are not supported. Only the first 1,000 matching results are available. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search.
- query
: The search query to run against people search.
- page
: By default it is
-1
, which is the first "page". Specifies the page of results to retrieve.- count
: By default it is
20
. The number of potential user results to retrieve per page. This value has a maximum of 20.- include_entities
: By default it is
true
. The parameters node that may appear within embedded statuses will be disincluded when set tofalse
.- returns
: The sequence of users.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def user(screen_name: String, include_entities: Boolean = true): Future[RatedData[User]]
Returns a variety of information about the user specified by the required screen name parameter.
Returns a variety of information about the user specified by the required screen name parameter. The author’s most recent Tweet will be returned inline when possible. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show.
- screen_name
: The screen name of the user for whom to return results for.
- include_entities
: By default it is
true
. The parameters node that may appear within embedded statuses will be disincluded when set tofalse
.- returns
: The sequence of user representations.
- def userById(id: Long, include_entities: Boolean = true): Future[RatedData[User]]
Returns a variety of information about the user specified by the required screen name parameter.
Returns a variety of information about the user specified by the required screen name parameter. The author’s most recent Tweet will be returned inline when possible. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show.
- id
: The ID of the user for whom to return results for.
- include_entities
: By default it is
true
. The parameters node that may appear within embedded statuses will be disincluded when set tofalse
.- returns
: The sequence of user representations.
- def users(screen_names: Seq[String], include_entities: Boolean = true): Future[RatedData[Seq[User]]]
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of screen name parameters.
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of screen name parameters. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup.
- screen_names
: A sequence of screen names, up to 100 are allowed in a single request.
- include_entities
: By default it is
true
. The parameters node that may appear within embedded statuses will be disincluded when set tofalse
.- returns
: The sequence of user representations.
- def users(screen_names: String*): Future[RatedData[Seq[User]]]
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of screen name parameters.
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of screen name parameters. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup.
- screen_names
: A sequence of screen names, up to 100 are allowed in a single request.
- returns
: The sequence of user representations.
- def usersByIds(ids: Seq[Long], include_entities: Boolean = true): Future[RatedData[Seq[User]]]
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of user id parameters.
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of user id parameters. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup.
- ids
: A sequence of user ids, up to 100 are allowed in a single request.
- include_entities
: By default it is
true
. The parameters node that may appear within embedded statuses will be disincluded when set tofalse
.- returns
: The sequence of user representations.
- def usersByIds(ids: Long*): Future[RatedData[Seq[User]]]
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of user id parameters.
Returns fully-hydrated user objects for up to 100 users per request, as specified by the sequence of user id parameters. For more information see https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-lookup.
- ids
: A sequence of user ids, up to 100 are allowed in a single request.
- returns
: The sequence of user representations.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])