The Wayback Machine - https://web-wp.archive.org/web/20140708184537/https://dev.twitter.com/docs/api/1.1/get/help/configuration

GET help/configuration

Updated on Mon, 2014-06-09 04:11

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

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

Example Request

GET

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

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