-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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.
`package botometerTesting;
import de.fjobilabs.botometer.AccountAnalysisResult;
import de.fjobilabs.botometer.Botometer;
import de.fjobilabs.botometer.BotometerConfiguration;
import de.fjobilabs.botometer.BotometerConfigurationBuilder;
import de.fjobilabs.botometer.BotometerFactory;
import twitter4j.User;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.TwitterException;
public class botoMeterHandler {
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());
}
}
`
Metadata
Metadata
Assignees
Labels
No labels
