$act->id = $this->uri;
$act->time = strtotime($this->created);
- $act->link = $this->bestUrl();
+ $act->link = $this->getUrl();
$act->content = common_xml_safe_str($this->rendered);
$profile = $this->getProfile();
try {
$reply = $this->getParent();
- $ctx->replyToID = $reply->uri;
- $ctx->replyToUrl = $reply->bestUrl();
+ $ctx->replyToID = $reply->getUri();
+ $ctx->replyToUrl = $reply->getUrl();
} catch (Exception $e) {
// This is not a reply to something
}