Monday, April 4, 2011

[twitter-dev] Re: Can you search for tweets linking to any page within a domain?

> Say I have a website athttp://instantwatcher.comand I want to search
> for all tweets, including ones condensed by TinyURL, that link to any
> URL within this domain. Is this possible, and if so how can I do it?

You basically have to suck the firehouse (or use search or whatever)
to get all the tweets, then unshorten (& canonicalize) them to build
your OWN search index. I have a huge system that does this for the
BuzzRadius-based sites (like http://STLTweets.com or http://loufesttweets.com
). It's not trivial, and there are lots of gotchas to watch for like
Facebook login gateways and such.

That said, the best simple unshortener in my experience (beyond just
crawling the link) is UnTiny.me http://www.untiny.me/ (the API is
fast and very reliable).

--
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements
Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: http://groups.google.com/group/twitter-development-talk

No comments:

Post a Comment