gnip_api 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/Gemfile.lock +6 -1
- data/README.md +43 -4
- data/gnip_api.gemspec +1 -0
- data/lib/gnip_api/adapter.rb +44 -22
- data/lib/gnip_api/adapters/base_adapter.rb +59 -0
- data/lib/gnip_api/adapters/httparty_adapter.rb +33 -1
- data/lib/gnip_api/apis/power_track/buffer.rb +4 -0
- data/lib/gnip_api/apis/power_track/rule.rb +31 -0
- data/lib/gnip_api/apis/power_track/rules.rb +69 -2
- data/lib/gnip_api/apis/power_track/stream.rb +41 -22
- data/lib/gnip_api/apis/search/count.rb +0 -0
- data/lib/gnip_api/apis/search/query.rb +36 -0
- data/lib/gnip_api/apis/search/result.rb +17 -0
- data/lib/gnip_api/apis/search/stream.rb +26 -0
- data/lib/gnip_api/configuration.rb +4 -1
- data/lib/gnip_api/endpoints.rb +15 -2
- data/lib/gnip_api/errors.rb +39 -0
- data/lib/gnip_api/gnip/activity.rb +72 -0
- data/lib/gnip_api/gnip/actor.rb +42 -11
- data/lib/gnip_api/gnip/gnip_data.rb +23 -0
- data/lib/gnip_api/gnip/message.rb +24 -51
- data/lib/gnip_api/gnip/system_message.rb +30 -0
- data/lib/gnip_api/gnip/url.rb +35 -0
- data/lib/gnip_api/limiters/rules.rb +56 -0
- data/lib/gnip_api/rate_limiter.rb +14 -0
- data/lib/gnip_api/request.rb +26 -0
- data/lib/gnip_api/response.rb +35 -0
- data/lib/gnip_api/version.rb +1 -1
- data/lib/gnip_api.rb +31 -0
- data/spec/fixtures/activities/full_activity.json +227 -0
- data/spec/fixtures/activities/nil_urls.json +1 -0
- data/spec/fixtures/activities/real_activity.json +127 -0
- data/spec/fixtures/activities/real_activity_long_rules.json +126 -0
- data/spec/fixtures/system_messages/error.json +1 -0
- data/spec/fixtures/system_messages/info.json +1 -0
- data/spec/fixtures/system_messages/warn.json +1 -0
- data/spec/fixtures/twitter_messages/quote.json +219 -0
- data/spec/fixtures/twitter_messages/retweet.json +418 -0
- data/spec/fixtures/twitter_messages/retweet_long_rules.json +417 -0
- data/spec/fixtures/twitter_messages/scrub_geo.json +11 -0
- data/spec/fixtures/twitter_messages/status_delete.json +11 -0
- data/spec/fixtures/twitter_messages/status_withheld.json +11 -0
- data/spec/fixtures/twitter_messages/tweet.json +233 -0
- data/spec/fixtures/twitter_messages/tweet_long_rules.json +232 -0
- data/spec/fixtures/twitter_messages/user_delete.json +7 -0
- data/spec/fixtures/twitter_messages/user_protect.json +7 -0
- data/spec/fixtures/twitter_messages/user_suspend.json +7 -0
- data/spec/fixtures/twitter_messages/user_undelete.json +7 -0
- data/spec/fixtures/twitter_messages/user_unprotect.json +7 -0
- data/spec/fixtures/twitter_messages/user_unsuspend.json +7 -0
- data/spec/fixtures/twitter_messages/user_withheld.json +10 -0
- data/spec/gnip_api/adapter_spec.rb +78 -0
- data/spec/gnip_api/adapters/base_adapter_spec.rb +0 -0
- data/spec/gnip_api/adapters/httparty_adapter_spec.rb +0 -0
- data/spec/gnip_api/apis/power_track/rule_spec.rb +62 -0
- data/spec/gnip_api/apis/power_track/rules_spec.rb +70 -0
- data/spec/gnip_api/apis/power_track/stream_spec.rb +50 -0
- data/spec/gnip_api/gnip/activity_spec.rb +123 -0
- data/spec/gnip_api/gnip/gnip_data_spec.rb +108 -0
- data/spec/gnip_api/gnip/message_spec.rb +48 -0
- data/spec/gnip_api/limiters/rules_spec.rb +74 -0
- data/spec/gnip_api/request_spec.rb +33 -0
- data/spec/gnip_api/response_spec.rb +32 -0
- data/spec/lib/test_adapter.rb +16 -0
- data/spec/spec_helper.rb +8 -0
- metadata +103 -2
@@ -0,0 +1,227 @@
|
|
1
|
+
{
|
2
|
+
"id": "tag:search.twitter.com,2005:593895901623496704",
|
3
|
+
"objectType": "activity",
|
4
|
+
"actor": {
|
5
|
+
"objectType": "person",
|
6
|
+
"id": "id:twitter.com:2993982541",
|
7
|
+
"link": "http://www.twitter.com/jondee_test",
|
8
|
+
"displayName": "Test Demo",
|
9
|
+
"postedTime": "2015-01-24T00:12:53.000Z",
|
10
|
+
"image": "https://pbs.twimg.com/profile_images/593893018911907840/YM9oLru3_normal.png",
|
11
|
+
"summary": "this is a test account.",
|
12
|
+
"links": [
|
13
|
+
{
|
14
|
+
"href": null,
|
15
|
+
"rel": "me"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"friendsCount": 43,
|
19
|
+
"followersCount": 2,
|
20
|
+
"listedCount": 0,
|
21
|
+
"statusesCount": 30,
|
22
|
+
"twitterTimeZone": "Mountain Time (US & Canada)",
|
23
|
+
"verified": false,
|
24
|
+
"utcOffset": "-21600",
|
25
|
+
"preferredUsername": "jondee_test",
|
26
|
+
"languages": [
|
27
|
+
"en"
|
28
|
+
],
|
29
|
+
"location": {
|
30
|
+
"objectType": "place",
|
31
|
+
"displayName": "Denver, CO"
|
32
|
+
},
|
33
|
+
"favoritesCount": 0
|
34
|
+
},
|
35
|
+
"verb": "post",
|
36
|
+
"postedTime": "2015-04-30T21:53:11.000Z",
|
37
|
+
"generator": {
|
38
|
+
"displayName": "Twitter Web Client",
|
39
|
+
"link": "http://twitter.com"
|
40
|
+
},
|
41
|
+
"provider": {
|
42
|
+
"objectType": "service",
|
43
|
+
"displayName": "Twitter",
|
44
|
+
"link": "http://www.twitter.com"
|
45
|
+
},
|
46
|
+
"link": "http://twitter.com/jondee_test/statuses/593895901623496704",
|
47
|
+
"body": "This is a #test tweet @LoveforTestingT with an image. http://t.co/ZvgHovKZq4",
|
48
|
+
"object": {
|
49
|
+
"objectType": "note",
|
50
|
+
"id": "object:search.twitter.com,2005:593895901623496704",
|
51
|
+
"summary": "This is a #test tweet @LoveforTestingT with an image. http://t.co/ZvgHovKZq4",
|
52
|
+
"link": "http://twitter.com/jondee_test/statuses/593895901623496704",
|
53
|
+
"postedTime": "2015-04-30T21:53:11.000Z"
|
54
|
+
},
|
55
|
+
"favoritesCount": 0,
|
56
|
+
"location": {
|
57
|
+
"objectType": "place",
|
58
|
+
"displayName": "Boulder, CO",
|
59
|
+
"name": "Boulder",
|
60
|
+
"country_code": "United States",
|
61
|
+
"twitter_country_code": "US",
|
62
|
+
"link": "https://api.twitter.com/1.1/geo/id/fd70c22040963ac7.json",
|
63
|
+
"geo": {
|
64
|
+
"type": "Polygon",
|
65
|
+
"coordinates": [
|
66
|
+
[
|
67
|
+
[
|
68
|
+
-105.3017759,
|
69
|
+
39.953552
|
70
|
+
],
|
71
|
+
[
|
72
|
+
-105.3017759,
|
73
|
+
40.094411
|
74
|
+
],
|
75
|
+
[
|
76
|
+
-105.183597,
|
77
|
+
40.094411
|
78
|
+
],
|
79
|
+
[
|
80
|
+
-105.183597,
|
81
|
+
39.953552
|
82
|
+
]
|
83
|
+
]
|
84
|
+
]
|
85
|
+
},
|
86
|
+
"twitter_place_type": "city"
|
87
|
+
},
|
88
|
+
"twitter_entities": {
|
89
|
+
"hashtags": [
|
90
|
+
{
|
91
|
+
"text": "test",
|
92
|
+
"indices": [
|
93
|
+
10,
|
94
|
+
15
|
95
|
+
]
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"trends": [],
|
99
|
+
"urls": [],
|
100
|
+
"user_mentions": [
|
101
|
+
{
|
102
|
+
"screen_name": "LoveforTestingT",
|
103
|
+
"name": "Leah ",
|
104
|
+
"id": 2432909010,
|
105
|
+
"id_str": "2432909010",
|
106
|
+
"indices": [
|
107
|
+
22,
|
108
|
+
38
|
109
|
+
]
|
110
|
+
}
|
111
|
+
],
|
112
|
+
"symbols": [],
|
113
|
+
"media": [
|
114
|
+
{
|
115
|
+
"id": 593895901145346000,
|
116
|
+
"id_str": "593895901145346048",
|
117
|
+
"indices": [
|
118
|
+
54,
|
119
|
+
76
|
120
|
+
],
|
121
|
+
"media_url": "http://pbs.twimg.com/media/CD3xLO1UMAAvBgO.png",
|
122
|
+
"media_url_https": "https://pbs.twimg.com/media/CD3xLO1UMAAvBgO.png",
|
123
|
+
"url": "http://t.co/ZvgHovKZq4",
|
124
|
+
"display_url": "pic.twitter.com/ZvgHovKZq4",
|
125
|
+
"expanded_url": "http://twitter.com/johnd_test/status/593895901623496704/photo/1",
|
126
|
+
"type": "photo",
|
127
|
+
"sizes": {
|
128
|
+
"small": {
|
129
|
+
"w": 340,
|
130
|
+
"h": 340,
|
131
|
+
"resize": "fit"
|
132
|
+
},
|
133
|
+
"thumb": {
|
134
|
+
"w": 150,
|
135
|
+
"h": 150,
|
136
|
+
"resize": "crop"
|
137
|
+
},
|
138
|
+
"large": {
|
139
|
+
"w": 512,
|
140
|
+
"h": 512,
|
141
|
+
"resize": "fit"
|
142
|
+
},
|
143
|
+
"medium": {
|
144
|
+
"w": 512,
|
145
|
+
"h": 512,
|
146
|
+
"resize": "fit"
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
]
|
151
|
+
},
|
152
|
+
"twitter_extended_entities": {
|
153
|
+
"media": [
|
154
|
+
{
|
155
|
+
"id": 593895901145346000,
|
156
|
+
"id_str": "593895901145346048",
|
157
|
+
"indices": [
|
158
|
+
54,
|
159
|
+
76
|
160
|
+
],
|
161
|
+
"media_url": "http://pbs.twimg.com/media/CD3xLO1UMAAvBgO.png",
|
162
|
+
"media_url_https": "https://pbs.twimg.com/media/CD3xLO1UMAAvBgO.png",
|
163
|
+
"url": "http://t.co/ZvgHovKZq4",
|
164
|
+
"display_url": "pic.twitter.com/ZvgHovKZq4",
|
165
|
+
"expanded_url": "http://twitter.com/johnd_test/status/593895901623496704/photo/1",
|
166
|
+
"type": "photo",
|
167
|
+
"sizes": {
|
168
|
+
"small": {
|
169
|
+
"w": 340,
|
170
|
+
"h": 340,
|
171
|
+
"resize": "fit"
|
172
|
+
},
|
173
|
+
"thumb": {
|
174
|
+
"w": 150,
|
175
|
+
"h": 150,
|
176
|
+
"resize": "crop"
|
177
|
+
},
|
178
|
+
"large": {
|
179
|
+
"w": 512,
|
180
|
+
"h": 512,
|
181
|
+
"resize": "fit"
|
182
|
+
},
|
183
|
+
"medium": {
|
184
|
+
"w": 512,
|
185
|
+
"h": 512,
|
186
|
+
"resize": "fit"
|
187
|
+
}
|
188
|
+
}
|
189
|
+
}
|
190
|
+
]
|
191
|
+
},
|
192
|
+
"twitter_filter_level": "low",
|
193
|
+
"twitter_lang": "en",
|
194
|
+
"retweetCount": 0,
|
195
|
+
"gnip": {
|
196
|
+
"urls": [
|
197
|
+
{
|
198
|
+
"url": "http://t.co/ZvgHovKZq4",
|
199
|
+
"expanded_url": "http://twitter.com/johnd_test/status/593895901623496704/photo/1",
|
200
|
+
"expanded_status": 200
|
201
|
+
}
|
202
|
+
],
|
203
|
+
"language": {
|
204
|
+
"value": "en"
|
205
|
+
},
|
206
|
+
"profileLocations": [
|
207
|
+
{
|
208
|
+
"objectType": "place",
|
209
|
+
"geo": {
|
210
|
+
"type": "point",
|
211
|
+
"coordinates": [
|
212
|
+
-104.9847,
|
213
|
+
39.73915
|
214
|
+
]
|
215
|
+
},
|
216
|
+
"address": {
|
217
|
+
"country": "United States",
|
218
|
+
"countryCode": "US",
|
219
|
+
"locality": "Denver",
|
220
|
+
"region": "Colorado",
|
221
|
+
"subRegion": "Denver County"
|
222
|
+
},
|
223
|
+
"displayName": "Denver, Colorado, United States"
|
224
|
+
}
|
225
|
+
]
|
226
|
+
}
|
227
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"id":"tag:search.twitter.com,2005:753160369128878081","objectType":"activity","actor":{"objectType":"person","id":"id:twitter.com:23954895","link":"http://www.twitter.com/jasonhartsoe","displayName":"Jason Hartsoe","postedTime":"2009-03-12T14:19:10.000Z","image":"https://pbs.twimg.com/profile_images/464699985032773632/Ijsr_hOo_normal.jpeg","summary":"Founder and CEO of @QRlitx. Web and Mobile Application Developer. QR Code expert. Designer. UFO Reverse Engineer. Photographer. Cinematographer. A Father.","links":[{"href":null,"rel":"me"}],"friendsCount":74,"followersCount":1710,"listedCount":1029,"statusesCount":393952,"twitterTimeZone":"Eastern Time (US & Canada)","verified":false,"utcOffset":"-14400","preferredUsername":"jasonhartsoe","languages":["en"],"location":{"objectType":"place","displayName":"Hickory, NC USA"},"favoritesCount":0},"verb":"post","postedTime":"2016-07-13T09:33:19.000Z","generator":{"displayName":"dlvr.it","link":"http://dlvr.it"},"provider":{"objectType":"service","displayName":"Twitter","link":"http://www.twitter.com"},"link":"http://twitter.com/jasonhartsoe/statuses/753160369128878081","body":"You’ll soon be able to share Google Play apps, music and movies with up to 6 people https://t.co/hxJhPmUfqR #tech #technology","object":{"objectType":"note","id":"object:search.twitter.com,2005:753160369128878081","summary":"You’ll soon be able to share Google Play apps, music and movies with up to 6 people https://t.co/hxJhPmUfqR #tech #technology","link":"http://twitter.com/jasonhartsoe/statuses/753160369128878081","postedTime":"2016-07-13T09:33:19.000Z"},"favoritesCount":0,"twitter_entities":{"hashtags":[{"text":"tech","indices":[109,114]},{"text":"technology","indices":[115,126]}],"urls":[{"url":"https://t.co/hxJhPmUfqR","expanded_url":"http://sociably.me/LnVMc0","display_url":"sociably.me/LnVMc0","indices":[84,107]}],"user_mentions":[],"symbols":[]},"twitter_filter_level":"low","twitter_lang":"en","retweetCount":0,"gnip":{"matching_rules":[{"tag":"24289"},{"tag":"24287"}],"urls":[{}],"language":{"value":"en"}}}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
{
|
2
|
+
"id": "tag:search.twitter.com,2005:613738106341060608",
|
3
|
+
"objectType": "activity",
|
4
|
+
"actor": {
|
5
|
+
"objectType": "person",
|
6
|
+
"id": "id:twitter.com:306970953",
|
7
|
+
"link": "http://www.twitter.com/ETPJ",
|
8
|
+
"displayName": "Pump Jacks Baseball",
|
9
|
+
"postedTime": "2011-05-28T19:38:04.000Z",
|
10
|
+
"image": "https://pbs.twimg.com/profile_images/604099896933621760/SM-Al4h5_normal.jpg",
|
11
|
+
"summary": "The best baseball in the TCL, the best entertainment in East Texas. 2012 TCL champions, 2013 TCL All-Star hosts. #ETPJ #GETJACKED",
|
12
|
+
"links": [
|
13
|
+
{
|
14
|
+
"href": "http://www.pumpjacksbaseball.com",
|
15
|
+
"rel": "me"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"friendsCount": 265,
|
19
|
+
"followersCount": 927,
|
20
|
+
"listedCount": 20,
|
21
|
+
"statusesCount": 5133,
|
22
|
+
"twitterTimeZone": "Central Time (US & Canada)",
|
23
|
+
"verified": false,
|
24
|
+
"utcOffset": "-18000",
|
25
|
+
"preferredUsername": "ETPJ",
|
26
|
+
"languages": [
|
27
|
+
"en"
|
28
|
+
],
|
29
|
+
"location": {
|
30
|
+
"objectType": "place",
|
31
|
+
"displayName": "Tyler, TX"
|
32
|
+
},
|
33
|
+
"favoritesCount": 252
|
34
|
+
},
|
35
|
+
"verb": "post",
|
36
|
+
"postedTime": "2015-06-24T15:59:01.000Z",
|
37
|
+
"generator": {
|
38
|
+
"displayName": "Twitter Web Client",
|
39
|
+
"link": "http://twitter.com"
|
40
|
+
},
|
41
|
+
"provider": {
|
42
|
+
"objectType": "service",
|
43
|
+
"displayName": "Twitter",
|
44
|
+
"link": "http://www.twitter.com"
|
45
|
+
},
|
46
|
+
"link": "http://twitter.com/ETPJ/statuses/613738106341060608",
|
47
|
+
"body": "RECAP: Interviews w/ Perez and guest reporter @BGrudzz talks w/ #NikoSuave!\n\nRead: http://t.co/48HmoDFi9A\nWatch: http://t.co/SJrDDwoBEj",
|
48
|
+
"object": {
|
49
|
+
"objectType": "note",
|
50
|
+
"id": "object:search.twitter.com,2005:613738106341060608",
|
51
|
+
"summary": "RECAP: Interviews w/ Perez and guest reporter @BGrudzz talks w/ #NikoSuave!\n\nRead: http://t.co/48HmoDFi9A\nWatch: http://t.co/SJrDDwoBEj",
|
52
|
+
"link": "http://twitter.com/ETPJ/statuses/613738106341060608",
|
53
|
+
"postedTime": "2015-06-24T15:59:01.000Z"
|
54
|
+
},
|
55
|
+
"favoritesCount": 0,
|
56
|
+
"twitter_entities": {
|
57
|
+
"hashtags": [
|
58
|
+
{
|
59
|
+
"text": "NikoSuave",
|
60
|
+
"indices": [
|
61
|
+
64,
|
62
|
+
74
|
63
|
+
]
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"trends": [],
|
67
|
+
"urls": [
|
68
|
+
{
|
69
|
+
"url": "http://t.co/48HmoDFi9A",
|
70
|
+
"expanded_url": "http://bit.ly/1Rwrp4A",
|
71
|
+
"display_url": "bit.ly/1Rwrp4A",
|
72
|
+
"indices": [
|
73
|
+
83,
|
74
|
+
105
|
75
|
+
]
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"url": "http://t.co/SJrDDwoBEj",
|
79
|
+
"expanded_url": "http://www.youtube.com/watch?v=gsJECuIME8A",
|
80
|
+
"display_url": "youtube.com/watch?v=gsJECu…",
|
81
|
+
"indices": [
|
82
|
+
113,
|
83
|
+
135
|
84
|
+
]
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"user_mentions": [
|
88
|
+
{
|
89
|
+
"screen_name": "BGrudzz",
|
90
|
+
"name": "Brandon Grudzielanek",
|
91
|
+
"id": 330149349,
|
92
|
+
"id_str": "330149349",
|
93
|
+
"indices": [
|
94
|
+
46,
|
95
|
+
54
|
96
|
+
]
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"symbols": []
|
100
|
+
},
|
101
|
+
"twitter_filter_level": "low",
|
102
|
+
"twitter_lang": "en",
|
103
|
+
"retweetCount": 0,
|
104
|
+
"gnip": {
|
105
|
+
"matching_rules": [
|
106
|
+
{
|
107
|
+
"value": "(\"@GooglePlay\" OR \"@YouTube\" OR \"Google Music\" OR \"YouTube\")(\"watching\" OR \"watched\" OR saw it on OR heard OR look at OR listen to OR heard OR read OR got it from OR play OR recording OR DVR OR going to see OR just saw OR checking)-\"itunes store\" -store -#apps -#download -#free -#games -#giveaway -#iphone -#iphonegames -#ipad -contest -win -\"deals\" -\"#deals\" -offers -#offers -rules lang:en followers_count:300 -url_contains:buy -is:retweet -bio_contains:followback -url_contains:itunes.apple.com",
|
108
|
+
"tag": "something"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"urls": [
|
112
|
+
{
|
113
|
+
"url": "http://t.co/SJrDDwoBEj",
|
114
|
+
"expanded_url": "https://www.youtube.com/watch?v=gsJECuIME8A",
|
115
|
+
"expanded_status": 403
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"url": "http://t.co/48HmoDFi9A",
|
119
|
+
"expanded_url": "http://pumpjacksbaseball.com/team/news/?article_id=709",
|
120
|
+
"expanded_status": 200
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"language": {
|
124
|
+
"value": "en"
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
@@ -0,0 +1,126 @@
|
|
1
|
+
{
|
2
|
+
"id": "tag:search.twitter.com,2005:613738106341060608",
|
3
|
+
"objectType": "activity",
|
4
|
+
"actor": {
|
5
|
+
"objectType": "person",
|
6
|
+
"id": "id:twitter.com:306970953",
|
7
|
+
"link": "http://www.twitter.com/ETPJ",
|
8
|
+
"displayName": "Pump Jacks Baseball",
|
9
|
+
"postedTime": "2011-05-28T19:38:04.000Z",
|
10
|
+
"image": "https://pbs.twimg.com/profile_images/604099896933621760/SM-Al4h5_normal.jpg",
|
11
|
+
"summary": "The best baseball in the TCL, the best entertainment in East Texas. 2012 TCL champions, 2013 TCL All-Star hosts. #ETPJ #GETJACKED",
|
12
|
+
"links": [
|
13
|
+
{
|
14
|
+
"href": "http://www.pumpjacksbaseball.com",
|
15
|
+
"rel": "me"
|
16
|
+
}
|
17
|
+
],
|
18
|
+
"friendsCount": 265,
|
19
|
+
"followersCount": 927,
|
20
|
+
"listedCount": 20,
|
21
|
+
"statusesCount": 5133,
|
22
|
+
"twitterTimeZone": "Central Time (US & Canada)",
|
23
|
+
"verified": false,
|
24
|
+
"utcOffset": "-18000",
|
25
|
+
"preferredUsername": "ETPJ",
|
26
|
+
"languages": [
|
27
|
+
"en"
|
28
|
+
],
|
29
|
+
"location": {
|
30
|
+
"objectType": "place",
|
31
|
+
"displayName": "Tyler, TX"
|
32
|
+
},
|
33
|
+
"favoritesCount": 252
|
34
|
+
},
|
35
|
+
"verb": "post",
|
36
|
+
"postedTime": "2015-06-24T15:59:01.000Z",
|
37
|
+
"generator": {
|
38
|
+
"displayName": "Twitter Web Client",
|
39
|
+
"link": "http://twitter.com"
|
40
|
+
},
|
41
|
+
"provider": {
|
42
|
+
"objectType": "service",
|
43
|
+
"displayName": "Twitter",
|
44
|
+
"link": "http://www.twitter.com"
|
45
|
+
},
|
46
|
+
"link": "http://twitter.com/ETPJ/statuses/613738106341060608",
|
47
|
+
"body": "RECAP: Interviews w/ Perez and guest reporter @BGrudzz talks w/ #NikoSuave!\n\nRead: http://t.co/48HmoDFi9A\nWatch: http://t.co/SJrDDwoBEj",
|
48
|
+
"object": {
|
49
|
+
"objectType": "note",
|
50
|
+
"id": "object:search.twitter.com,2005:613738106341060608",
|
51
|
+
"summary": "RECAP: Interviews w/ Perez and guest reporter @BGrudzz talks w/ #NikoSuave!\n\nRead: http://t.co/48HmoDFi9A\nWatch: http://t.co/SJrDDwoBEj",
|
52
|
+
"link": "http://twitter.com/ETPJ/statuses/613738106341060608",
|
53
|
+
"postedTime": "2015-06-24T15:59:01.000Z"
|
54
|
+
},
|
55
|
+
"favoritesCount": 0,
|
56
|
+
"twitter_entities": {
|
57
|
+
"hashtags": [
|
58
|
+
{
|
59
|
+
"text": "NikoSuave",
|
60
|
+
"indices": [
|
61
|
+
64,
|
62
|
+
74
|
63
|
+
]
|
64
|
+
}
|
65
|
+
],
|
66
|
+
"trends": [],
|
67
|
+
"urls": [
|
68
|
+
{
|
69
|
+
"url": "http://t.co/48HmoDFi9A",
|
70
|
+
"expanded_url": "http://bit.ly/1Rwrp4A",
|
71
|
+
"display_url": "bit.ly/1Rwrp4A",
|
72
|
+
"indices": [
|
73
|
+
83,
|
74
|
+
105
|
75
|
+
]
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"url": "http://t.co/SJrDDwoBEj",
|
79
|
+
"expanded_url": "http://www.youtube.com/watch?v=gsJECuIME8A",
|
80
|
+
"display_url": "youtube.com/watch?v=gsJECu…",
|
81
|
+
"indices": [
|
82
|
+
113,
|
83
|
+
135
|
84
|
+
]
|
85
|
+
}
|
86
|
+
],
|
87
|
+
"user_mentions": [
|
88
|
+
{
|
89
|
+
"screen_name": "BGrudzz",
|
90
|
+
"name": "Brandon Grudzielanek",
|
91
|
+
"id": 330149349,
|
92
|
+
"id_str": "330149349",
|
93
|
+
"indices": [
|
94
|
+
46,
|
95
|
+
54
|
96
|
+
]
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"symbols": []
|
100
|
+
},
|
101
|
+
"twitter_filter_level": "low",
|
102
|
+
"twitter_lang": "en",
|
103
|
+
"retweetCount": 0,
|
104
|
+
"gnip": {
|
105
|
+
"matching_rules": [
|
106
|
+
{
|
107
|
+
"tag": "something"
|
108
|
+
}
|
109
|
+
],
|
110
|
+
"urls": [
|
111
|
+
{
|
112
|
+
"url": "http://t.co/SJrDDwoBEj",
|
113
|
+
"expanded_url": "https://www.youtube.com/watch?v=gsJECuIME8A",
|
114
|
+
"expanded_status": 403
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"url": "http://t.co/48HmoDFi9A",
|
118
|
+
"expanded_url": "http://pumpjacksbaseball.com/team/news/?article_id=709",
|
119
|
+
"expanded_status": 200
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"language": {
|
123
|
+
"value": "en"
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"error":{"message":"Forced Disconnect: Too many connections. (Allowed Connections = 2)","sent":"2013-01-11T18:12:52+00:00"}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"info":{"message":"Some info from Gnip.\n\n","sent":"2013-01-11T17:04:13+00:00"}}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"warn":{"message":"Some warning from Gnip.\n\n","sent":"2013-01-11T17:04:13+00:00"}}
|