The WebFinger lookup process involves loading two XRD files.
Under normal circumstances you don't need them, but if you have special
needs you can access them in the reaction's
$hostMetaXrd
and
$userXrd
properties.
They are NULL
if the file could not be found, or the XRD
not be loaded.
<?php
require_once 'Net/WebFinger.php';
$wf = new Net_WebFinger();
$react = $wf->finger('[email protected]');
foreach ($react->hostMetaXrd as $link) {
echo $link->rel . ': ' . $link->href . "\n";
}
?>