« Clone Blogs Without Entries and Comments | Main | New Twitter Bookmarklet »

Realtime Twitter Search Results on Google

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:

  1. If you don't already have it, install the Greasemonkey add-on for Firefox.
  2. 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.

Rate this entry:

  • Currently 4.2/5
  • 1
  • 2
  • 3
  • 4
  • 5
Rating: 4.2/5 (115 votes cast). Powered by the Ajax Rating plugin.

Comments (120)

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.

Guillaume Author Profile Page:

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.

Guillaume Author Profile Page:

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.

Looks cool! Wish it came in IE or straight Chrome.

Chad:

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

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);

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.

EH:

I think the interface here is better and no add on needed: http://tweetnews.appspot.com/fresh?q=twitter

MV:

Great idea. However, couldn't get it to work on Safari 4 with GreaseKit. Thoughts?

Tobias Author Profile Page:

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.

Excellent script, great work. Email us if you come with anything else.

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.

Will:

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.

Jeez. Google sucking in even more data of users. Scary. Sucks. Won't ever install that shite.

Dave Author Profile Page:

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.

Hi,

Looks very interesting but not working here on Firefox 3.0.6 ( as said in another comment) under Ubuntu.

Any idea?

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).

Ross:

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.

Any plans to create an add-on for the Flock browser? Please say YES!

Google buying Twitter? I think it's more likely that Facebook will.

Seems really useful feature to get twitter updates directly.

http://twitter.com/nepalsites

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 :-)

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.

Good to combine Twitter searches with Google results somehow!

It is great to have both Twitter power and Google power at once:)

P4SC4L:

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.

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

Quentin:

WHOA - This works really well - amazing how timely this is, in comparison to the rate at which Google results are spidered.

Guillaume Author Profile Page:

@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.

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...


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!

P4SC4L:

@ 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.

look goood

Tom Author Profile Page:

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? ; )

another twitterer:

found a solution which doesn't use greasemonkey. it's based on Yahoo! Boss apple events

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/

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/

Really nice. I will get some use out of this!

I've created a webpage for that, it's a real time web search page: http://itpints.com

Den:

You can search Google Blogs + Twitter in the same time: http://got.linkstore.ru

tentede imalat istanbul ythanks

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

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

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!

Hi,

you should use "decodeURIComponent" instead of "unescape" in your code, it works much more better with accentuation.

Anyhow, thanks !

@Guillame tnx for the tips on getting this to work without GM_xmlhttprequest - works now on Safari 4 + GreaseKit!

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

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.

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.

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.

Ben:

you could also search from twiogle.com to get google and twitter results on the same page.


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:



شات صوتي



دردشة صوتيه



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!!



دردشة زين



شات صوتي خليجي


شات زين

For a unique design Christmas Gift Baskets please go for
http://www.uniquegiftbaskets.net/
Hope you enjoy shopping.


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.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.

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...

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

maybe have a try later.hope it helps me.

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.

Jerry:

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)

レーザー脱毛、Vライン脱毛の銀クリの医療脱毛は安心納得価格で愛されボディに。各コース先着50名様30%OFFキャンペーン中!

幼児教室の春季講習
幼児教室の講習の掛け持ちについて意見を聞かせてください。
留学なら、DEOW留学センター!DEOW留学センターは手数料無料で貴方の留学を完全サ
ポート!
使い捨て[http://www.tealla.jp コンタクトレンズ]・カラーコンタクト・黒カラコン・ハードコンタクトなど取り扱いコンタクトレンズが豊富です。

幼児教室の春季講習
幼児教室の講習の掛け持ちについて意見を聞かせてください。
留学なら、DEOW留学センター!DEOW留学センターは手数料無料で貴方の留学を完全サ
ポート!
使い捨て[http://www.tealla.jp コンタクトレンズ]・カラーコンタクト・黒カラコン・ハードコンタクトなど取り扱いコンタクトレンズが豊富です。

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

دردشة الشلة:

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

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

maybe have a try later

For a unique design Christmas Gift Baskets please
http://www.di11.com

Adam:

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/

step 3: left click on follow

I've created a webpage for that, it's a real time web search page: http://www.s3fre.com

Great Point Thank you Man ... i Like Your Blog !

Anonymous:

Fuera chavez.

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

Thank you dear .. and i think that google & twitter will make it and develope it .. such this website :
البوم اليسا الجديد

Thank you dear .. and i think that google & twitter will make it and develope it .. such this website :

“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……

Great Point Thank you Man ... i Like Your Blog !

Didn't know that. Nice post. It would be very usefull for SEO i think

SEO:

Really nice. I will get some use out of this!

WHOA - This works really well. So cool!

I needs to spend some time learning more or understanding more.

Best way to beat the stupid referral system! This is the first site that worked for me. I have gotten three free iPods, a 360 and my Wii has been shipped!!

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.

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

will:

sik as

aaaa:

this blog is kawaii XD
チラシ 印刷
I am sorry for doing this lol
I like to drinkコーヒー these days.
you know?
its food for sake.

OneRiot - another take on real time social search. But less about that, and more about this. Or rather these, which i hope you'll

OneRiot - another take on real time social search. But less about that, and more about this. Or rather these, which i hope you'll

Your dream dwelling can have its starting today. You probably have a good suggestion for a flooring plan, chances are you'll want to go forward and get started. The architectural design you want might be started shortly by knowledgeable draftsman and earlier than long, your custom residence will quickly be on the way.

I have to agree with the other comments here. I think if Google did show interest in pulling real time results from Twitter, it would become nothing more than a marketers spam fest!

I agree that Google is a bit slow at times and using Twitter, in a way, could be a big boost.

I agree that Google is not that slow but still i use Twitter, in a way, could be a big boost.but both are good google and twitter.also visit www.tendertiger.com

There is a new service call ping.fm that everyone's going crazy about, it lets you post to all of your web 2.0 sites at the same time...

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

This band is really amazing, I have been thinking of adding their last album to my blog.

Matt:

I made a little twitter search engine for love/hate context matches to a search term, check it out here: lovehatetweet.com!

which i hope you'll like:


thnx mt

There is a new service call ping.fm that everyone's going crazy about, it lets you post to all of your web 2.0 sites at the same time...

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

There is a new service call ping.fm that everyone's going crazy about, it lets you post to all of your web 2.0 sites at the same time...

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

Gsm:

There is a new service call ping.fm that everyone's going crazy about, it lets you post to all of your web 2.0 sites at the same time...

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

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:

tHANKSe 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:

asd:

sadad

Looks cool! Wish it came in IE or straight Chrome.

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

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

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

I agree that Google is a bit slow at times and using Twitter, in a way, could be a big boost.

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

I was having quite a bit of trouble with GreaseMonkey before I found this post, thanks. I also like the display of the 5 most recent tweets.

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

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

query that you are search for, giving both real-time Twitter search results and Google results on the same page

gerçekten ii çalışyorlar tebrikler başarılar durmak yok...

I was having quite a bit of trouble with GreaseMonkey before I found this post, thanks. I also like the display of the 5 most recent tweets.

I was having quite a bit of trouble with GreaseMonkey before I found this post, thanks. I also like the display of the 5 most recent tweets.

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

I'm not much into the live twitter feeds on google, I do like the scrolling news though.

Post a comment