]> git.mxchange.org Git - friendica-addons.git/commitdiff
facebook "show more" wrong plink after change to background delivery
authorfriendica <info@friendica.com>
Sat, 4 Feb 2012 22:49:27 +0000 (14:49 -0800)
committerfriendica <info@friendica.com>
Sat, 4 Feb 2012 22:49:27 +0000 (14:49 -0800)
facebook.tgz
facebook/facebook.php

index 82d4bcc484af55bf2bf8fac9c2a8069c5bfa5cd9..484d8eae38c029a6f42a010a83725f37371c4674 100755 (executable)
Binary files a/facebook.tgz and b/facebook.tgz differ
index 57212fef9ac89a9fb0d937455bb503e6f1a61b3d..3cf5ee8d6a74380eee584c0e9e5755a2e5353afc 100755 (executable)
@@ -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