mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
incorrect slinky param
This commit is contained in:
parent
a5d5ae5efa
commit
5d9550e08f
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ function facebook_post_hook(&$a,&$b) {
|
|||
require_once('library/slinky.php');
|
||||
|
||||
$display_url = $a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $b['id'];
|
||||
$slinky = new Slinky( $posturl );
|
||||
$slinky = new Slinky( $display_url );
|
||||
// setup a cascade of shortening services
|
||||
// try to get a short link from these services
|
||||
// in the order ur1.ca, trim, id.gd, tinyurl
|
||||
|
|
Loading…
Reference in a new issue