GET help/configuration

Updated on Thu, 2013-03-07 10:19

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.     "im_account",
  40.     "inbox",
  41.     "invitations",
  42.     "invite",
  43.     "jobs",
  44.     "list",
  45.     "login",
  46.     "logo",
  47.     "logout",
  48.     "me",
  49.     "mentions",
  50.     "messages",
  51.     "mockview",
  52.     "newtwitter",
  53.     "notifications",
  54.     "nudge",
  55.     "oauth",
  56.     "phoenix_search",
  57.     "positions",
  58.     "privacy",
  59.     "public_timeline",
  60.     "related_tweets",
  61.     "replies",
  62.     "retweeted_of_mine",
  63.     "retweets",
  64.     "retweets_by_others",
  65.     "rules",
  66.     "saved_searches",
  67.     "search",
  68.     "sent",
  69.     "settings",
  70.     "share",
  71.     "signup",
  72.     "signin",
  73.     "similar_to",
  74.     "statistics",
  75.     "terms",
  76.     "tos",
  77.     "translate",
  78.     "trends",
  79.     "tweetbutton",
  80.     "twttr",
  81.     "update_discoverability",
  82.     "users",
  83.     "welcome",
  84.     "who_to_follow",
  85.     "widgets",
  86.     "zendesk_auth",
  87.     "media_signup"
  88.   ],
  89.   "photo_size_limit": 3145728,
  90.   "photo_sizes": {
  91.     "large": {
  92.       "w": 1024,
  93.       "resize": "fit",
  94.       "h": 2048
  95.     },
  96.     "medium": {
  97.       "w": 600,
  98.       "resize": "fit",
  99.       "h": 1200
  100.     },
  101.     "small": {
  102.       "w": 340,
  103.       "resize": "fit",
  104.       "h": 480
  105.     },
  106.     "thumb": {
  107.       "w": 150,
  108.       "resize": "crop",
  109.       "h": 150
  110.     }
  111.   },
  112.   "short_url_length_https": 23,
  113.   "short_url_length": 22
  114. }