Je crois que JTwitter supporte OAuth pour s'authentifier auprès d'un développeur, mais je ne peux pas en faire fonctionner aucun.Exemple de panneau JTwitter OAuth
Les JTwitter docs disent poteau indicateur est la méthode prise en charge - mais je ne peux pas sembler trouver la classe OAuthSignpostClient ils utilisent même après avoir ajouté poteau indicateur libs:
OAuthSignpostClient client = new OAuthSignpostClient(JTWITTER_OAUTH_KEY, JTWITTER_OAUTH_SECRET, "oob");
Twitter jtwit = new Twitter("yourtwittername", client);
// open the authorisation page in the user's browser
client.authorizeDesktop();
// get the pin
String v = client.askUser("Please enter the verification PIN from Twitter");
client.setAuthorizationCode(v);
// Optional: store the authorisation token details
Object accessToken = client.getAccessToken();
// use the API!
jtwit.setStatus("Messing about in Java");
A du code de quelqu'un qui segment de code de travail?
S'il vous plaît aider
Andy