Closed bbjubjub2494 closed 6 years ago
:heart: :two: :boom: liking a tweet twice go boom (unpleasant traceback popup)
403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following). message - You have already favorited this status. code - 139 StackTrace: twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:164) twitter4j.HttpClientBase.request(HttpClientBase.java:57) twitter4j.HttpClientBase.post(HttpClientBase.java:86) twitter4j.TwitterImpl.post(TwitterImpl.java:1804) twitter4j.TwitterImpl.createFavorite(TwitterImpl.java:943) moe.lyrebird.model.twitter.services.TweetInterractionService.lambda$0(TweetInterractionService.java:24) io.vavr.control.Try.mapTry(Try.java:616) moe.lyrebird.model.sessions.SessionManager.doWithCurrentTwitter(SessionManager.java:81) moe.lyrebird.model.twitter.services.TweetInterractionService.like(TweetInterractionService.java:24) moe.lyrebird.view.components.tweet.TweetPaneController.onLike(TweetPaneController.java:97) moe.lyrebird.view.components.tweet.TweetPaneController.lambda$0(TweetPaneController.java:69) javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) javafx.base/javafx.event.Event.fireEvent(Event.java:198) javafx.graphics/javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3589) javafx.graphics/javafx.scene.Scene$ClickGenerator.access$8300(Scene.java:3517) javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3885) javafx.graphics/javafx.scene.Scene$MouseHandler.access$1300(Scene.java:3604) javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1874) javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2613) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) java.base/java.security.AccessController.doPrivileged(Native Method) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:556) javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:942) javafx.graphics/com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) javafx.graphics/com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277) java.base/java.lang.Thread.run(Thread.java:844)```
Double retweet is similar
Indeed 👍 Will fix that
Fixed in develop branch by #11 .
:heart: :two: :boom: liking a tweet twice go boom (unpleasant traceback popup)