#1037535 libnet-twitter-perl: "Could not authenticate you." errors since 2023-06-13

#1037535#5
Date:
2023-06-13 21:18:47 UTC
From:
To:
It seems that something changed on Twitter, which yields the
"Could not authenticate you." error with Net::Twitter. This
started to happen a few hours ago.

#1037535#10
Date:
2023-06-13 21:54:23 UTC
From:
To:
I think that's it:

https://twitter.com/TwitterDev/status/1621026986784337922

"Starting February 9, we will no longer support free access to the
Twitter API, both v2 and v1.1. A paid basic tier will be available
instead"

#1037535#15
Date:
2023-06-14 08:54:33 UTC
From:
To:
Control: retitle -1 libnet-twitter-perl: Does not support Twitter API v2
Control: severity -1 important
Control: found -1 4.01043-1
Control: clone -1 -2
Control: reassign -2 libnet-twitter-lite-perl
Control: retitle -2 libnet-twitter-lite-perl: Does not support Twitter API v2
Control: found -2 0.12008-1
the same issue (with clients in perl, python, and C).
- Twitter is over time suspending old "apps" (happened to me already
  earlier this year, and again yesterday).
- It's possible to create a "project" and move the old "app" there,
  thereby reactivating it -- but by the new rules:

* There are paid and unpaid plans with different features.
* Twitter API v1.1 is quite limited (for all plans).
Cf. https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api


So the problem is not that Net::Twitter and Net::Twitter::Lite are
broken per se but that they don't support the Twitter API v2 which is
a pain as the API v1.1 is very limited by now (except for still
working old "apps") -- but I can confirm that uploading images with
Net::Twitter::Lite still works.

Apparently Twitter::API has some support for the Twitter API v2 [0]
which I still have to try.


Cheers,
gregor

[0]

https://metacpan.org/pod/Twitter::API

#v+
my $client = Twitter::API->new_with_traits(
    api_version => '2',
    api_ext     => '',
    %oauth_credentials,
);

my $user = $client->get("users/by/username/$username");
#v-

#1037535#28
Date:
2026-08-28 07:19:53 UTC
From:
To:
Dear submitter,

as the package libnet-twitter-perl has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1145688

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)