From: Hypolite Petovan Date: Sat, 25 Apr 2020 16:35:41 +0000 (-0400) Subject: [statusnet] Update call to OAuthRequest::from_consumer_and_token after definition... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a76e9a1226335c7ea88422909326703f22be6b37;p=friendica-addons.git [statusnet] Update call to OAuthRequest::from_consumer_and_token after definition change --- diff --git a/statusnet/library/twitteroauth.php b/statusnet/library/twitteroauth.php index 860a74b6..5ac2ab12 100644 --- a/statusnet/library/twitteroauth.php +++ b/statusnet/library/twitteroauth.php @@ -236,7 +236,7 @@ class TwitterOAuth $url = "{$this->host}{$url}.{$this->format}"; } - $request = OAuthRequest::from_consumer_and_token($this->consumer, $this->token, $method, $url, $parameters); + $request = OAuthRequest::from_consumer_and_token($this->consumer, $method, $url, $parameters, $this->token); $request->sign_request($this->sha1_method, $this->consumer, $this->token); switch ($method) { case 'GET':