« Back to posts

Findpit.com: Building a Twitter Image Search with Embedly and jQuery.

This post is the first in a series showing some use cases for Embedly. First stop building a Twitter Image Search. Get on board.

What are you searching for on Twitter? It's probably not images. I mean, how many Google image searches have you done compared to Twitter image searches? I'm guessing the ratio is about 100 to 0. There are a few services out there that do it, but I think Crowdreel is the only one to get it right. Crowdreel is limited though. They only handle Twitpic, yFrog, TweetPhoto, Twitgoo, Mobypicture and Flickr. They leave out services like Posterous, Tumblr, Imgur, Photobucket, Phodriod, etc.

The number of services that offer images are not truly represented. This is where Embedly helps. We make it very easy to integrate 15 services that all offer images on twitter.

We built a very simple site to show you this. Findpit.com allows you to search Twitter for images it's built purely in javascript using the Twitter Search API and the Embedly oEmbed API.

To take a step back here is a simple version of Findpit in 30 lines of html and javascript.

We use the Twitter's search API to actually make the query, a little javascript to to parse out the image urls and the Embedly jQuery library to get the embed code. You will notice that there are only 9 providers, yes we can do more, but Twitter only lets our query be 140 characters long, so we leave out Photobucket, Phodriod and a few others with long urls.

Findpit doesn't do anything amazing, it doesn't remove duplicates, do it's own filters, trends or personalization. That's the hard stuff the Twitter development community is working on. So do the hard stuff Developers, leave the embedding to Embedly and make your life easier.

 

 

TLDR: Embedly let's you easily embed content from multiple sources. We built Findpit.com to show you how one can leverage Embedly to build cool things like Twitter Image Search.