facebook "show more" wrong plink after change to background delivery

This commit is contained in:
friendica 2012-02-04 14:49:27 -08:00
parent ca6e43ef49
commit 289243f85f
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -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