Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 46
Registered: ‎06-11-2009
My Device: Bold 2 - Pearl 8120

Twitter api me 1.8

I'm trying to integrate twitter api me to my bb app, I singin twitter, and I asked for xAuth autorithation, now I have the consumer key and consumer secret, but when I try to validate credentials i always get invalid credentials.

 

Credential c = new Credential(useraccount, password, CONSUMER_KEY,CONSUMER_SECRET);
UserAccountManager uam = UserAccountManager.getInstance(c);
if (uam.verifyCredential()) { // THIS ALLWAYS RETURN FALSE

 

 

What am I doing wrong?

 

Thanks very much,

If your issue is resolved, please mark this thread as solved. Click "Accept as solution" on the post that contains the answer to your question.