bug: twitter bot appears to be truncating links!
BotB Academy Bug Reports and Feature Requests
 
 
62804
Level 13 Mixist
MisaelK
 
 
post #62804 :: 2016.01.31 3:36pm
I remember puke saying that some tweets didn't get published because they were too long, so it was better to truncate them so at least they come through.

I'm sure there's a smarter technique than simply truncating, but it's a start. :)
 
 
62869
Level 29 Hostist
puke7
 
 
 
post #62869 :: 2016.02.03 12:27am
  
  RatShack, MisaelK and Savestate liēkd this
I took another whack at this. Twitter handles all URLs as 23 characters no matter how long they are. If there is text before the URL then you need a space so actually 24 characters. The other things that takes up space is the @botbr_name when applicable.

The text being sent to twitter is now truncated with these things in mind and attaches them at the end.
 
 

LOGIN or REGISTER to add your own comments!