mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 08:03:41 +00:00
"getUserId" is now "getLoggedInUserId"
This commit is contained in:
parent
08c64387d7
commit
752602f5f5
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ function twitter_follow(App $a, array &$contact)
|
||||||
$nickname = preg_replace("=https?://twitter.com/(.*)=ism", "$1", $contact["url"]);
|
$nickname = preg_replace("=https?://twitter.com/(.*)=ism", "$1", $contact["url"]);
|
||||||
$nickname = str_replace("@twitter.com", "", $nickname);
|
$nickname = str_replace("@twitter.com", "", $nickname);
|
||||||
|
|
||||||
$uid = $a->getUserId();
|
$uid = $a->getLoggedInUserId();
|
||||||
|
|
||||||
$ckey = DI::config()->get('twitter', 'consumerkey');
|
$ckey = DI::config()->get('twitter', 'consumerkey');
|
||||||
$csecret = DI::config()->get('twitter', 'consumersecret');
|
$csecret = DI::config()->get('twitter', 'consumersecret');
|
||||||
|
|
Loading…
Reference in a new issue