]> git.mxchange.org Git - friendica-addons.git/commitdiff
[statusnet] Update call to OAuthRequest::from_consumer_and_token after definition...
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 25 Apr 2020 16:35:41 +0000 (12:35 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 25 Apr 2020 16:35:41 +0000 (12:35 -0400)
statusnet/library/twitteroauth.php

index 860a74b6ce7ed5accd037663358c40d570148c0b..5ac2ab12a247153f27def44c5cd4a6a9b23f3fbb 100644 (file)
@@ -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':