JTwitterProfile::updateSettings
Method to update the authenticating user's settings.
Signature
public function updateSettings([integer
$location = null,
[boolean
$sleep_time = false,
[integer
$start_sleep = null,
[integer
$end_sleep = null,
[string
$time_zone = null,
[string
$lang = null]]]]]] )
Parameters
-
$location
- The Yahoo! Where On Earth ID to use as the user's default trend location.
-
$sleep_time
- When set to true, t or 1, will enable sleep time for the user.
-
$start_sleep
- The hour that sleep time should begin if it is enabled.
-
$end_sleep
- The hour that sleep time should end if it is enabled.
-
$time_zone
- The timezone dates and times should be displayed in for the user. The timezone must be one of the
-
$lang
- The language which Twitter should render in for this user.
Returns
- array
- The decoded JSON response