]> git.mxchange.org Git - friendica-addons.git/commitdiff
"getUserId" is now "getLoggedInUserId"
authorMichael <heluecht@pirati.ca>
Mon, 9 Aug 2021 20:38:36 +0000 (20:38 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 9 Aug 2021 20:38:36 +0000 (20:38 +0000)
twitter/twitter.php

index 56b5ead84c43b6048c422a5df9eb67af7ac8875d..b5c9ffbc17a67d67cd56e1d78daec017fd247abd 100644 (file)
@@ -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');