Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Social media crawling engine implemented totally browser side in JS
branch: master

This branch is even with lrvick:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



Hyve (pronounced: "hive") is a javascript library aiming to be a general solution for streaming the latest data from multiple social media networks, for any given topic, and abstracting all of them into one simple API.

Current Features

  • Plays nice with all major JS frameworks (jQuery, Mootools etc.)
  • Can run any javascript function of your choice against each posting retrieved.
  • Outputs all data in a normalized format - USMF
  • Supports searching Facebook, Twitter, Identica, Foursquare, Flickr, Picasa, Wordpress, Youtube, Reddit, Digg, and Delicious
  • Indirectly supports Imgur and Vimeo by catching links shared via other services.
  • Expands urls from and bitly
  • Streams from all services (default), or optionally only selected services
  • Runs in the browser or on the server (Node.js)


For running Hyve in Node.js, you'll need the request library. You can grab it from npm:

$ npm install request

Usage / Installation


Simple echo of Twitter, Facebook, and Identica with pure JS:

var myFunction = function(data){console.log(' + data.service +' : '+ data.text  +')}
var myQuery = 'android'
var myServices = ['Twitter','Facebook','Identica'],myFunction,myServices)

Simple Node.js example to output data from all services:

var hyve = require('hyve')'android', function(data){
    console.log(data.service +' : '+ data.text);

Basic live search engine with jQuery:

        <script src=""></script>
        <script src="hyve.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(document).ready(function() {
                        $('#output').prepend($('<p>' + data.service +' : '+ data.text  +'</p>'))
        <div id="input">
            <input id="query" type="text" />
            <button id="search">search</button>
        <div id="output"></div>


Foursquare will only return data if the client has HTML5 Geolocaton support. You must also define client_id and client_secret like so:

    hyve.feeds.foursquare.client_id = 'your_application_client_id'
    hyve.feeds.foursquare.client_secret = 'your_application_client_secret'

Flickr will work without authentication, however 'views' is not returned without auth. Without 'views' the 'weight' metric will be set to 0.

To get 'views' in Flickr you must specify an API key like so: = 'your_api_key',

To utilize bitly url un-shortening you must supply a login and api_key:

    hyve.feeds.bitly.login = 'your_username'
    hyve.feeds.bitly.api_key = 'your_api_key'

Questions/Comments? Please check us out on IRC via irc://

Something went wrong with that request. Please try again.