09-28-2011 04:44 PM
Has anyone gotten any Twitter integration working with a Java app using xAuth? I have not been able to find any good examples of this.
10-01-2011 08:54 AM
Hi,
I'm also searching for the good example.. I used this sample with Twitter ME 1.5:
Token = new Token("token_access", "token_secret");
Credential c = new Credential("user_name", "consumer_key", "consumer_secret", token);
UserAccountManager m = UserAccountManager.getInstance(c);
if (m.verifyCredential()) {
System.out.println("SUCCESS!");
}I tried to get token using examples from here:
http://j2megroup.blogspot.com/2010/10/xauth-lib-oa
10-01-2011 07:28 PM
10-02-2011 02:56 AM - edited 10-02-2011 03:05 AM
thank you for reply, actually, I guess I misunderstand something.. Can you please take a look at my another post on twitter authorization?
http://supportforums.blackberry.com/t5/Java-Develo
Also - to this thread - I have to say that I was able to get *401 unauthorized error* response using the code from the link below, which is perfectly ok since I used oAuth data in xAuth code.
So I guess it would work for xAuth signed applications.