federation work

This commit is contained in:
redmatrix
2016-03-14 22:14:17 -07:00
parent ef7494359f
commit b673b6835d
2 changed files with 25 additions and 10 deletions

View File

@@ -1304,6 +1304,7 @@ function webfinger_rfc7033($webbie,$zot = false) {
else
return false;
}
logger('fetching url from resource: ' . $rhs . ':' . $webbie);
$s = z_fetch_url('https://' . $rhs . '/.well-known/webfinger?f=&resource=' . $resource . (($zot) ? '&zot=1' : ''));