Open
Description
What are you attempting to do
send PUT requests to twitter api
Expected behavior
to work
Actual behavior
server error 500
Code example
$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