mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-19 02:03:39 +00:00
[statusnet] Update call to OAuthRequest::from_consumer_and_token after definition change
This commit is contained in:
parent
786de7b891
commit
a76e9a1226
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class TwitterOAuth
|
||||||
$url = "{$this->host}{$url}.{$this->format}";
|
$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);
|
$request->sign_request($this->sha1_method, $this->consumer, $this->token);
|
||||||
switch ($method) {
|
switch ($method) {
|
||||||
case 'GET':
|
case 'GET':
|
||||||
|
|
Loading…
Reference in a new issue