0
votes

I am trying to post tweets using the tweepy (python api for twitter). I have a long url using the itty bitty, to host a page of markdown. The Link can be posted via twitter website (tweet here), but not via the api. The error returned indicates the tweet is too long: tweepy.error.TweepError: [{'code': 186, 'message': 'Tweet needs to be a bit shorter.'}]

I have ensured the tweet is below the character limit, minus the characters used by the URL limit for the t.co shortening (currently 23 per url). Unsure of what to try next?

1
I'm unable to reproduce this. Can you provide the code for what you're trying? - Harmon758

1 Answers

1
votes

Was an error in passing a list to the api.update_status(), this should only be passed strings, but error was not clear to pull this up.