During the past few weeks, there has been a lot of discussion about whether Twitter's "real time search" could pose a threat to Google.
While I am not sure if Twitter poses a threat to Google, I think it is clear that real-time search is increasingly important. And you can be sure that Google knows it. Will Google try to acquire Twitter, or take some other approach? Time will tell, but rather that wait, I decided to get realtime twitter search results on Google today. I created a Greasemonkey user script that does exactly this. It displays the most recent 5 tweets for the query that you are search for, giving both real-time Twitter search results and Google results on the same page:

I have been using it for a few days now and I think it really adds some freshness to Google search results pages. Not only do you get the web pages that have been indexed by Google, but also relevant twitter conversations that are happening right now. One day I think we may see Google release something like this, but until then there is the Twitter Search Results on Google Greasemonkey script.
Get realtime Twitter results on your Google searches:
- If you don't already have it, install the Greasemonkey add-on for Firefox.
- Click the "Install" button on the "Twitter Search Results on Google" page on userscripts.org.
If you like this, please tweet it by clicking here! (short url for this page is http://moopz.com/9ZDS)
Update: Also see my new Twitter Bookmarklet and Tweet This Page Link tool.
Feedback and suggestions are welcome, via comments on this entry, or via Twitter reply, FriendFeed, etc.

Comments (81)
hi ho
i have a similar solution (with avatar pics ) at http://www.facesaerch.com/blog/google-search-with-twitter-integration/
well, should have pitched it around. {which i did, but the editor of that particular blog was on holiday :( }
nice work, everything that spreads greasemonkey and twitter is cool.
Posted by Franz Enzenhofer | March 2, 2009 3:24 PM
Posted on March 2, 2009 15:24
For users using GreaseMetal (GreaseMoney in Chrome), here's what you need to do to have this work.
(See this to see how the script should look, once you're done with the steps below: http://pastie.org/405089)
Install the above script, then edit it:
Remove the call to GM_xmlhttpRequest(...); (9 lines)
Replace it with this:
var tag = document.createElement('script');
tag.src = 'http://search.twitter.com/search.json?q='+GM_TUR.un+'&lang='+GM_TUR.lang+'&callback=GM_TUR.handle';
document.getElementsByTagName('head').item(0).appendChild(tag);
Then change the handle : function line to:
handle : function(r)
And remove the first line in that function:
var r = eval("("+response.responseText+")");
this is needed because cross-site XmlHTTPRequest (AJAX calls) are not implemented in GreaseMetal at this time.
Cheers.
Posted by Guillaume
|
March 2, 2009 3:52 PM
Posted on March 2, 2009 15:52
For users using GreaseMetal (GreaseMoney in Chrome), here's what you need to do to have this work.
See this to see how the script should look, once you're done with the steps below: http://pastie.org/405089
Install the above script, then edit it:
Remove the call to GM_xmlhttpRequest(...); (9 lines)
Replace it with this:
var tag = document.createElement('script');
tag.src = 'http://search.twitter.com/search.json?q='+GM_TUR.un+'&lang='+GM_TUR.lang+'&callback=GM_TUR.handle';
document.getElementsByTagName('head').item(0).appendChild(tag);
Then change the handle : function line to:
handle : function(r)
And remove the first line in that function:
var r = eval("("+response.responseText+")");
this is needed because cross-site XmlHTTPRequest (AJAX calls) are not implemented in GreaseMetal at this time.
Cheers.
Posted by Guillaume
|
March 2, 2009 3:52 PM
Posted on March 2, 2009 15:52
Looks cool! Wish it came in IE or straight Chrome.
Posted by Alyson | March 2, 2009 3:56 PM
Posted on March 2, 2009 15:56
Very nice GreaseMonkey script, kudos.
You can also add something like TweetGrid Search (auto-updating twitter search) as a search-engine in FireFox and Chrome.
Goto http://tweetgrid.com/search and click the "Add TweetGrid Search to your browser" link.
ScreenCast showing how it works:
http://www.screentoaster.com/watch/stUE5SR0xIR1pdSV5dUlpaXlNc
Posted by Chad | March 2, 2009 4:09 PM
Posted on March 2, 2009 16:09
I like the idea, but I find it a little obtrusive at the top there. I edited it a bit so the Twitter results show up next to the Google results:
var results = document.getElementById("res");
var ds = document.createElement("ol");
results.setAttribute("style", "float: left; max-width: 60%")
ds.setAttribute("style", "float: left; max-width: 37%")
results.parentNode.insertBefore(ds, results.nextSibling);
Posted by Eliah | March 2, 2009 4:14 PM
Posted on March 2, 2009 16:14
Looks like google has figured out how people are using twitter search. I'm at the point where I search twitter before google to see which links real people are referencing. If I knew these results would appear in google, it would make life easier.
Posted by DryerBuzz | March 2, 2009 4:48 PM
Posted on March 2, 2009 16:48
I think the interface here is better and no add on needed: http://tweetnews.appspot.com/fresh?q=twitter
Posted by EH | March 2, 2009 6:28 PM
Posted on March 2, 2009 18:28
Great idea. However, couldn't get it to work on Safari 4 with GreaseKit. Thoughts?
Posted by MV | March 2, 2009 8:59 PM
Posted on March 2, 2009 20:59
Very cool - and congrats on blowing up across the blogosphere today :)
Full disclosure, I work at OneRiot - another take on real time social search. But less about that, and more about this. Or rather these, which i hope you'll like:
1 - http://almaer.com/blog/oneriot-has-entered-your-google is a great little greasemonkey script which pulls OneRiot results into Google
2 - http://www.webmynd.com/html/oneriot.html a FFx and IE plug-in that allows you see OneRiot, Twitter, Digg and other results on the Google page.
As you said, real-time search is increasingly important. The WebMynd addon in particular is pretty cool, because you can chose which real time services you want to "decorate" Google - and then see them in comparison for every search query.
Posted by Tobias
|
March 2, 2009 9:45 PM
Posted on March 2, 2009 21:45
Excellent script, great work. Email us if you come with anything else.
Posted by Head Alienst | March 2, 2009 9:54 PM
Posted on March 2, 2009 21:54
looks great, but not sure why the add-on is not working on my FF 3.0.6, i made some test, removed my other add-ons but still not working.
Posted by ELigio | March 2, 2009 11:03 PM
Posted on March 2, 2009 23:03
This is a silly idea and I know Google will never do it. The moment you start putting twitter results up the top of the Google results, or anywhere on the Google results page infact, is the moment Twitter turns into nothing more than a useless advertising platform.
People will start writing their tweets to show up in Google results and twitter will get overun by advertising, links and spam just like what has happened on facebook. It time people stopped trying to use absolutely everything to sell their product. Social networks are there for people to connect not sell their crap.
If you have good products and offer good services you shouldnt need to waste your time on rubbish like this.
Posted by Will | March 3, 2009 5:12 AM
Posted on March 3, 2009 05:12
Jeez. Google sucking in even more data of users. Scary. Sucks. Won't ever install that shite.
Posted by Chuck | March 3, 2009 7:42 AM
Posted on March 3, 2009 07:42
Dual opinion about this issues i see. Well, there is always the FF add-on WebMynd which illustrates results on the right side of the Google search page. So it doesn't "disturb" the actual searches generated by Google. Additionally, also results from other engines (such as delicious, linkedin, etc) are displayed.
Posted by Dave
|
March 3, 2009 10:58 AM
Posted on March 3, 2009 10:58
Hi,
Looks very interesting but not working here on Firefox 3.0.6 ( as said in another comment) under Ubuntu.
Any idea?
Posted by Kolia | March 3, 2009 11:05 AM
Posted on March 3, 2009 11:05
Answer to myself:
It's working, but when there is 0 result in twitter search for the query, it displays nothing (hence the idea it was not working).
Posted by Kolia | March 3, 2009 11:20 AM
Posted on March 3, 2009 11:20
What a great little program. One of the reasons I love FF is all the neat things that can be added to it. Thanks for sharing this one.
Posted by Ross | March 3, 2009 3:41 PM
Posted on March 3, 2009 15:41
Any plans to create an add-on for the Flock browser? Please say YES!
Posted by Kim Sherrell | March 3, 2009 5:15 PM
Posted on March 3, 2009 17:15
Google buying Twitter? I think it's more likely that Facebook will.
Posted by Scott Beamer | March 3, 2009 8:24 PM
Posted on March 3, 2009 20:24
Seems really useful feature to get twitter updates directly.
http://twitter.com/nepalsites
Posted by Interesting Blog | March 4, 2009 4:01 AM
Posted on March 4, 2009 04:01
As much as i'm loving this use of greasemonkey, and the fresh user initiative, i tend to agree that if google follows this SERP style, peeps will spam it as if there's no tomorrow. I'm all for user owned search cocktails, free from browser specific limits.
Great work, waiting to see what yot come up with next :-)
Posted by Majento | March 4, 2009 9:43 AM
Posted on March 4, 2009 09:43
Big compliments for the script. It opens a whole new discussion about real time search. I/m on the same page with your idea that best thing for Google is just, buy Twitter.
We will make a posting in "bloody" Dutch ;-) at our blog.
Posted by Dutchcowboys | March 4, 2009 3:39 PM
Posted on March 4, 2009 15:39
Good to combine Twitter searches with Google results somehow!
Posted by Netty | March 5, 2009 9:48 AM
Posted on March 5, 2009 09:48
It is great to have both Twitter power and Google power at once:)
Posted by Akila | March 5, 2009 12:55 PM
Posted on March 5, 2009 12:55
MV + 1
It would be great if we can use this, on Safari with GreaseKit !!
Any idea ?
Meanwhile it' s a great work ! Thanks for sharing.
Posted by P4SC4L | March 6, 2009 8:09 AM
Posted on March 6, 2009 08:09
Hey Mark, neat hack. I released one, very similar, a few days before :-)
Still needs a bit of work, but here it is: http://blog.designalism.com/post/44
The interesting challenge is combining all three - maps, search and tweets - in a way that makes sense.
Pete
Posted by Peter MacRobert | March 6, 2009 9:08 AM
Posted on March 6, 2009 09:08
WHOA - This works really well - amazing how timely this is, in comparison to the rate at which Google results are spidered.
Posted by Quentin | March 8, 2009 4:39 PM
Posted on March 8, 2009 16:39
@MT & @P4SC4L:
See my comment above about how to make it work in Chrome:
http://mt-hacks.com/20090302-realtime-twitter-search-results-on-google.html#comment-324507
You'll need to do the same thing to get it to work in GreaseKit.
Cheers.
Posted by Guillaume
|
March 8, 2009 11:01 PM
Posted on March 8, 2009 23:01
This is brilliant. Can't wait until it's in a form those of us for whom code will forever remain coded can use.
sigh. i have the stout of a last adopter...
Posted by J.A. Ginsburg | March 9, 2009 10:18 PM
Posted on March 9, 2009 22:18
I must say I prefer Peter's for its position on right side of the page and uncreased number of results. But great work, both of you!
Posted by Stephen Coles | March 12, 2009 1:08 AM
Posted on March 12, 2009 01:08
@ Guillaume:
I follow your instructions, but nothing happens after reloading the script !
Otherwise, is it possible to upload the script on a webpage where we could download it directly from Safari/GreaseKit ?
Thanks in advance.
Posted by P4SC4L | March 13, 2009 11:09 PM
Posted on March 13, 2009 23:09
look goood
Posted by saleh | March 15, 2009 1:11 AM
Posted on March 15, 2009 01:11
nice script!
On a related note, one suggestionn I have is for you to develop a Movable Type plugin similar to this one for Wordpress:
http://richardxthripp.thripp.com/tweet-this
It displays in the Wordpress entry itself any "tweets" linking to any particular Wordpress entry. Helps you follow the conversation from your blog into the twitter world.
Up for the challenge? ; )
Posted by Tom
|
March 16, 2009 4:39 PM
Posted on March 16, 2009 16:39
found a solution which doesn't use greasemonkey. it's based on Yahoo! Boss apple events
Posted by another twitterer | March 17, 2009 2:24 AM
Posted on March 17, 2009 02:24
Dear Mark, i've used a set of frames in simple html for few months to have a mix of search sources.
Seeing your hack inspired me to share my search frames, and add a version with Twitter + YouTube too.
I wonder what you think of search mixing that requires no Greasemonkey, it's just my preference.
See here:
http://majento.com/search/gfftw/
http://majento.com/search/gtwyt/
Posted by Majento | March 17, 2009 2:35 AM
Posted on March 17, 2009 02:35
Je suis novice et j'ai apprécié la clarté de ton explication pour installer ce petit outil
I'm new in the NTIC and I'll appréciate you speak cleary about how install this scrpt ! (excuse my bad english)
To see http://afaucher2001.wordpress.com/2009/03/17/281/
Posted by afaucher2001 | March 17, 2009 8:37 AM
Posted on March 17, 2009 08:37
Really nice. I will get some use out of this!
Posted by Todd Adamson | March 20, 2009 5:10 PM
Posted on March 20, 2009 17:10
I've created a webpage for that, it's a real time web search page: http://itpints.com
Posted by javis | March 24, 2009 11:18 AM
Posted on March 24, 2009 11:18
You can search Google Blogs + Twitter in the same time: http://got.linkstore.ru
Posted by Den | March 24, 2009 6:07 PM
Posted on March 24, 2009 18:07
tentede imalat istanbul ythanks
Posted by tente | March 27, 2009 11:19 AM
Posted on March 27, 2009 11:19
http://www.youtube.com/watch?v=UowrglasYFI
Best way to beat the stupid referral system! This is the first site that has actually worked for me. I have gotten two free iPods, a 360 and my Wii has been shipped!!
http://www.youtube.com/watch?v=UowrglasYFI
Posted by Jeff Swanson | April 2, 2009 12:52 PM
Posted on April 2, 2009 12:52
I've created a webpage for that, it's a real time web search page: http://www.al-wlaah.com
Posted by javis | March 24, 2009 11:18 AM
Posted by شات صوتي | April 4, 2009 6:14 PM
Posted on April 4, 2009 18:14
I must say I prefer Peter'sمنتديات الوله
دردشة صوتية
الولة
for its position on right side of the page and uncreased number of results. But great work, both of you!
Posted by شات صوتي | April 4, 2009 6:15 PM
Posted on April 4, 2009 18:15
Hi,
you should use "decodeURIComponent" instead of "unescape" in your code, it works much more better with accentuation.
Anyhow, thanks !
Posted by Sunny | April 10, 2009 5:34 AM
Posted on April 10, 2009 05:34
@Guillame tnx for the tips on getting this to work without GM_xmlhttprequest - works now on Safari 4 + GreaseKit!
Posted by Maarten den Braber | April 10, 2009 5:53 PM
Posted on April 10, 2009 17:53
We just launched a website that does exactly that, search both twitter and google. It has similar functionality as the greasemonkey script, perhaps you'll want to check it out at http://twootles.com
Posted by twootles | May 10, 2009 6:37 PM
Posted on May 10, 2009 18:37
If u are interested to build your career as a Plumber please visit my site
http://www.ableskills.co.uk/plumbing.htm
I think that this Website helps u Very Much.
Posted by Aloke Saha | May 21, 2009 7:23 AM
Posted on May 21, 2009 07:23
Hello, Friend its true after posting in Twiter.com my link url:http://www.ableskills.co.uk/plumbing.htm got a better search result in Google search engine...I would like to know why it is or it happens by just mistake.
Posted by Anirban Das | May 22, 2009 1:09 AM
Posted on May 22, 2009 01:09
Hello, Friend its true after posting in Twiter.com my link url: http://www.ableskills.co.uk/plumbing.htm got a better search result in Google search engine...I would like to know why it is or it happens by just mistake.
Posted by Anirban Das | May 22, 2009 1:11 AM
Posted on May 22, 2009 01:11
you could also search from twiogle.com to get google and twitter results on the same page.
Posted by Ben | May 22, 2009 4:06 PM
Posted on May 22, 2009 16:06
Very cool - and congrats on blowing up across the blogosphere today :)
Full disclosure, I work at OneRiot - another take on real time social search. But less about that, and more about this. Or rather these, which i hope you'll like:
شات صوتي
دردشة صوتيه
Posted by ااحمد | May 25, 2009 6:07 PM
Posted on May 25, 2009 18:07
Best way to beat the stupid referral system! This is the first site that has actually worked for me. I have gotten two free iPods, a 360 and my Wii has been shipped!!
دردشة زين
شات صوتي خليجي
شات زين
Posted by Anonymous | May 25, 2009 6:12 PM
Posted on May 25, 2009 18:12
For a unique design Christmas Gift Baskets please go for
http://www.uniquegiftbaskets.net/
Hope you enjoy shopping.
Posted by Anirban Das | June 2, 2009 12:14 AM
Posted on June 2, 2009 00:14
Best way to beat the stupid referral system! This is the first site that has actually worked for me. I have gotten two free iPods, a 360 and my Wii has been shipped!!
دردشة سعوديه
كام
دليل الدردشات
Posted by كام | June 2, 2009 2:31 PM
Posted on June 2, 2009 14:31
http://www.crystal-gift-award.com
world's finest crystal awards
We have more than 15 years experience in creating the world's finest crystal awards. We are a leading supplier of unique and exquisite crystal recognition awards to the promotional products industry. Consequently, we partner with our customers to create award programs that produce an elegant and unforgettable experience. Let us supply the perfect award for your next corporate event,employee recognition program, or employee incentive program.
Posted by Aloke Saha | June 15, 2009 7:37 AM
Posted on June 15, 2009 07:37
http://www.intagent.com
Intagent is a Leading Real Estate Web Design Company. We provided Real Estate Web Design, FSBO Websites, Realtor Website Design,Low cost Real Estate Website Design, Real Estate Agent Design Templates, and more...
Posted by Aloke Saha | June 15, 2009 7:38 AM
Posted on June 15, 2009 07:38
thanks, i love this tip and now use the real-time twitter on google info to find out why people are searching for stuff when google trends is too slow to tell me why, but twitter isn't
Posted by paula | June 21, 2009 2:27 PM
Posted on June 21, 2009 14:27
maybe have a try later.hope it helps me.
Posted by watchesheaven | July 1, 2009 10:43 PM
Posted on July 1, 2009 22:43
I think your totally speaking night and day comparing Google with Twitter. Twitter search provides a ton of senseless ads from every website owner in the world and there is nothing useful on that website, Now Google offers great results including all local business directories and so forth. So I believe Google has nothing to worry about in the future seeing as Twitter has already seen better days.
Posted by Charlie | July 4, 2009 8:54 AM
Posted on July 4, 2009 08:54
Follow these steps when doing a search for friends:
step 1: login
step 2: type in address bar http://twitter.com/ then the username of your friend. it should look like this http://twitter.com/jojo5
step 3: left click on follow
step 4: setup mobile alerts on (if mobile device is setup)
Posted by Jerry | July 9, 2009 5:08 PM
Posted on July 9, 2009 17:08
レーザー脱毛、Vライン脱毛の銀クリの医療脱毛は安心納得価格で愛されボディに。各コース先着50名様30%OFFキャンペーン中!
Posted by レーザー脱毛 | July 13, 2009 1:28 AM
Posted on July 13, 2009 01:28
幼児教室の春季講習
幼児教室の講習の掛け持ちについて意見を聞かせてください。
留学なら、DEOW留学センター!DEOW留学センターは手数料無料で貴方の留学を完全サ
ポート!
使い捨て[http://www.tealla.jp コンタクトレンズ]・カラーコンタクト・黒カラコン・ハードコンタクトなど取り扱いコンタクトレンズが豊富です。
Posted by 幼児教室 | July 13, 2009 1:31 AM
Posted on July 13, 2009 01:31
幼児教室の春季講習
幼児教室の講習の掛け持ちについて意見を聞かせてください。
留学なら、DEOW留学センター!DEOW留学センターは手数料無料で貴方の留学を完全サ
ポート!
使い捨て[http://www.tealla.jp コンタクトレンズ]・カラーコンタクト・黒カラコン・ハードコンタクトなど取り扱いコンタクトレンズが豊富です。
Posted by 幼児教室 | July 13, 2009 1:32 AM
Posted on July 13, 2009 01:32
Full disclosure, I work at OneRiot - another take on real time social search. But less about that, and more about this. Or rather these, which i hope you'll
Posted by شات | July 22, 2009 10:28 AM
Posted on July 22, 2009 10:28
thanks, i love this tip and now use the real-time twitter on google info to find out why people are searching for stuff when google trends is too slow to tell me why, but twitter isn't
http://www.t7b.com/dlil/show80156.html
Posted by دردشة الشلة | August 3, 2009 6:41 PM
Posted on August 3, 2009 18:41
thanks, i love this tip and now use the real-time twitter on google info to find out why people are searching for stuff when google trends is too slow to tell me why, but twitter isn
http://www.t7b.com/dlil/show80156.html
Posted by دردشة الشلة | August 3, 2009 6:42 PM
Posted on August 3, 2009 18:42
maybe have a try later
Posted by شات | August 6, 2009 1:40 PM
Posted on August 6, 2009 13:40
For a unique design Christmas Gift Baskets please
http://www.di11.com
Posted by شات صوتى | August 6, 2009 1:43 PM
Posted on August 6, 2009 13:43
Well a great script i must say. But there is a hack for real time searching in google. Read more http://www.tek-nos.com/2009/09/google-search-hack-specifying-timeframe-for-search-results/
Posted by Adam | September 14, 2009 4:33 PM
Posted on September 14, 2009 16:33
step 3: left click on follow
Posted by بنت النور | November 26, 2009 3:09 PM
Posted on November 26, 2009 15:09
maybe have a try later سعودي كام
Posted by شات صوتي | December 5, 2009 2:01 PM
Posted on December 5, 2009 14:01
I've created a webpage for that, it's a real time web search page: http://www.s3fre.com
Posted by دردشه صوتيه | December 12, 2009 8:14 AM
Posted on December 12, 2009 08:14
Great Point Thank you Man ... i Like Your Blog !
Posted by يوتيوب اسلامي | December 13, 2009 7:04 PM
Posted on December 13, 2009 19:04
Fuera chavez.
Posted by Anonymous | December 17, 2009 10:30 PM
Posted on December 17, 2009 22:30
Hey this is roy from India , working on LAMP and SEO since last 4 years.
I was searching through google for "codeignitor" and I found some twitter updated to that keyword.
check here for more details with screen shot.
http://php-tuts.blogspot.com/2009/12/different-result-found-in-google-search.html
any one came across such results , I want to know what is this??
Thanks
Roy
Posted by php developer | December 22, 2009 1:57 AM
Posted on December 22, 2009 01:57
Thank you dear .. and i think that google & twitter will make it and develope it .. such this website :
البوم اليسا الجديد
Posted by البوم اليسا الجديد | January 12, 2010 2:22 AM
Posted on January 12, 2010 02:22
Thank you dear .. and i think that google & twitter will make it and develope it .. such this website :
Posted by شات كتابي | January 18, 2010 7:19 PM
Posted on January 18, 2010 19:19
“This is a best station for such kind of articles,your site is a inspiration for me.
i got so much benefits and good results after visiting here and the grace is increasing
day by day in your posts”
the above information is extremly essential……
Posted by Nilimesh | January 23, 2010 11:20 AM
Posted on January 23, 2010 11:20
Great Point Thank you Man ... i Like Your Blog !
Posted by voicechat | January 28, 2010 7:06 AM
Posted on January 28, 2010 07:06
Didn't know that. Nice post. It would be very usefull for SEO i think
Posted by izdelava strani | February 5, 2010 7:20 AM
Posted on February 5, 2010 07:20