06-19-2012 11:05 AM
Hi Anjali
If you provide url in CallbackURL, then you don't need this pin. even it will handle itself.
Thanks
Pawan
06-20-2012 03:15 AM
I am using BlackBerry Storm 9550 device, OS 5.0 JDK 1.5 BlackBerry sdk 5.0 twitter me api twitter_api_me-1.8.3.jar.
While running your app, it is asking login page. I have given the login details then it is going to autharize screen . But onAuthorize method is not callled . Is this anything related to Browser ?
At last it is responding with the callback URL. Posting is not happened.
Could u please tell me what I am missing ?
Here is my code
public void onAuthorize(final Token token) {
final Token myToken = token;
_tokenValue = StoreToken.fetch();
_tokenValue.token = myToken.getToken();
_tokenValue.secret = myToken.getSecret();
_tokenValue.userId = myToken.getUserId();
_tokenValue.username = myToken.getUsername();
_tokenValue.save();
UiApplication.getUiApplication().invokeLater( new Runnable() {
public void run() {
deleteAll();
Credential c = new Credential(CONSUMER_KEY, CONSUMER_SECRET, myToken);
TweetToFriend tw = new TweetToFriend();
String message="Hi Testing twitter Golflogix BB";
boolean done=false;
done=tw.doTweet(message, c);
if(done == true)
{
Dialog.alert( "Tweet succusfully..." );
close();
}
}
});
}
06-27-2012 03:42 AM
Hi Pawan,
I am giving the callback url , but it giving the error like :Error Authenticating user : desktop application only support auth call back values.
Regards
Anjali
06-27-2012 11:09 AM
Hello Anjali
I don't know where you are lacking in the code. I have not face this issue at my end.
Thanks
Pawan
08-15-2012 10:16 AM
I get lost following this thread.
So, where can I find a zip with a working sample source code?
Thanks in advance.
08-22-2012 03:41 AM
Hello Pankaj,
Can you please provide the JAR file which you have used in this application to implement twitter.
I had searched alot but unable to find it.
08-22-2012 04:05 AM
Hi
PFA the jar file.
Thanks
Pawan
08-22-2012 04:07 AM
Hi pawan your code is nice but could you attach your running code because i m not getting the compatible jar file. or can you able to send the code on another e-mail.
08-22-2012 04:14 AM
Hi
PFA the entire code.
Thanks
Pawan
08-22-2012 04:21 AM