From: Michael Date: Mon, 9 Aug 2021 20:38:36 +0000 (+0000) Subject: "getUserId" is now "getLoggedInUserId" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=752602f5f57c0619655c9a00a77c105756fb1dce;p=friendica-addons.git "getUserId" is now "getLoggedInUserId" --- diff --git a/twitter/twitter.php b/twitter/twitter.php index 56b5ead8..b5c9ffbc 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -146,7 +146,7 @@ function twitter_follow(App $a, array &$contact) $nickname = preg_replace("=https?://twitter.com/(.*)=ism", "$1", $contact["url"]); $nickname = str_replace("@twitter.com", "", $nickname); - $uid = $a->getUserId(); + $uid = $a->getLoggedInUserId(); $ckey = DI::config()->get('twitter', 'consumerkey'); $csecret = DI::config()->get('twitter', 'consumersecret');