CINXE.COM
result_type=mixed gives error | 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/discussions/3347","20111109115546","https://web.archive.org/","web","/_static/", "1320839746"); </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>result_type=mixed gives error | Twitter Developers</title> <meta name="description" content="http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=mixed returns {"error":"Internal Server Error"} when result_type is changed to recent, it returns the results http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=recent there are some serious issues with search api with geocode."/> <script src="https://web.archive.org/web/20111109115546js_/https://platform.twitter.com/widgets.js" type="text/javascript"></script> <link rel="shortcut icon" href="/web/20111109115546im_/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/20111109115546cs_/https://dev.twitter.com/sites/default/files/css/css_0bb08ea73f181fbd8e9ef8a86607b868.css"/> <script type="text/javascript" src="/web/20111109115546js_/https://dev.twitter.com/sites/default/files/js/js_a791ec2d72ab616f303d27ca4d5bfc9c.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"},"language_mode":0,"language_list":{"en":{"language":"en","name":"English","native":"English","direction":0,"enabled":1,"plurals":0,"formula":"","domain":"","prefix":"","weight":0,"javascript":""}},"clean_url":"1","comment_preview_required":false,"ajax_comments_rows_in_reply":"3","ajax_comments_rows_default":"5","ajax_comments_always_expand_form":1,"ajax_comments_blink_new":0,"comment_bonus_api_fold_comments":0,"ajax_comments_nid":"3347","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","\/modules\/comment\/comment.css","\/sites\/all\/modules\/contrib\/ajax_comments\/ajax_comments.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","\/misc\/jquery.form.js","\/sites\/all\/modules\/contrib\/ajax_comments\/ajax_comments.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-node" class="not-front not-logged-in node-type-discussion"> <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/20111109115546/https://dev.twitter.com/" id="logo" title="Home"> Developers </a> <form action="/web/20111109115546/https://dev.twitter.com/discussions/3347" 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-14eb2d913dbf6ac6d3a48b77e25af65e" value="form-14eb2d913dbf6ac6d3a48b77e25af65e"/> <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/20111109115546/https://dev.twitter.com/status" title="">API Health</a><ul class="menu"><li class="leaf first"><a href="/web/20111109115546/https://dev.twitter.com/status" title="">API Status</a></li> <li class="leaf last"><a href="/web/20111109115546/https://dev.twitter.com/issues" title="">API Issues</a></li> </ul></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/blog" title="">Blog</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/discussions" title="">Discussions</a></li> <li class="expanded"><a href="/web/20111109115546/https://dev.twitter.com/docs" title="">Documentation</a><ul class="menu"><li class="leaf first"><a href="/web/20111109115546/https://dev.twitter.com/docs" title="">Overview</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/docs/api" title="">REST API</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/docs/streaming-api" title="Streaming API">Streaming API</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/docs/twitter-for-websites" title="">Twitter for Websites</a></li> <li class="leaf last"><a href="/web/20111109115546/https://dev.twitter.com/docs/recent" title="">Recently updated</a></li> </ul></li> <li class="leaf last"><a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347" title="">Sign in</a></li> </ul> </div> </div> <div id="content-outer"> <div id="breadcrumbs"> <div class="breadcrumb"><a href="/web/20111109115546/https://dev.twitter.com/">Home</a> → <a href="/web/20111109115546/https://dev.twitter.com/discussions">Discussions</a> → <a href="/web/20111109115546/https://dev.twitter.com/discussions/rest-streaming-api">REST & Streaming API</a><div><a href="https://web.archive.org/web/20111109115546/http://twitter.com/share" data-count="none" data-related="AppQuickie,twitterapi" class="twitter-share-button">Tweet</a></div></div> </div> <div id="preface"> <div id="subscribe"> <a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347" class="button">Sign in to subscribe to thread</a></div> </div> <h1 id="title">result_type=mixed gives error</h1> <div id="content-inner"> <div id="content-main"> <div class="contribution"> <div class="avatar"> <a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=AppQuickie"><img src="https://web.archive.org/web/20111109115546im_/https://si0.twimg.com/profile_images/1541183435/twitter_normal.png" alt="AppQuickie" title="AppQuickie"/></a> </div> <div class="content"> <div class="author-info"> @<a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=AppQuickie">AppQuickie</a> Quickie </div> <p> <a href="https://web.archive.org/web/20111109115546/http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=mixed" title="http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=mixed" rel="nofollow">http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=mixed</a></p> <p>returns<br/> {"error":"Internal Server Error"}</p> <p>when result_type is changed to recent, it returns the results<br/> <a href="https://web.archive.org/web/20111109115546/http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=recent" title="http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=recent" rel="nofollow">http://search.twitter.com/search.json?geocode=40.65,73.78,.1mi&rpp=100&result_type=recent</a></p> <p>there are some serious issues with search api with geocode. </p> <div class="meta"> <span class="date-info"><em>1 week 5 hours</em> ago</span> <ul class="links inline"><li class="comment_forbidden first last"><span><a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347%23comment-form">Sign in</a> to reply</span></li> </ul> </div> </div> </div> <div id="comments"> <h2 class="comments">Replies</h2> <a id="comment-6769"></a> <div class="contribution comment"> <div class="avatar"> <a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=rno"><img src="https://web.archive.org/web/20111109115546im_/https://si0.twimg.com/profile_images/1374353291/image_normal.jpg" alt="rno" title="rno"/></a> </div> <div class="content"> <div class="author-info"> @<a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=rno">rno</a> Arnaud Meunier<span class="author-info-twitter" title="Twitter Employee"></span> </div> <p> Thanks for reporting this. We're aware of the issue and our engineers are currently working on it. We hope to have this issue fixed by the end of the week. </p> <div class="meta"> <span class="date-info"><em>5 days 15 hours</em> ago</span> <ul class="links"><li class="comment_forbidden first last"><span><a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347%23comment-form">Sign in</a> to reply</span></li> </ul> </div> </div> </div> <a id="comment-6979"></a> <div class="contribution comment"> <div class="avatar"> <a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=rno"><img src="https://web.archive.org/web/20111109115546im_/https://si0.twimg.com/profile_images/1374353291/image_normal.jpg" alt="rno" title="rno"/></a> </div> <div class="content"> <div class="author-info"> @<a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=rno">rno</a> Arnaud Meunier<span class="author-info-twitter" title="Twitter Employee"></span> </div> <p> The problem should be fixed now :) </p> <div class="meta"> <span class="date-info"><em>15 hours 50 min</em> ago</span> <ul class="links"><li class="comment_forbidden first last"><span><a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347%23comment-form">Sign in</a> to reply</span></li> </ul> </div> </div> </div> <div class="indented"><a id="comment-6992"></a> <div class="contribution comment"> <div class="avatar"> <a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=AppQuickie"><img src="https://web.archive.org/web/20111109115546im_/https://si0.twimg.com/profile_images/1541183435/twitter_normal.png" alt="AppQuickie" title="AppQuickie"/></a> </div> <div class="content"> <div class="author-info"> @<a href="https://web.archive.org/web/20111109115546/http://twitter.com/intent/user?screen_name=AppQuickie">AppQuickie</a> Quickie </div> <p> Thank you, yes this seems to be fixed </p> <div class="meta"> <span class="date-info"><em>9 hours 7 min</em> ago</span> <ul class="links"><li class="comment_forbidden first last"><span><a href="/web/20111109115546/https://dev.twitter.com/user/login?destination=node%2F3347%23comment-form">Sign in</a> to reply</span></li> </ul> </div> </div> </div> </div> </div> <ul class="book-links"> <li class="previous"> ← <a href="/web/20111109115546/https://dev.twitter.com/discussions/3516">Previous thread</a> </li> <li class="up"> <a href="/web/20111109115546/https://dev.twitter.com/discussions/rest-streaming-api">REST & Streaming API</a> </li> <li class="next"> <a href="/web/20111109115546/https://dev.twitter.com/discussions/3514">Next thread</a> → </li> </ul> </div> <div id="sidebar-last"> <div class="block"> <h2>Related content</h2> <ul><li class="first"><a href="/web/20111109115546/https://dev.twitter.com/discussions/3360">geocode</a></li> <li><a href="/web/20111109115546/https://dev.twitter.com/discussions/1551">Search by Geocode returns results that are nowhere close to the the requested location</a></li> <li><a href="/web/20111109115546/https://dev.twitter.com/discussions/614">search api generates invalid "next_page"url</a></li> <li><a href="/web/20111109115546/https://dev.twitter.com/discussions/710">Twitter Search returning only one or two results to queries that used to get maximum counts</a></li> <li class="last"><a href="/web/20111109115546/https://dev.twitter.com/discussions/2147">Bug in location search by geocode returns random results</a></li> </ul> </div> </div> </div> </div> <div id="footer-outer"> <div id="footer"> <a href="https://web.archive.org/web/20111109115546/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/20111109115546/https://dev.twitter.com/terms/api-terms" title="Developer Rules of the Road">API Terms</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/status" title="Twitter API Status">API Status</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/blog" title="Twitter Developer blog">Blog</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/discussions" title="Twitter Development discussions">Discussions</a></li> <li class="leaf"><a href="/web/20111109115546/https://dev.twitter.com/docs" title="Twitter development documentation">Documentation</a></li> <li class="leaf last"><a href="https://web.archive.org/web/20111109115546/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]);_gaq.push(['_setCustomVar', 2, "type", "discussion", 3]);_gaq.push(['_setCustomVar', 3, "category", "REST \u0026amp; Streaming API", 3]);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 11:55:46 Nov 09, 2011 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 05:46:29 Dec 12, 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.56 exclusion.robots: 0.022 exclusion.robots.policy: 0.015 esindex: 0.01 cdx.remote: 8.385 LoadShardBlock: 186.217 (3) PetaboxLoader3.datanode: 109.351 (4) load_resource: 168.101 PetaboxLoader3.resolve: 128.156 -->