Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A webfinger client for node.js
branch: master

This branch is even with banksean:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
webfinger-buzz.js

README.md

node webfinger

An asynchronous webfinger client for node. It returns an XRD object, given an email address.

Usage

var wf = new webfinger.WebFingerClient();
wf.finger("foo@example.com",
  function(xrdObj) {
    var statusLinks = xrdObj.getLinksByRel("http://schemas.google.com/g/2010#updates-from");
    // do something with statusLinks
  }
);

Example app

From the top level directory of this project, run

$ node webfinger-buzz.js <username>@gmail.com

and the application will output the latest google public Buzz entry from that user.

TODO

Fix up the XRD and Atom parsers. Currently doesn't work on Yahoo's XRD, for example. Error handling.

Something went wrong with that request. Please try again.