trait TwitterFavoriteClient extends AnyRef
Implements the available requests for the favorites
resource.
- Alphabetic
- By Inheritance
- TwitterFavoriteClient
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def favoriteStatus(id: Long, include_entities: Boolean = true): Future[Tweet]
Likes the status specified in the ID parameter as the authenticating user.
Likes the status specified in the ID parameter as the authenticating user. Note: the like action was known as favorite before November 3, 2015; the historical naming remains in API methods and object properties. For more information see https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-favorites-create.
- id
: The numerical ID of the desired status.
- include_entities
: By default it is
true
. The parameters node will not be included when set to false.- returns
: The liked status.
- def favoriteStatusesForUser(screen_name: String, count: Int = 20, since_id: Option[Long] = None, max_id: Option[Long] = None, include_entities: Boolean = true): Future[RatedData[Seq[Tweet]]]
Returns the 20 most recent Tweets liked by the specified user.
Returns the 20 most recent Tweets liked by the specified user. For more information see https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list.
- screen_name
: The screen name of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- count
: By default it is
200
. Specifies the number of records to retrieve. Must be less than or equal to 200; defaults to 20. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied.- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occurred since the since_id, the since_id will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- include_entities
: By default it is
true
. The parameters node will not be included when set to false.- returns
: The sequence of favorite statuses.
- def favoriteStatusesForUserId(user_id: Long, count: Int = 20, since_id: Option[Long] = None, max_id: Option[Long] = None, include_entities: Boolean = true): Future[RatedData[Seq[Tweet]]]
Returns the 20 most recent Tweets liked by the specified user id.
Returns the 20 most recent Tweets liked by the specified user id. For more information see https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/get-favorites-list.
- user_id
: The ID of the user for whom to return results for. Helpful for disambiguating when a valid user ID is also a valid screen name.
- count
: By default it is
200
. Specifies the number of records to retrieve. Must be less than or equal to 200; defaults to 20. The value of count is best thought of as a limit to the number of tweets to return because suspended or deleted content is removed after the count has been applied.- since_id
: Optional, by default it is
None
. Returns results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the since_id, the since_id will be forced to the oldest ID available.- max_id
: Optional, by default it is
None
. Returns results with an ID less than (that is, older than) or equal to the specified ID.- include_entities
: By default it is
true
. The parameters node will not be included when set to false.- returns
: The sequence of favorite statuses.
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unfavoriteStatus(id: Long, include_entities: Boolean = true): Future[Tweet]
Un-likes the status specified in the ID parameter as the authenticating user.
Un-likes the status specified in the ID parameter as the authenticating user. Note: the like action was known as favorite before November 3, 2015; the historical naming remains in API methods and object properties. For more information see https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-favorites-destroy.
- id
: The numerical ID of the desired status.
- include_entities
: By default it is
true
. The parameters node will not be included when set to false.- returns
: The un-liked status.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()