BlogMatrix
 

Onaswarm Social Network Explorer

edit David P. Janes 2008-05-07 14:21 UTC 3 comments  ·  ·  ·

Onaswarm is now provides a interface for finding out the social network connectivity of webpages. Connections are discovered using XFN, hCard, FOAF, optionally Google's SGN services and in some instances custom APIs if account information is available to Onaswarm.

URI

Parameters

  • uri - the URI of a page you'd like to discover social network details for
  • wrapper - if "ajax", the results will be returned in JSON format
  • json_pretty - boolean; the results will be pretty printed
  • jsonp - if non-empty, the results will be placed in a JSONP wrapper
  • reverse - boolean; the results will reflect links to this page, as opposed to outbound from this page
  • google - boolean; add results from Google Social Graph API. In HTML mode, this defaults to True; in AJAX, False.
  • appkey - coming soon

Example Queries

form interface

all links from Twitter user "bvl" in HTML, augmented with Google SGN results

all links outbound from Twitter user "bvl", without Google SGN results

Dan Brickley's FOAF file

Notes

  • if our server is experiencing unusual loads, this API will return 503 errors
  • there's a lot more we could do with the FOAF files - tell us what
  • if we did FOAF output, would you use it?
  • we will be using appkeys to access to API in the near future, mainly to stop robots from crawling the web through our API!