POST account/update_profile

Updated on Wed, 2012-09-05 11:58

Sets values that users are able to set under the "Account" tab of their settings page. Only the parameters specified will be updated.

Resource URL

https://api.twitter.com/1.1/account/update_profile.json

Parameters

While no specific parameter is required, at least one of these parameters should be provided when executing this method.

name optional

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

Example Values: Marcel Molina

url optional

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

Example Values: http://project.ioni.st

location optional

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.

Example Values: San Francisco, CA

description optional

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

Example Values: Flipped my wig at age 22 and it never grew back. Also: I work at Twitter.

include_entities optional

The entities node will not be included when set to false.

Example Values: false

skip_status optional

When set to either true, t or 1 statuses will not be included in the returned user objects.

Example Request

POST

https://api.twitter.com/1.1/account/update_profile.json

POST Data

name=Sean%20Cook&description=Keep%20calm%20and%20rock%20on.


  1. {
  2.     "contributors_enabled": false, 
  3.     "created_at": "Thu Aug 23 19:45:07 +0000 2012", 
  4.     "default_profile": false, 
  5.     "default_profile_image": false, 
  6.     "description": "Keep calm and rock on.", 
  7.     "favourites_count": 0, 
  8.     "follow_request_sent": false, 
  9.     "followers_count": 0, 
  10.     "following": false, 
  11.     "friends_count": 10, 
  12.     "geo_enabled": true, 
  13.     "id": 776627022, 
  14.     "id_str": "776627022", 
  15.     "is_translator": false, 
  16.     "lang": "en", 
  17.     "listed_count": 0, 
  18.     "location": "San Francisco, CA", 
  19.     "name": "Sean Cook", 
  20.     "notifications": false, 
  21.     "profile_background_color": "9AE4E8", 
  22.     "profile_background_image_url": "http://a0.twimg.com/images/themes/theme16/bg.gif", 
  23.     "profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme16/bg.gif", 
  24.     "profile_background_tile": false, 
  25.     "profile_image_url": "http://a0.twimg.com/profile_images/2550256790/hv5rtkvistn50nvcuydl_normal.jpeg", 
  26.     "profile_image_url_https": "https://si0.twimg.com/profile_images/2550256790/hv5rtkvistn50nvcuydl_normal.jpeg", 
  27.     "profile_link_color": "0084B4", 
  28.     "profile_sidebar_border_color": "BDDCAD", 
  29.     "profile_sidebar_fill_color": "DDFFCC", 
  30.     "profile_text_color": "333333", 
  31.     "profile_use_background_image": true, 
  32.     "protected": false, 
  33.     "screen_name": "s0c1alm3dia", 
  34.     "show_all_inline_media": false, 
  35.     "statuses_count": 0, 
  36.     "time_zone": "Pacific Time (US & Canada)", 
  37.     "url": "http://cnn.com", 
  38.     "utc_offset": -28800, 
  39.     "verified": false
  40. }