Ident Engine

A JavaScript library that retrieves and aggregates profiles from across the web

Identities HTML API

The Identities HTML API creates a HTML list of profile links for a given individual. It uses Ident Engine library to wrap Google’s Social Graph API, returning a much richer result set than using Google’s API directly. It is taking advantage of YQL opentable to host the core of the Ident Engine JavaScript.

Try it out...

 

: XML JSON

Example

I have created an example which demostrates the use of this API.

API parameters

The parameters "urls" and "useInwardEdges" are used to create the YQL query parameter "q" i.e.

use "http://identengine.com/opentables/identitiesHtml.xml"; select * from identitiesHtml where urls="http://twitter.com/glennjones" and useInwardEdges=1;

urls
A single URL or a comma delimited list of URLs of profiles
useInwardEdges
Use inward edges, this maps direclty to the Google Social Graph API "edi" query parameter. Setting this to 1 will return more results, but incease the chance of errors.
format
The YQL output format xml or json.
diagnostics
Switches on or off the YQL diagnostics information.

YQL query example

The example URL below showes how to call the API. It only looks complex because of the URL encoding of the YQL query. It has a simple structure really.

http://query.yahooapis.com/v1/public/yql?q=use%20%22http%3A%2F%2Fidentengine.com%2Fopentables%2Fidentitieshtml.xml%22%20select%20*%20from%20identitieshtml%20where%20urls%3D%22http%3A%2F%2Ftwitter.com%2Fglennjones%22%20and%20useInwardEdges%3D1%3B&format=xmldiagnostics=false

CSS Sprites

The returned HTML is formatted to make use of Ident Engines CSS icon sprites. Please view the CSS sprites page for further information