From: friendica Date: Sat, 4 Feb 2012 22:49:27 +0000 (-0800) Subject: facebook "show more" wrong plink after change to background delivery X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=289243f85f702e160951c42785820e9dcc37d097;p=friendica-addons.git facebook "show more" wrong plink after change to background delivery --- diff --git a/facebook.tgz b/facebook.tgz index 82d4bcc4..484d8eae 100755 Binary files a/facebook.tgz and b/facebook.tgz differ diff --git a/facebook/facebook.php b/facebook/facebook.php index 57212fef..3cf5ee8d 100755 --- a/facebook/facebook.php +++ b/facebook/facebook.php @@ -668,7 +668,8 @@ function facebook_post_hook(&$a,&$b) { $shortlink = ""; require_once('library/slinky.php'); - $display_url = $a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $b['id']; + $display_url = $b['plink']; + $slinky = new Slinky( $display_url ); // setup a cascade of shortening services // try to get a short link from these services