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-