Description Usage Arguments See Also
View source: R/account_settings.R
POST account/settings
1 2 3 |
sleep_time_enabled |
When set to true, t or 1, will enable sleep time for the user. Sleep time is the time when push or SMS notifications should not be sent to the user. Example Values: true |
start_sleep_time |
The hour that sleep time should begin if it is enabled. The value for this parameter should be provided in ISO8601 format (i.e. 00-23). The time is considered to be in the same timezone as the user<c2><81>fs time_zone setting. Example Values: 13 |
end_sleep_time |
The hour that sleep time should end if it is enabled. The value for this parameter should be provided in ISO8601 format (i.e. 00-23). The time is considered to be in the same timezone as the user<c2><81>fs time_zone setting. Example Values: 13 |
time_zone |
The timezone dates and times should be displayed in for the user. The timezone must be one of the Rails TimeZone names. Example Values: Europe/Copenhagen, Pacific/Tongatapu |
trend_location_woeid |
The Yahoo! Where On Earth ID to use as the user<c2><81>fs 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]. Example Values: 1 |
allow_contributor_request |
Whether to allow others to include user as contributor. Possible values include <c2><81>gall<c2><81>h (anyone can include user), <c2><81>gfollowing<c2><81>h (only followers can include user) or <c2><81>gnone<c2><81>h. Also note that changes to this field require the request also include a <c2><81>gcurrent_password<c2><81>h value with the user<c2><81>fs password to successfully modify this field. Example Values: 1 |
lang |
The language which Twitter should render in for this user. The language must be specified by the appropriate two letter ISO 639-1 representation. Currently supported languages are provided by this endpoint. Example Values: it, en, es |
https://dev.twitter.com/rest/reference/post/account/settings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.