Skip to content
eschnou edited this page Mar 6, 2011 · 1 revision

Performs a webfinger lookup and return the JSON serialization of the result.

Example:

node bin/webfinger.js eschnou@identi.ca

Output:

{ alias: 
   [ 'http://identi.ca/user/16106',
     'http://identi.ca/eschnou' ],
  links: 
   [ { href: 'http://identi.ca/eschnou',
       type: 'text/html',
       rel: 'http://webfinger.net/rel/profile-page' },
     { href: 'http://identi.ca/eschnou/hcard',
       type: 'text/html',
       rel: 'http://microformats.org/profile/hcard' }]}