Packages

trait TwitterAccountClient extends AnyRef

Implements the available requests for the account resource.

Source
TwitterAccountClient.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TwitterAccountClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val restClient: RestClient
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. def removeProfileBanner(): Future[Unit]

    Removes the uploaded profile banner for the authenticating user.

    Removes the uploaded profile banner for the authenticating user. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-remove_profile_banner.

  16. def settings(): Future[RatedData[Settings]]

    Returns settings (including current trend, geo and sleep time information) for the authenticating user.

    Returns settings (including current trend, geo and sleep time information) for the authenticating user. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-settings.

    returns

    : The account settings for the authenticating user.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def updateProfile(update: ProfileUpdate): Future[User]

    Sets some values that users are able to set under the “Account” tab of their settings page.

    Sets some values that users are able to set under the “Account” tab of their settings page. Only the parameters specified will be updated. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    update

    : The profile values to update.

    returns

    : The user representation.

  20. def updateProfileDescription(description: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Sets the description that users are able to set under the “Account” tab of their settings page.

    Sets the description that users are able to set under the “Account” tab of their settings page. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    description

    : A description of the user owning the account. Maximum of 160 characters.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The user representation.

  21. def updateProfileLinkColor(link_color: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Sets the link color that users are able to set under the “Account” tab of their settings page.

    Sets the link color that users are able to set under the “Account” tab of their settings page. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    link_color

    : Sets a hex value that controls the color scheme of links used on the authenticating user’s profile page on twitter.com. This must be a valid hexadecimal value, and may be either three or six characters (ex: F00 or FF0000).

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The user representation.

  22. def updateProfileLocation(location: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Sets the location that users are able to set under the “Account” tab of their settings page.

    Sets the location that users are able to set under the “Account” tab of their settings page. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    location

    : The city or country describing where the user of the account is located. The contents are not normalized or geocoded in any way. Maximum of 30 characters.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The user representation.

  23. def updateProfileName(name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Sets the name that users are able to set under the “Account” tab of their settings page.

    Sets the name that users are able to set under the “Account” tab of their settings page. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    name

    : Full name associated with the profile. Maximum of 20 characters.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The user representation.

  24. def updateProfileUrl(url: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Sets the url that users are able to set under the “Account” tab of their settings page.

    Sets the url that users are able to set under the “Account” tab of their settings page. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile.

    url

    : URL associated with the profile. Will be prepended with “http://” if not present. Maximum of 100 characters.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The user representation.

  25. def updateSettings(settings_options: SettingsOptions): Future[Settings]

    Updates the authenticating user’s settings.

    settings_options

    : The setting options to update. Only the parameters specified will be updated.

    returns

    : The updated settings.

  26. def updateSettings(allow_contributor_request: Option[ContributorType] = None, sleep_time_enabled: Option[Boolean] = None, start_sleep_time: Option[Hour] = None, end_sleep_time: Option[Hour] = None, lang: Option[Language] = None, time_zone: Option[TimeZone] = None, trend_location_woeid: Option[Long] = None): Future[Settings]

    Updates the authenticating user’s settings.

    allow_contributor_request

    : Optional, by default it is None. Whether to allow others to include user as contributor. Possible values include All (anyone can include user), Following (only followers can include user) or None.

    sleep_time_enabled

    : Optional, by default it is None. When set to true, will enable sleep time for the user. Sleep time is the time when push or SMS notifications should not be sent to the user.

    start_sleep_time

    : Optional, by default it is None. The hour that sleep time should begin if it is enabled. The time is considered to be in the same timezone as the user’s time_zone setting.

    end_sleep_time

    : Optional, by default it is None. The hour that sleep time should end if it is enabled. The time is considered to be in the same timezone as the user’s time_zone setting.

    lang

    : Optional, by default it is None. The language which Twitter should render in for this user.

    time_zone

    : Optional, by default it is None. The timezone dates and times should be displayed in for the user.

    trend_location_woeid

    : Optional, by default it is None. The Yahoo! Where On Earth ID to use as the user’s default trend location. Global information is available by using 1 as the WOEID. The woeid must be one of the locations returned by [node:59].

    returns

    : The updated settings.

  27. def verifyCredentials(include_entities: Boolean = true, skip_status: Boolean = false, include_email: Boolean = false): Future[RatedData[User]]

    Returns a representation of the requesting user if authentication was successful; it throws a com.danielasfregola.twitter4s.exceptions.TwitterException if not.

    Returns a representation of the requesting user if authentication was successful; it throws a com.danielasfregola.twitter4s.exceptions.TwitterException if not. Use this method to test if supplied user credentials are valid. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/get-account-verify_credentials.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    include_email

    : By default it is false. When set to true email will be returned in the user objects. If the user does not have an email address on their account, or if the email address is un-verified, null will be returned.

    returns

    : The user representation.

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped