質問編集履歴

1

内容の変更

2015/12/03 17:01

投稿

zzzzzzak
zzzzzzak

スコア8

test CHANGED
@@ -1 +1 @@
1
- twitter4J API notifyDataSetChanged() 再描画
1
+ twitter4J StreamingAPI エラー:406
test CHANGED
@@ -2,6 +2,40 @@
2
2
 
3
3
 
4
4
 
5
- ListView(タイムライン)の再描画をしたい(自動更新)のですが、StreamingAPIを利用せずnotifyDataSetChanged()みで再描画をはできますでしょうか
5
+ StreamingAPIを利用してタイムラインの再描画をしようと考えております。
6
6
 
7
- ご教授お願いいたします。
7
+ ですが、以下のエラーが出てしまいます。
8
+
9
+ 原因はなんなのでしょうか。。。
10
+
11
+ わかる方、ご教授お願いいたします。
12
+
13
+
14
+
15
+ 406:Returned by the Search API when an invalid format is specified in the request.
16
+
17
+ Returned by the Streaming API when one or more of the parameters are not suitable for the resource. The track parameter, for example, would throw this error if:
18
+
19
+ The track keyword is too long or too short.
20
+
21
+ The bounding box specified is invalid.
22
+
23
+ No predicates defined for filtered resource, for example, neither track nor follow parameter defined.
24
+
25
+ Follow userid cannot be read.
26
+
27
+ No filter parameters found. Expect at least one parameter: follow track locations
28
+
29
+ 12-04 01:55:49.158 28814-28845/com.example.x_vvx18.twinico2 W/TwitterStreamImpl﹕ Parameter not accepted with the role. 406:Returned by the Search API when an invalid format is specified in the request.
30
+
31
+ Returned by the Streaming API when one or more of the parameters are not suitable for the resource. The track parameter, for example, would throw this error if:
32
+
33
+ The track keyword is too long or too short.
34
+
35
+ The bounding box specified is invalid.
36
+
37
+ No predicates defined for filtered resource, for example, neither track nor follow parameter defined.
38
+
39
+ Follow userid cannot be read.
40
+
41
+ No filter parameters found. Expect at least one parameter: follow track locations