Bug#882390: libnet-twitter-perl: tweets are truncated to 140 characters

gregor herrmann gregoa at debian.org
Fri Nov 24 22:21:56 UTC 2017


Control: tag -1 + unreproducible

On Fri, 24 Nov 2017 13:04:49 +0100, Florian Schlichting wrote:

> > Some time ago, Twitter has extended tweets to more than 140 characters.
> > But with Net::Twitter, tweets are truncated to 140 characters, and
> > even less (because they include a link to get the full tweet when this
> > occurs). This makes this module rather useless nowadays.
> > 
> > This module should be updated to the current Twitter API.
> 
> in https://github.com/semifor/Net-Twitter/issues/76 the upstream author
> makes clear that he considers Net::Twitter a dead end and has deprecated
> it in favour of Twitter::API. In fact, the git repo has added the
> following notice:
> 
>     This module has been superseded by L<Twitter::API>. Please update as
>     soon as you possibly can to use new features and the new API
>     versions. This module will no longer be supported.

True but we might still fix the 140 character issue.

Except that I see no mention of "140" in the code (only in the POD)?!
The update method seems to just POST to statuses/update, and that's
it.

So let's try ...

*a bit later*

With the result of the attached script I got (no error, exit status
0, and): https://twitter.com/gregoa_/status/934184021684301824
(length 188 characters)


So I can't reproduce a 140 character limit in Net::Twitter.


Cheers,
gregor
 

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Led Zeppelin: Dazed And Confused
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longtweet.pl
Type: text/x-perl
Size: 717 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20171124/c67c8479/attachment.pl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20171124/c67c8479/attachment.sig>


More information about the pkg-perl-maintainers mailing list