POST account/update_profile_colors

Updated on Wed, 2012-09-05 13:44

Sets one or more hex values that control the color scheme of the authenticating user's profile page on twitter.com. Each parameter's value must be a valid hexidecimal value, and may be either three or six characters (ex: #fff or #ffffff).

Resource URL

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

Parameters

profile_background_color optional

Profile background color.

Example Values: 3D3D3D

profile_sidebar_border_color optional

Profile sidebar's border color.

Example Values: 0F0F0F

profile_sidebar_fill_color optional

Profile sidebar's background color.

Example Values: 00FF00

profile_text_color optional

Profile text color.

Example Values: 000000

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_colors.json

POST Data

profile_text_color=000000&profile_sidebar_border_color=ff0000&skip_status=1&profile_background_color=0000FF&include_entities=1


  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 test", 
  7.     "entities": {
  8.         "description": {
  9.             "urls": []
  10.         }, 
  11.         "url": {
  12.             "urls": [
  13.                 {
  14.                     "display_url": null, 
  15.                     "expanded_url": null, 
  16.                     "indices": [
  17.                         0, 
  18.                         14
  19.                     ], 
  20.                     "url": "http://cnn.com"
  21.                 }
  22.             ]
  23.         }
  24.     }, 
  25.     "favourites_count": 0, 
  26.     "follow_request_sent": false, 
  27.     "followers_count": 0, 
  28.     "following": false, 
  29.     "friends_count": 10, 
  30.     "geo_enabled": true, 
  31.     "id": 776627022, 
  32.     "id_str": "776627022", 
  33.     "is_translator": false, 
  34.     "lang": "en", 
  35.     "listed_count": 0, 
  36.     "location": "San Francisco, CA", 
  37.     "name": "Mick Jagger", 
  38.     "notifications": false, 
  39.     "profile_background_color": "0000FF", 
  40.     "profile_background_image_url": "http://a0.twimg.com/profile_background_images/644522235/cdjlccey99gy36j3em67.jpeg", 
  41.     "profile_background_image_url_https": "https://si0.twimg.com/profile_background_images/644522235/cdjlccey99gy36j3em67.jpeg", 
  42.     "profile_background_tile": true, 
  43.     "profile_image_url": "http://a0.twimg.com/profile_images/2550256790/hv5rtkvistn50nvcuydl_normal.jpeg", 
  44.     "profile_image_url_https": "https://si0.twimg.com/profile_images/2550256790/hv5rtkvistn50nvcuydl_normal.jpeg", 
  45.     "profile_link_color": "000000", 
  46.     "profile_sidebar_border_color": "ff0000", 
  47.     "profile_sidebar_fill_color": "000000", 
  48.     "profile_text_color": "000000", 
  49.     "profile_use_background_image": false, 
  50.     "protected": false, 
  51.     "screen_name": "s0c1alm3dia", 
  52.     "show_all_inline_media": false, 
  53.     "statuses_count": 0, 
  54.     "time_zone": "Pacific Time (US & Canada)", 
  55.     "url": "http://cnn.com", 
  56.     "utc_offset": -28800, 
  57.     "verified": false
  58. }