-
... and I think this is fine because the upload-media API requires oauth 1.1, but it opens up what seems to be an unaccounted for error condition. I think handling the error more elegantly would have …
-
I think TwitterOAuth (https://github.com/abraham/twitteroauth) has been updated so I've had to modify the class and include these two lines of code:
require_once("twitteroauth/autoload.php");
use A…
-
-
Extracted from #5470
The typical error message looks like this:
```
PHP Fatal error: Uncaught Abraham\TwitterOAuth\TwitterOAuthException: Resolving timed out after 10524 milliseconds in addon/t…
-
```php
$video = $_FILES['videoFile']['tmp_name'];
$twitter->setApiVersion('1.1');
$code = $twitter->upload('media/upload',[
'media' => $video,
"command"=>"INIT",
'media_type' => 'video/mp…
-
Hey guys,
i have a problem with 'php composer.phar update "kertz/twitteroauth"'.
```
Problem 1
- The requested package kertz/twitteroauth could not be found in any version, there may be a typo i…
-
[2023-05-12 07:00:05] local.ERROR: You must supply a readable file {"exception":"[object] (InvalidArgumentException(code: 0): You must supply a readable file at /var/www/events-tracker/vendor/abraham/…
-
The following code where $image is a publicly accessible jpeg image causes an error:
`return (new TwitterStatusUpdate($message))->withImage($image);`
The error is:
`"message": "You must supply …
-
I moved away from the old oauth/twitteroauth.php scripts because of this issue, but still can't get it to work. Usually twitter returns 'invalid media type'.
-
We seem to use this package: https://github.com/abraham/twitteroauth
It's in `include/social/twitter/twitter_auth/: https://github.com/salesagility/SuiteCRM/blob/0b7909a5e63810170cf81a744ef849d03b1…