google-code-export / twitter-client-team204

Automatically exported from code.google.com/p/twitter-client-team204
1 stars 1 forks source link

Can't favorite after multiple clickings on favorite button #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in whatever tweet you like, click the favorite button multiple times quickly

What do you see?
After some times of clicking, the tweet cannot be favorited.

Here are the exception output in the command line:
     [java] 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/15364about-twitter-limits-update-api-dm-and-following).
     [java] message - You have already favorited this status
     [java] code - 139
     [java]
     [java] Relevant discussions can be found on the Internet at:
     [java]     http://www.google.co.jp/search?q=867f2e45 or
     [java]     http://www.google.co.jp/search?q=3b00b58d
     [java] TwitterException{exceptionCode=[867f2e45-3b00b58d], statusCode=403,message=You have already favorited this status, code=139, retryAfter=-1, rateLimitStatus=null, version=3.0.3}
     [java]     at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:177)
     [java]     at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:61)
     [java]     at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:98)
     [java]     at twitter4j.TwitterImpl.post(TwitterImpl.java:1853)
     [java]     at twitter4j.TwitterImpl.createFavorite(TwitterImpl.java:1012)
     [java]     at hk.ust.cse.TwitterClient.Views.TweetView.favourite(TweetView.java:658)
     [java]     at hk.ust.cse.TwitterClient.Views.TweetView.access$1300(TweetView.java:45)
     [java]     at hk.ust.cse.TwitterClient.Views.TweetView$9.handleEvent(TweetView.java:499)
     [java]     at org.eclipse.swt.widgets.EventTable.sendEvent(UnknownSource)
     [java]     at org.eclipse.swt.widgets.Widget.sendEvent(UnknownSource)
     [java]     at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
     [java]     at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
     [java]     at hk.ust.cse.TwitterClient.TwitterClient.<init>(TwitterClient.java:78)
     [java]     at hk.ust.cse.TwitterClient.TwitterClient.main(TwitterClient.java:88)
     [java] cannot fav

The problem is, the tweet has already been favorited, but the favorite button 
is still there -> no update on the tweet.

Original issue reported on code.google.com by tracyhua...@gmail.com on 19 Apr 2013 at 2:28

GoogleCodeExporter commented 9 years ago
spamming identified
http://code.google.com/p/comp3111-tem214/issues/detail?id=16

Original comment by pwyfat...@gmail.com on 20 Apr 2013 at 8:20

GoogleCodeExporter commented 9 years ago
It is not spam. It is the bug some other guys found in my group's client. So I 
tried our group's client and found the same one. Please forgive me as I was 
lazy so I just copyed the description from others.

Original comment by tracyhua...@gmail.com on 20 Apr 2013 at 11:59

GoogleCodeExporter commented 9 years ago
it becomes a spam when our client has no such bug at all
己所不欲勿施於人

Original comment by pwyfat...@gmail.com on 20 Apr 2013 at 12:31

GoogleCodeExporter commented 9 years ago
Actually it does happen. 

Original comment by tracyhua...@gmail.com on 20 Apr 2013 at 1:39

Attachments:

GoogleCodeExporter commented 9 years ago
i don't think you are running our client properly.

in the log it shows "[java] at 
hk.ust.cse.TwitterClient.Views.TweetView.favourite"
i am absolutely sure that, our client have no function favourite in 
TweetView.java

i recommend you removing folder src/ & bin/ in your TwitterClient workspace and 
follow steps in comp3111 phase1 webpage to run our client.

Original comment by pwyfat...@gmail.com on 20 Apr 2013 at 2:17

GoogleCodeExporter commented 9 years ago
Rejected.

Ken

Original comment by egcw...@gmail.com on 21 Apr 2013 at 3:40