mathias-brandewinder / worldbankbot

MIT License
4 stars 3 forks source link

Tweets with image has < 140 characters #16

Open theburningmonk opened 8 years ago

theburningmonk commented 8 years ago

This line needs to take the MediaID into account:

https://github.com/mathias-brandewinder/worldbankbot/blob/master/WorldBankBot/WorldBankBot/Twitter.fs#L118-L120

on Twitter, if I attach an image the max characters go down to 116

mathias-brandewinder commented 8 years ago

Nice catch, will fix it. Do you know if 116 is guaranteed?

theburningmonk commented 8 years ago

as far as I can tell from the Twitter UI 116 is the cap (even when you attach more than one image), been trying it with this random arts bot I started using your work + Phil's random arts workshop code and 116 has been working for me