Attempting to go through the test analysis but it says that the error is caused by the API not existing? I'm confused on how to proceed from here.
static Twitter twitter = TwitterFactory.getSingleton();
static User theUser;
static public final String BotometerAPIKey = "",
consumerKey = "",
consumerSecret = "",
accessToken = "",
acessTokenSecret = "";
public static void main (String[] args) throws TwitterException {
BotometerConfiguration config = new BotometerConfigurationBuilder()
.botometerApiKey(BotometerAPIKey) // X-RapidAPI-Key
.twitterConsumerKey(consumerKey) //consumer-key
.twitterConsumerSecret(consumerSecret) //consumer-secret
.twitterAccessToken(accessToken) //access-token
.twitterAccessTokenSecret(acessTokenSecret) //access-token-secret
.build();
Botometer botometer = new BotometerFactory(config).create();
theUser = twitter.showUser(twitter.getId());
AccountAnalysisResult result = botometer.analyzeAccount(theUser.getScreenName());
}