aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/TwitterManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/TwitterManager.java')
-rw-r--r--src/main/java/com/juick/TwitterManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/TwitterManager.java b/src/main/java/com/juick/TwitterManager.java
index a6a53e6c..f4cab89b 100644
--- a/src/main/java/com/juick/TwitterManager.java
+++ b/src/main/java/com/juick/TwitterManager.java
@@ -55,7 +55,7 @@ public class TwitterManager implements NotificationListener {
status += " http://juick.com/" + jmsg.getMid();
var twitter = Twitter.newBuilder()
.oAuthConsumer(twitter_consumer_key, twitter_consumer_secret)
- .oAuthAccessToken(t.getToken(), t.getSecret()).build();
+ .oAuthAccessToken(t.token(), t.secret()).build();
try {
twitter.v1().tweets().updateStatus(status);
} catch (Exception e) {