Twitteroauth Versions Save

The most popular PHP library for use with the Twitter OAuth REST API.

7.0.0

2 months ago

Change the third argument of callers from a boolean to an array

+ $connection->post("tweets", ["text" => $text], ['jsonPayload' => true]);
- $connection->post("tweets", ["text" => $text], true);
$connection->upload( 
  'media/upload',
  ['media' => $file_path, 'media_type' => 'video/mp4'],
+   ['chunkedUpload' => true],
-   true
);

6.2.0

5 months ago
  • Expand PHP 8 support

6.1.0

8 months ago

Default v2 to JSON payload

6.0.0

9 months ago

Default to Twitter API v2.

For v1 APIs you can switch back using:

$connection->setApiVersion('1.1');

5.0.0

1 year ago

Require PHP 8

4.0.1

1 year ago
  • Resolve parameters to random_int

4.0.0

2 years ago
  • Modernize PHP with Rector

3.3.0

2 years ago
  • Support JSON in PUT

3.2.0

2 years ago
  • Add support for php 8.1
  • Remove support for php 7.3

3.1.0

2 years ago
  • Switch apiUrl to protected. Overriding apiUrl is not officially supported.