You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the blogpost contains an image that is too big
Twython Error message below - http://phsstormt.blogspot.com/2017/03/5-places-to-visit-in-new-zealand.html
Traceback (most recent call last):
File "/home/pi/Documents/clustermodel/rsstotwitternew.py", line 126, in
go_tweet()
File "/home/pi/Documents/clustermodel/rsstotwitternew.py", line 45, in go_tweet
twitter.update_status(status = tweet, media_ids=response['media_id'])
File "/usr/local/lib/python3.4/dist-packages/twython/endpoints.py", line 112, in update_status
return self.post('statuses/update', params=params)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 268, in post
return self.request(endpoint, 'POST', params=params, version=version)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 258, in request
api_call=url)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 194, in _request
retry_after=response.headers.get('X-Rate-Limit-Reset')) twython.exceptions.TwythonError: Twitter API returned a 400 (Bad Request), Image file size must be <= 3145728 bytes
The text was updated successfully, but these errors were encountered:
When the blogpost contains an image that is too big
Twython Error message below -
http://phsstormt.blogspot.com/2017/03/5-places-to-visit-in-new-zealand.html
Traceback (most recent call last):
File "/home/pi/Documents/clustermodel/rsstotwitternew.py", line 126, in
go_tweet()
File "/home/pi/Documents/clustermodel/rsstotwitternew.py", line 45, in go_tweet
twitter.update_status(status = tweet, media_ids=response['media_id'])
File "/usr/local/lib/python3.4/dist-packages/twython/endpoints.py", line 112, in update_status
return self.post('statuses/update', params=params)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 268, in post
return self.request(endpoint, 'POST', params=params, version=version)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 258, in request
api_call=url)
File "/usr/local/lib/python3.4/dist-packages/twython/api.py", line 194, in _request
retry_after=response.headers.get('X-Rate-Limit-Reset'))
twython.exceptions.TwythonError: Twitter API returned a 400 (Bad Request), Image file size must be <= 3145728 bytes
The text was updated successfully, but these errors were encountered: