jublo / codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.
https://www.jublo.net/projects/codebird/php
GNU General Public License v3.0
775 stars 237 forks source link

Twitter problem #226

Closed TheMasterRoot closed 5 years ago

TheMasterRoot commented 6 years ago

i started to recive this error from yesterday

[05-Feb-2018 16:14:48 America/Sao_Paulo] PHP Fatal error:  Uncaught exception 'Codebird\CodebirdMediaException' with message 'Downloading a remote media file failed.' in /home/desapegogames/public_html/cron/src/Twitter/tw.php:1892
Stack trace:
#0 /home/desapegogames/public_html/cron/src/Twitter/tw.php(1854): Codebird\Codebird->_fetchRemoteFile('https://cron.de...')
#1 /home/desapegogames/public_html/cron/src/Twitter/tw.php(1794): Codebird\Codebird->_buildBinaryBody('https://cron.de...')
#2 /home/desapegogames/public_html/cron/src/Twitter/tw.php(1768): Codebird\Codebird->_checkForFiles('statuses/update...', 'media[]', 'https://cron.de...')
#3 /home/desapegogames/public_html/cron/src/Twitter/tw.php(1826): Codebird\Codebird->_getMultipartRequestFromParams('statuses/update...', '---------------...', Array)
#4 /home/desapegogames/public_html/cron/src/Twitter/tw.php(2224): Codebird\Codebird->_buildMultipart('statuses/update...', Array)
#5 /home/desapegogames/public_html/cron/src/Twitter/tw.php(2349): Codebird\Codebird->_callApiPreparationsPost('POST', 'https://api.twi...', in /home/desapegogames/public_html/cron/src/Twitter/tw.php on line 1892

some one knows how to fix it?

mynetx commented 5 years ago

@TheMasterRoot Which URL are you trying to download the picture from?

mynetx commented 5 years ago

Closing since there were no further replies.