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...
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.
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