GET help/configuration

Updated on Thu, 2011-12-15 17:48

Returns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum photo resolutions, and t.co URL lengths.

It is recommended applications request this endpoint when they are loaded, but no more than once a day.

Resource URL

http://api.twitter.com/1/help/configuration.format

Example Request

GET

https://api.twitter.com/1/help/configuration.json

  1. {
  2.   "characters_reserved_per_media": 21,
  3.   "non_username_paths": [
  4.     "about",
  5.     "account",
  6.     "accounts",
  7.     "activity",
  8.     "all",
  9.     "announcements",
  10.     "anywhere",
  11.     "api_rules",
  12.     "api_terms",
  13.     "apirules",
  14.     "apps",
  15.     "auth",
  16.     "badges",
  17.     "blog",
  18.     "business",
  19.     "buttons",
  20.     "contacts",
  21.     "devices",
  22.     "direct_messages",
  23.     "download",
  24.     "downloads",
  25.     "edit_announcements",
  26.     "faq",
  27.     "favorites",
  28.     "find_sources",
  29.     "find_users",
  30.     "followers",
  31.     "following",
  32.     "friend_request",
  33.     "friendrequest",
  34.     "friends",
  35.     "goodies",
  36.     "help",
  37.     "home",
  38.     "im_account",
  39.     "inbox",
  40.     "invitations",
  41.     "invite",
  42.     "jobs",
  43.     "list",
  44.     "login",
  45.     "logout",
  46.     "me",
  47.     "mentions",
  48.     "messages",
  49.     "mockview",
  50.     "newtwitter",
  51.     "notifications",
  52.     "nudge",
  53.     "oauth",
  54.     "phoenix_search",
  55.     "positions",
  56.     "privacy",
  57.     "public_timeline",
  58.     "related_tweets",
  59.     "replies",
  60.     "retweeted_of_mine",
  61.     "retweets",
  62.     "retweets_by_others",
  63.     "rules",
  64.     "saved_searches",
  65.     "search",
  66.     "sent",
  67.     "settings",
  68.     "share",
  69.     "signup",
  70.     "signin",
  71.     "similar_to",
  72.     "statistics",
  73.     "terms",
  74.     "tos",
  75.     "translate",
  76.     "trends",
  77.     "tweetbutton",
  78.     "twttr",
  79.     "update_discoverability",
  80.     "users",
  81.     "welcome",
  82.     "who_to_follow",
  83.     "widgets",
  84.     "zendesk_auth",
  85.     "media_signup",
  86.     "t1_qunit_tests",
  87.     "phoenix_qunit_tests"
  88.   ],
  89.   "max_media_per_upload": 1,
  90.   "photo_size_limit": 3145728,
  91.   "photo_sizes": {
  92.     "large": {
  93.       "w": 1024,
  94.       "resize": "fit",
  95.       "h": 2048
  96.     },
  97.     "medium": {
  98.       "w": 600,
  99.       "resize": "fit",
  100.       "h": 1200
  101.     },
  102.     "small": {
  103.       "w": 340,
  104.       "resize": "fit",
  105.       "h": 480
  106.     },
  107.     "thumb": {
  108.       "w": 150,
  109.       "resize": "crop",
  110.       "h": 150
  111.     }
  112.   },
  113.   "short_url_length": 20,
  114.   "short_url_length_https": 21
  115. }