From a76e9a1226335c7ea88422909326703f22be6b37 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 25 Apr 2020 12:35:41 -0400 Subject: [PATCH] [statusnet] Update call to OAuthRequest::from_consumer_and_token after definition change --- statusnet/library/twitteroauth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/statusnet/library/twitteroauth.php b/statusnet/library/twitteroauth.php index 860a74b6c..5ac2ab12a 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':