twitter4s.api

TweetsResources

trait TweetsResources extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TweetsResources
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def destroyStatus(statusId: Long): Status

    Destroys the status specified by the required ID parameter.

    Destroys the status specified by the required ID parameter.
    Usage note: The authenticating user must be the author of the specified status.
    This method calls twitter4j.Twitter.destroyStatus.
    destroyStatus calls http://api.twitter.com/1.1/statuses/destroy

    statusId

    The ID of the status to destroy.

    returns

    the deleted status

    Since

    Twitter4S 1.0.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    POST statuses/destroy/:id | Twitter Developers

  2. abstract def getOEmbed(req: OEmbedRequest): OEmbed

    Returns information allowing the creation of an embedded representation of a Tweet on third party sites.

    Returns information allowing the creation of an embedded representation of a Tweet on third party sites. See the oEmbed specification for information about the response format. While this endpoint allows a bit of customization for the final appearance of the embedded Tweet, be aware that the appearance of the rendered Tweet may change over time to be consistent with Twitter's Display Requirements. Do not rely on any class or id parameters to stay constant in the returned markup.
    This method calls http://api.twitter.com/1.1/statuses/oembed.json

    req

    request

    returns

    information allowing the creation of an embedded representation of a Tweet on third party sites

    Since

    Twitter4S 2.1.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    GET statuses/oembed | Twitter Developers

  3. abstract def getRetweeterIds(statusId: Long, cursor: Long, count: Integer = null): IDs

    Returns a collection of up to count user IDs belonging to users who have retweeted the tweet specified by the id parameter.

    Returns a collection of up to count user IDs belonging to users who have retweeted the tweet specified by the id parameter.
    This method calls https://api.twitter.com/1.1/get/statuses/retweeters/ids

    statusId

    The numerical ID of the tweet you want the retweeters of.

    cursor

    The cursor of the page to fetch. Use -1 to start.

    count

    (Optional)The maximum number of retweeter IDs to retrieve. Must be between 1 and 200, inclusive.

    returns

    the retweets of a given tweet

    Since

    Twitter4S 2.1.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    Tweets Resources › statuses/retweeters/ids

  4. abstract def getRetweets(statusId: Long): ResponseList[twitter4j.Status]

    Returns up to 100 of the first retweets of a given tweet.

    Returns up to 100 of the first retweets of a given tweet.
    This method calls twitter4j.Twitter.getRetweets.
    getRetweets calls http://api.twitter.com/1.1/statuses/retweets

    statusId

    The numerical ID of the tweet you want the retweets of.

    returns

    the retweets of a given tweet

    Since

    Twitter4S 1.0.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    Tweets Resources › statuses/retweets/:id

  5. abstract def retweetStatus(statusId: Long): Status

    Retweets a tweet.

    Retweets a tweet. Returns the original tweet with retweet details embedded.
    This method calls twitter4j.Twitter.retweetStatus.
    retweetStatus calls http://api.twitter.com/1.1/statuses/retweet

    statusId

    The ID of the status to retweet.

    returns

    the retweeted status

    Since

    Twitter4S 1.0.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    POST statuses/retweet/:id | Twitter Developers

  6. abstract def showStatus(id: Long): Status

    Returns a single status, specified by the id parameter below.

    Returns a single status, specified by the id parameter below. The status's author will be returned inline.
    This method calls twitter4j.Twitter.showStatus.
    showStatus calls http://api.twitter.com/1.1/statuses/show

    id

    the numerical ID of the status you're trying to retrieve

    returns

    a single status

    Since

    Twitter4S 1.0.0

    Exceptions thrown
    twitter4j.TwitterException

    when Twitter service or network is unavailable

    See also

    GET statuses/show/:id | Twitter Developers

  7. abstract def updateStatus(status: StatusSpecific): Status

    Updates the authenticating user's status.

    Updates the authenticating user's status. A status update with text identical to the authenticating user's text identical to the authenticating user's current status will be ignored to prevent duplicates.
    This method calls twitter4j.Twitter.updateStatus.
    updateStatus calls http://api.twitter.com/1.1/statuses/update
    Note: You must set either status or latestStatus.

    status

    (require) your status to be update (text or latest status obejct).

    returns

    the latest status

    Since

    Twitter4S 1.0.0

    Exceptions thrown
    TwitterException

    when Twitter service or network is unavailable

    See also

    POST statuses/update | Twitter Developers

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped