How to use the package

At first, include the PHP file, create a Net_WebFinger object and run finger() on it, passing the identifier (often the e-mail address, always user@host). finger() returns a Net_WebFinger_Reaction object which you can use to get links from.

require_once 'Net_WebFinger.php';
$wf = new Net_WebFinger();
$reaction $wf->finger('');

Now you have access to the links, errors and security information.