diff options
author | Vitaly Takmazov | 2022-12-21 03:26:49 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2022-12-21 03:26:49 +0300 |
commit | cf437e3004149efe3b65e80d618374eb28cca641 (patch) | |
tree | 328147d3209d9a4330c1576c9acb4c2b6cc358b6 /src/main/java/com/juick/TwitterManager.java | |
parent | 1ad1b73a7b85e7e907de1870991a8849487f9543 (diff) |
external tokens: adopt records
Diffstat (limited to 'src/main/java/com/juick/TwitterManager.java')
-rw-r--r-- | src/main/java/com/juick/TwitterManager.java | 2 |
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) { |