150151152153154155156157158159160
boolean ret = false; UserAccountManager m = login(); try { if (m.verifyCredential()) { Tweet t = new Tweet(contenido); TweetER ter = TweetER.getInstance(m); t = ter.post(t); ret = true; } else { throw new Exception("Sin Credenciales");
171172173174175176177178179180181
UserAccountManager m = login(); try { if (m.verifyCredential()) { TweetER ter = TweetER.getInstance(m); Tweet t1 = ter.findByID(t.getString(MetadataSet.TWEET_ID)); t1 = ter.repost(t1); ret = true; } else { throw new Exception("Sin Credenciales"); }
167168169170171172173174175176177
if(contenido.length()>140){ if(cfg.isTruncarTweets()){ } } Tweet t = new Tweet(contenido); TweetER ter = TweetER.getInstance(m); t = ter.post(t); ret = true; } else { throw new Exception("Sin Credenciales");
268269270271272273274275276277278