will there be support for version 2 of the twitter api?

Hi, i'm developing an Application that uses this library, but it presented problems since 06/15/2023 and the code returns me this string at response.Body.Data.errors.message : "'You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product'"
I've checked the documentation at twitter and they suggest me to change the API 2 version, here is the code so you can check it out:
consumerKey=''; %API Key
consumerKeySecret=''; %API Secret Key
accessToken='';%ClientID
accessTokenSecret='';%Clien Secret
%%%%%%%%%%%%%%%%%%%%%%%%%%CONNECTION%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
connection=twitter(consumerKey,consumerKeySecret,accessToken,accessTokenSecret);
%%%%%%%%%%%%%%%%%%%%%%%%%%Access%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
response=search(connection,'from:SismologicoMX','count',1);
%response.Body.Data.errors.message %code to check the message error
ActualTweetDate=response.Body.Data.statuses{1,1}.created_at; %Here the response fail
LastTweet=response.Body.Data.statuses{1,1}.text

Answers (1)

John D'Errico
John D'Errico on 21 Jun 2023
Edited: John D'Errico on 22 Jun 2023
In general, we cannot tell you IF there will be support for anything. The MathWorks does not release information about their plans for the future on any product. And If anyone knows the answer, they will be held under a non-disclosure agreement. so anyone who does know, they can't tell you.
If you want to have some input on this, then you should not be posting a question on Answers anyway. Instead, send in a question to tech support. They will at least be able to put it on the list of things they might want to support in the future. And even better, they will also then contact you, if and when that happens.

Categories

Products

Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!