CINXE.COM

Documentation | Twitter Developers

<!DOCTYPE html><head><script type="text/javascript" src="/_static/js/bundle-playback.js?v=HxkREWBo" charset="utf-8"></script> <script type="text/javascript" src="/_static/js/wombat.js?v=txqj7nKC" charset="utf-8"></script> <script>window.RufflePlayer=window.RufflePlayer||{};window.RufflePlayer.config={"autoplay":"on","unmuteOverlay":"hidden"};</script> <script type="text/javascript" src="/_static/js/ruffle/ruffle.js"></script> <script type="text/javascript"> __wm.init("https://web.archive.org/web"); __wm.wombat("https://dev.twitter.com/docs","20111109103732","https://web.archive.org/","web","/_static/", "1320835052"); </script> <link rel="stylesheet" type="text/css" href="/_static/css/banner-styles.css?v=S1zqJCYt" /> <link rel="stylesheet" type="text/css" href="/_static/css/iconochive.css?v=3PDvdIFv" /> <!-- End Wayback Rewrite JS Include --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Documentation | Twitter Developers</title> <script src="https://web.archive.org/web/20111109103732js_/https://platform.twitter.com/widgets.js" type="text/javascript"></script> <link rel="shortcut icon" href="/web/20111109103732im_/https://dev.twitter.com/sites/all/themes/twitter_commons/favicon.ico" type="image/x-icon"/> <link type="text/css" rel="stylesheet" media="all" href="/web/20111109103732cs_/https://dev.twitter.com/sites/default/files/css/css_4bec37e0724c1af952a30b91314160ed.css"/> <script type="text/javascript" src="/web/20111109103732js_/https://dev.twitter.com/sites/default/files/js/js_6a0ca864189781d957cde9705a092b22.js"></script> <script type="text/javascript"> <!--//--><![CDATA[//><!-- jQuery.extend(Drupal.settings, {"basePath":"\/","googleanalytics":{"trackOutgoing":1,"trackMailto":1,"trackDownload":1,"trackDownloadExtensions":"7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip"},"twitter_autosuggest":{"path":"\/twitter_autosuggest_callback"},"extlink":{"extTarget":"_blank","extClass":"ext","extSubdomains":0,"extExclude":"twitter\\.com\/intent\/","extInclude":"","extAlert":0,"extAlertText":"","mailtoClass":"mailto"},"AjaxLoad":{"css":["\/modules\/book\/book.css","\/modules\/node\/node.css","\/modules\/system\/defaults.css","\/modules\/system\/system.css","\/modules\/system\/system-menus.css","\/modules\/user\/user.css","\/profiles\/drupal_commons\/modules\/contrib\/cck\/theme\/content-module.css","\/profiles\/drupal_commons\/modules\/contrib\/ctools\/css\/ctools.css","\/profiles\/drupal_commons\/modules\/contrib\/date\/date.css","\/profiles\/drupal_commons\/modules\/contrib\/filefield\/filefield.css","\/profiles\/drupal_commons\/modules\/contrib\/views_slideshow\/contrib\/views_slideshow_singleframe\/views_slideshow.css","\/sites\/default\/files\/geshifilter-languages.css","\/sites\/all\/modules\/contrib\/geshifilter\/geshifilter.css","\/sites\/all\/modules\/contrib\/panels\/css\/panels.css","\/sites\/all\/modules\/contrib\/tableofcontents\/tableofcontents.css","\/sites\/all\/modules\/custom\/twitter_apps\/twitter_apps.css","\/sites\/all\/modules\/custom\/twitter_autosuggest\/jquery-autocomplete\/jquery.autocomplete.css","\/sites\/all\/modules\/overriden\/mollom\/mollom.css","\/sites\/all\/modules\/contrib\/extlink\/extlink.css","\/profiles\/drupal_commons\/modules\/contrib\/cck\/modules\/fieldgroup\/fieldgroup.css","\/profiles\/drupal_commons\/modules\/contrib\/views\/css\/views.css","\/sites\/all\/modules\/contrib\/panels\/plugins\/layouts\/twocol_stacked\/twocol_stacked.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-defaults.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-style.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-admin-addts.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-homepage.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-menus.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-apidoc.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-notices.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-forms.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-discussions.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-notifications.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-blog.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-pager.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-login.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-documentation.css","\/sites\/all\/themes\/twitter_commons\/css\/custom\/twttr-issues.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/search.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/system.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/system-menus.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/book.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/comment.css","\/sites\/all\/themes\/twitter_commons\/css\/overridden\/tableofcontents.css"],"scripts":["\/misc\/jquery.js","\/misc\/drupal.js","\/profiles\/drupal_commons\/modules\/contrib\/ajax_load\/ajax_load.js","\/profiles\/drupal_commons\/modules\/contrib\/views_slideshow\/js\/jquery.cycle.all.min.js","\/profiles\/drupal_commons\/modules\/contrib\/views_slideshow\/contrib\/views_slideshow_singleframe\/views_slideshow.js","\/sites\/all\/modules\/contrib\/google_analytics\/googleanalytics.js","\/sites\/all\/modules\/contrib\/panels\/js\/panels.js","\/sites\/all\/modules\/contrib\/tableofcontents\/jquery.scrollTo-min.js","\/sites\/all\/modules\/contrib\/tableofcontents\/jquery.localscroll-min.js","\/sites\/all\/modules\/contrib\/tableofcontents\/tableofcontents.js","\/sites\/all\/modules\/custom\/twitter_autosuggest\/jquery-autocomplete\/jquery.autocomplete.js","\/sites\/all\/modules\/custom\/twitter_autosuggest\/twitter_autosuggest.js","\/sites\/all\/modules\/overriden\/mollom\/mollom.js","\/sites\/all\/modules\/contrib\/extlink\/extlink.js","\/sites\/all\/themes\/twitter_commons\/js\/supposition.js","\/sites\/all\/themes\/twitter_commons\/js\/superfish.js","\/sites\/all\/themes\/twitter_commons\/js\/twitter-commons-script.js","\/sites\/all\/themes\/twitter_commons\/js\/secret.js","\/sites\/all\/themes\/twitter_commons\/js\/hashchange.js"]}}); //--><!]]> </script> </head> <body id="page-docs" class="not-front not-logged-in no-sidebars"> <div id="page"> <a href="#content-main" class="skip">Skip to Main Content Area</a> <div id="header-outer"> <div id="header"> <a href="/web/20111109103732/https://dev.twitter.com/" id="logo" title="Home"> Developers </a> <form action="/web/20111109103732/https://dev.twitter.com/docs" accept-charset="UTF-8" method="post" id="search-theme-form"> <input id="search-q" name="search_theme_form" type="text" maxlength="128" size="15" value="Search" title="Enter search terms" placeholder="Search"/> <input id="search-submit" name="op" type="submit" value="Search"/> <input type="hidden" name="form_build_id" id="form-1be551ad2e0c8c2e72c2e42dc09ccaa9" value="form-1be551ad2e0c8c2e72c2e42dc09ccaa9"/> <input type="hidden" name="form_id" id="edit-search-theme-form" value="search_theme_form"/> </form> <ul id="title-nav"><li class="expanded first"><a href="/web/20111109103732/https://dev.twitter.com/status" title="">API Health</a><ul class="menu"><li class="leaf first"><a href="/web/20111109103732/https://dev.twitter.com/status" title="">API Status</a></li> <li class="leaf last"><a href="/web/20111109103732/https://dev.twitter.com/issues" title="">API Issues</a></li> </ul></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/blog" title="">Blog</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/discussions" title="">Discussions</a></li> <li class="expanded active-trail"><a href="/web/20111109103732/https://dev.twitter.com/docs" title="" class="active">Documentation</a><ul class="menu"><li class="leaf first"><a href="/web/20111109103732/https://dev.twitter.com/docs" title="" class="active">Overview</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/docs/api" title="">REST API</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/docs/streaming-api" title="Streaming API">Streaming API</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/docs/twitter-for-websites" title="">Twitter for Websites</a></li> <li class="leaf last"><a href="/web/20111109103732/https://dev.twitter.com/docs/recent" title="">Recently updated</a></li> </ul></li> <li class="leaf last"><a href="/web/20111109103732/https://dev.twitter.com/user/login?destination=docs" title="">Sign in</a></li> </ul> </div> </div> <div id="content-outer"> <div id="breadcrumbs"> <div class="breadcrumb"><a href="/web/20111109103732/https://dev.twitter.com/">Home</a><div></div></div> </div> <h1 id="title">Documentation</h1> <div id="content-inner"> <div id="content-main"> <div id="panel-top"> <div class="section"> <p class="message"><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/start">Getting Started</a> with the Twitter Platform is easy. Jump right into the <a href="/web/20111109103732/https://dev.twitter.com/docs/api">API resource documentation</a>, explore the <a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/console">developer console</a>, or <a href="/web/20111109103732/https://dev.twitter.com/apps/new">create an app</a>.</p> </div> </div> <div id="panel-first"> <div class="section"> <h2 id="getting-started">Getting Started</h2> <div class="section"> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/start">Getting Started with the Twitter Platform</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/intro-twitterapi">Intro to the Platform</a> (slides)</li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/api-faq">Twitter API FAQ</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/counting-characters">Counting Characters</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/twitter-ids-json-and-snowflake">JSON Parsing &amp; Tweet IDs</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/tco-url-wrapper">The t.co URL Wrapper</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/console">Developer Console</a></li> </div> <h2 id="tfw">Twitter for Websites</h2> <div class="section"> <p>Easily embed Twitter functionality, encourage your users to share content on Twitter, and increase your audience reach with <a href="/web/20111109103732/https://dev.twitter.com/docs/twitter-for-websites">Twitter for Websites</a>.</p> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/tweet-button">Tweet Button</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/follow-button">Follow Button</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/intents">Web Intents</a> &amp; <a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/intents/events">Javascript callback events</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/share-bookmarklet">Share Bookmarklet</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/anywhere/welcome">@Anywhere</a></li> </ul> </div> <h2 id="guidelines-and-terms">Guidelines and Terms</h2> <div class="section"> <p>API terms of service and guidelines for use.</p> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/terms/api-terms">Developer Rules of the Road</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/terms/display-guidelines">Display Guidelines</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/terms/geo-developer-guidelines">Geo Guidelines</a></li> <li><a href="https://web.archive.org/web/20111109103732/http://support.twitter.com/entries/114233">Broadcast Guidelines</a></li> </ul> </div> <h2 id="ecosystem">Other Resources</h2> <div class="section"> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/support">API Support</a></li> <li><a href="/web/20111109103732/https://dev.twitter.com/videos">#devnestSF Videos</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/developers-for-hire">Developers for Hire</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/media">Media resources</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/security-best-practices">Security Best Practices</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/twitter-libraries">Twitter Libraries with OAuth</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/international-glossary">Adding international support to your apps</a></li> <li> <a href="/web/20111109103732/https://dev.twitter.com/pages/image-resources"> <img src="//web.archive.org/web/20111109103732im_/https://si0.twimg.com/images/dev/cms/intents/bird/bird_blue/bird_16_blue.png"> Bird, <img src="//web.archive.org/web/20111109103732im_/https://si0.twimg.com/images/dev/cms/intents/icons/favorite.png"> Favorite, <img src="//web.archive.org/web/20111109103732im_/https://si0.twimg.com/images/dev/cms/intents/icons/reply.png"> Reply, <img src="//web.archive.org/web/20111109103732im_/https://si0.twimg.com/images/dev/cms/intents/icons/retweet.png"> Retweet Icons &amp; Sprites </a> </li> </ul> </div> </div> </div> <div id="panel-last"> <div class="section"> <h2 id="rest-api-general">The REST API</h2> <div class="section"> <p>The <a href="/web/20111109103732/https://dev.twitter.com/docs/api">REST API</a> provides simple interfaces for most Twitter functionality.</p> <ul> <li><a href="/web/20111109103732/https://dev.twitter.com/docs/api">Comprehensive Resource Documentation</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/using-search">Using the Twitter Search API</a> and <a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/api/1/get/search">GET search</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/tweet-entities">Tweet Entities</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/things-every-developer-should-know">Things to know about the REST API</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/history-rest-search-api">History of the REST and Search APIs</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/rate-limiting">Rate Limiting</a> &amp; <a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/rate-limiting/faq">Rate Limiting FAQ</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/error-codes-responses">Error Codes &amp; Responses</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/console">Explore the API with Tools &amp; Consoles</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/places/finding-tweets-about-places">Finding Tweets about Places</a></li> </ul> </div> <h2 id="streaming-api-user-streams">Streaming API, User Streams, Site Streams</h2> <div class="section"> <p>The Streaming API is a family of powerful real-time APIs for Tweets and other social events.</p> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/streaming-api">Streaming API Documentation</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/streaming-api/user-streams">User Streams</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/streaming-api/site-streams">Site Streams</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/twitter-data-providers">Partner Providers of Twitter Data</a></li> </ul> </div> <h2 id="authentication">Authentication</h2> <div class="section"> <p>Learn how a user authorizes your application and how you securely communicate on their behalf.</p> <ul> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth">Which authorization path should I choose?</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/oauth">OAuth 1.0a</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/application-permission-model">the Application Permission Model</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/oauth/single-user-with-examples">Single user OAuth with examples</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/moving-from-basic-auth-to-oauth">From Basic Auth to OAuth for Beginners</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/twitter-libraries">Twitter Libraries with OAuth</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/oauth/faq">OAuth FAQ</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/sign-in-with-twitter">Sign in with Twitter Overview</a></li> <li><a href="https://web.archive.org/web/20111109103732/https://dev.twitter.com/docs/auth/oauth/oauth-echo">OAuth Echo</a></li> </ul> </div> </div> </div> </div> </div> </div> <div id="footer-outer"> <div id="footer"> <a href="https://web.archive.org/web/20111109103732/http://twitter.com/twitterapi" data-show-count="false" class="twitter-follow-button" data-text-color="999999" data-link-color="0080A6">Follow @twitterapi</a><ul class="menu"><li class="leaf first"><a href="/web/20111109103732/https://dev.twitter.com/terms/api-terms" title="Developer Rules of the Road">API Terms</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/status" title="Twitter API Status">API Status</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/blog" title="Twitter Developer blog">Blog</a></li> <li class="leaf"><a href="/web/20111109103732/https://dev.twitter.com/discussions" title="Twitter Development discussions">Discussions</a></li> <li class="leaf active-trail"><a href="/web/20111109103732/https://dev.twitter.com/docs" title="Twitter development documentation" class="active">Documentation</a></li> <li class="leaf last"><a href="https://web.archive.org/web/20111109103732/http://www.acquia.com/" title="Acquia">A Drupal community site supported by Acquia</a></li> </ul> </div> </div> </div><script type="text/javascript"> <!--//--><![CDATA[//><!-- var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-30775-16"]);_gaq.push(['_setCustomVar', 1, "roles", "anonymous user", 2]);var current_domain = document.domain; var current_url = document.URL; if (current_domain == 'dev.twitter.com' && !current_url.match(/\/(apps|admin)/)) { _gaq.push(['_trackPageLoadTime']); }_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = "/sites/default/files/googleanalytics/ga.js?B";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})(); //--><!]]> </script> </body> </html><!-- FILE ARCHIVED ON 10:37:32 Nov 09, 2011 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 23:04:57 Dec 03, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). --> <!-- playback timings (ms): captures_list: 0.588 exclusion.robots: 0.038 exclusion.robots.policy: 0.029 esindex: 0.011 cdx.remote: 6.585 LoadShardBlock: 208.547 (3) PetaboxLoader3.datanode: 190.94 (4) PetaboxLoader3.resolve: 205.712 (2) load_resource: 220.509 -->

Pages: 1 2 3 4 5 6 7 8 9 10