abraham / abraham/twitteroauth

oauth1 PUT requests doesnt work

Aperta
#1,214 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Bug Triage
Lingua principale
PHP
Stelle
4.3k
Fork
1.7k
Merge medio
4g 19h
PR unite (30g)
4

Descrizione

**What are you attempting to do**
send PUT requests to twitter api

**Expected behavior**
to work

**Actual behavior**
server error 500

**Code example**

```php
$params = [
'title' => 'My test Stream',
"locale" => 'en_US',
"should_not_tweet" => false,
"state" => "PUBLISH"
];
$res = $connection->put("users/$user_id/broadcasts/$id/state", $params, true);

```

**Versions:**

- TwitterOAuth: latest
- PHP: v8.0

**Additional context**
same request with native oauth.so in php, works.
i think something is wrong with the encryption of PUT requests

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.