}
} catch (HTTP_Request2_Exception $e) {
// Any HTTPClient error that might've been thrown
+ common_log(LOG_ERR, __METHOD__ . ':'.$e->getMessage());
return null;
}
return self::hcardHints($response->getBody(),
- $response->getUrl());
+ $response->getEffectiveUrl());
}
static function hcardHints($body, $url)