trait TwitterAccountClient extends AnyRef
Implements the available requests for the account
resource.
- Alphabetic
- By Inheritance
- TwitterAccountClient
- 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 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.
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- 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 eithertrue
statuses will not be included in the returned user object.- returns
: The user representation.
- 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 eithertrue
statuses will not be included in the returned user object.- returns
: The user representation.
- 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 eithertrue
statuses will not be included in the returned user object.- returns
: The user representation.
- 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 eithertrue
statuses will not be included in the returned user object.- returns
: The user representation.
- 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 eithertrue
statuses will not be included in the returned user object.- returns
: The user representation.
- def updateSettings(settings_options: SettingsOptions): Future[Settings]
Updates the authenticating user’s settings.
Updates the authenticating user’s settings. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-remove_profile_banner.
- settings_options
: The setting options to update. Only the parameters specified will be updated.
- returns
: The updated settings.
- 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.
Updates the authenticating user’s settings. For more information see https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-remove_profile_banner.
- allow_contributor_request
: Optional, by default it is
None
. Whether to allow others to include user as contributor. Possible values includeAll
(anyone can include user),Following
(only followers can include user) orNone
.- sleep_time_enabled
: Optional, by default it is
None
. When set totrue
, 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.
- 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 eithertrue
statuses will not be included in the returned user object.- include_email
: By default it is
false
. When set totrue
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.
- 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])