質問編集履歴

1

エラーメッセージが出るように修正しました。

2020/07/28 03:50

投稿

nasu_nasu
nasu_nasu

スコア7

test CHANGED
File without changes
test CHANGED
@@ -74,7 +74,7 @@
74
74
 
75
75
  }catch(TwitterException e) {
76
76
 
77
- System.out.println("読み込めませんでした");
77
+ System.out.println(e);
78
78
 
79
79
  }
80
80
 
@@ -83,3 +83,27 @@
83
83
  }
84
84
 
85
85
  ```
86
+
87
+
88
+
89
+ 以下エラーメッセージです
90
+
91
+
92
+
93
+ ---
94
+
95
+ 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).
96
+
97
+ message - Missing or invalid url parameter.
98
+
99
+ code - 195
100
+
101
+
102
+
103
+ Relevant discussions can be found on the Internet at:
104
+
105
+ http://www.google.co.jp/search?q=506c3b98 or
106
+
107
+ http://www.google.co.jp/search?q=1a380391
108
+
109
+ TwitterException{exceptionCode=[506c3b98-1a380391], statusCode=403, message=Missing or invalid url parameter., code=195, retryAfter=-1, rateLimitStatus=RateLimitStatusJSONImpl{remaining=178, limit=180, resetTimeInSeconds=1595908836, secondsUntilReset=897}, version=4.0.7}