Twitter update

  1 post   Feedicon  
Replies: 0 - Last Post: January 19, 2012 05:31
by: cyberlinks
showing 1 - 1 of 1
 
Posted: January 19, 2012 05:31 by cyberlinks
i want to update status on twitter using blackberry simulator 9930
but i am getting error when i run my simulator
error is Uncaught exception:read only application cant post
my code is this
Token token = new Token(token_access, token_secret);
Credential c = new Credential(username, con_key, con_secret, token);
UserAccountManager m = UserAccountManager.getInstance(c);
if (m.verifyCredential()) {
System.out.println("User's credentials are OK! You're now logged in!");
Tweet t = new Tweet("Cool! Geo-located tweet via Twitter API ME.");
TweetER ter = TweetER.getInstance(m);
t = ter.post(t);
} else {
System.out.println("Consumer or token keys are invalid!");
}
}
}
i am using twitter_api_1.8.2.jar

in eclipse open a new page with this error
the jar file twitter_api_1.8.jar has no source attachment
u can attach the source by clicking attach source

please solve my problem
thanks in advance
please help me......................
Replies: 0 - Last Post: January 19, 2012 05:31
by: cyberlinks
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close