ayadn 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +6 -0
- data/lib/ayadn/action.rb +1 -1
- data/lib/ayadn/endpoints.rb +1 -1
- data/lib/ayadn/set.rb +14 -17
- data/lib/ayadn/version.rb +1 -1
- data/lib/ayadn/view.rb +4 -13
- data/spec/mock/channels.json +1 -0
- data/spec/mock/files.json +242 -0
- data/spec/mock/int.json +695 -0
- data/spec/mock/nicerank.json +1 -0
- data/spec/unit/annotations_spec.rb +139 -0
- data/spec/unit/blacklistworkers_spec.rb +28 -23
- data/spec/unit/databases_spec.rb +7 -0
- data/spec/unit/endpoints_spec.rb +55 -5
- data/spec/unit/nicerank_spec.rb +120 -0
- data/spec/unit/post_spec.rb +9 -18
- data/spec/unit/set_spec.rb +240 -69
- data/spec/unit/view_spec.rb +107 -5
- data/spec/unit/workers_spec.rb +92 -46
- metadata +14 -2
data/spec/mock/int.json
ADDED
@@ -0,0 +1,695 @@
|
|
1
|
+
{
|
2
|
+
"meta": {
|
3
|
+
"min_id": "6794223",
|
4
|
+
"code": 200,
|
5
|
+
"max_id": "9164996",
|
6
|
+
"more": false
|
7
|
+
},
|
8
|
+
"data": [
|
9
|
+
{
|
10
|
+
"action": "follow",
|
11
|
+
"event_date": "2014-07-16T16:31:15Z",
|
12
|
+
"objects": [
|
13
|
+
{
|
14
|
+
"username": "aya_tests",
|
15
|
+
"avatar_image": {
|
16
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/mIRingbIUWKkeHVrF_CGfcBH2P17InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMWMvNDkvOTAvMWM0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
17
|
+
"width": 200,
|
18
|
+
"is_default": false,
|
19
|
+
"height": 200
|
20
|
+
},
|
21
|
+
"description": {
|
22
|
+
"text": "This is a test account. Nothing to see here, move along.",
|
23
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">This is a test account. Nothing to see here, move along.</span>",
|
24
|
+
"entities": {
|
25
|
+
"mentions": [
|
26
|
+
|
27
|
+
],
|
28
|
+
"hashtags": [
|
29
|
+
|
30
|
+
],
|
31
|
+
"links": [
|
32
|
+
|
33
|
+
]
|
34
|
+
}
|
35
|
+
},
|
36
|
+
"locale": "fr_FR",
|
37
|
+
"created_at": "2013-11-02T17:06:51Z",
|
38
|
+
"canonical_url": "https://alpha.app.net/aya_tests",
|
39
|
+
"cover_image": {
|
40
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/nbzo6W-D5fi8vX788PISqRAuBEF7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMmIvNDkvOTAvMmI0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
41
|
+
"width": 1198,
|
42
|
+
"is_default": false,
|
43
|
+
"height": 382
|
44
|
+
},
|
45
|
+
"timezone": "Europe/Berlin",
|
46
|
+
"counts": {
|
47
|
+
"following": 12,
|
48
|
+
"posts": 1217,
|
49
|
+
"followers": 3,
|
50
|
+
"stars": 6
|
51
|
+
},
|
52
|
+
"type": "human",
|
53
|
+
"id": "185581",
|
54
|
+
"name": "Big Jim"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"pagination_id": "9164996",
|
58
|
+
"users": [
|
59
|
+
{
|
60
|
+
"username": "ayadn",
|
61
|
+
"avatar_image": {
|
62
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/Ok4AbTMhpLJw_cr76-bEF9UsnaZ7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvZTkvMDYvODAvZTkwNjgwMDAwMDAwMDAwMC5wbmciLCJvIjoiIn0",
|
63
|
+
"width": 256,
|
64
|
+
"is_default": false,
|
65
|
+
"height": 256
|
66
|
+
},
|
67
|
+
"description": {
|
68
|
+
"text": "Ayadn is an App.net command-line client, written in Ruby.\r\n#Ayadn is open source (MIT license).\r\nIt's a Rubygem: `gem install ayadn`\r\nRepo: https://github.com/ericdke/na\r\nDocs: http://ayadn-app.net/doc\r\nMade by @ericd",
|
69
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">Ayadn is an <a href=\"http://App.net\">App.net</a> command-line client, written in Ruby. <br><span data-hashtag-name=\"ayadn\" itemprop=\"hashtag\">#Ayadn</span> is open source (MIT license). <br>It's a Rubygem: `gem install ayadn` <br>Repo: <a href=\"https://github.com/ericdke/na\">https://github.com/ericdke/na</a> <br>Docs: <a href=\"http://ayadn-app.net/doc\">http://ayadn-app.net/doc</a> <br>Made by <span data-mention-id=\"69904\" data-mention-name=\"ericd\" itemprop=\"mention\">@ericd</span></span>",
|
70
|
+
"entities": {
|
71
|
+
"mentions": [
|
72
|
+
{
|
73
|
+
"pos": 211,
|
74
|
+
"id": "69904",
|
75
|
+
"len": 6,
|
76
|
+
"name": "ericd"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"hashtags": [
|
80
|
+
{
|
81
|
+
"name": "ayadn",
|
82
|
+
"len": 6,
|
83
|
+
"pos": 59
|
84
|
+
}
|
85
|
+
],
|
86
|
+
"links": [
|
87
|
+
{
|
88
|
+
"url": "http://App.net",
|
89
|
+
"text": "App.net",
|
90
|
+
"pos": 12,
|
91
|
+
"len": 7
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"url": "https://github.com/ericdke/na",
|
95
|
+
"text": "https://github.com/ericdke/na",
|
96
|
+
"pos": 140,
|
97
|
+
"len": 29
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"url": "http://ayadn-app.net/doc",
|
101
|
+
"text": "http://ayadn-app.net/doc",
|
102
|
+
"pos": 177,
|
103
|
+
"len": 24
|
104
|
+
}
|
105
|
+
]
|
106
|
+
}
|
107
|
+
},
|
108
|
+
"you_muted": false,
|
109
|
+
"follows_you": true,
|
110
|
+
"created_at": "2013-11-10T01:06:19Z",
|
111
|
+
"you_can_follow": true,
|
112
|
+
"you_can_subscribe": true,
|
113
|
+
"cover_image": {
|
114
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/yxAa4z-mYw5KRi0lfjoZdpyxMkV7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvM2EvMDYvODAvM2EwNjgwMDAwMDAwMDAwMC5wbmciLCJvIjoiIn0",
|
115
|
+
"width": 976,
|
116
|
+
"is_default": false,
|
117
|
+
"height": 400
|
118
|
+
},
|
119
|
+
"canonical_url": "https://alpha.app.net/ayadn",
|
120
|
+
"locale": "fr_FR",
|
121
|
+
"is_following": true,
|
122
|
+
"is_follower": true,
|
123
|
+
"you_follow": true,
|
124
|
+
"is_muted": false,
|
125
|
+
"timezone": "Europe/Berlin",
|
126
|
+
"counts": {
|
127
|
+
"following": 39,
|
128
|
+
"posts": 328,
|
129
|
+
"followers": 40,
|
130
|
+
"stars": 27
|
131
|
+
},
|
132
|
+
"you_blocked": false,
|
133
|
+
"type": "human",
|
134
|
+
"id": "188367",
|
135
|
+
"name": "Ayadn"
|
136
|
+
}
|
137
|
+
]
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"action": "reply",
|
141
|
+
"event_date": "2013-12-07T15:18:27Z",
|
142
|
+
"objects": [
|
143
|
+
{
|
144
|
+
"created_at": "2013-12-07T15:14:13Z",
|
145
|
+
"num_stars": 0,
|
146
|
+
"num_replies": 2,
|
147
|
+
"source": {
|
148
|
+
"link": "http://www.ayadn-app.net",
|
149
|
+
"name": "Ayadn",
|
150
|
+
"client_id": "hFsCGArAjgJkYBHTHbZnUvzTmL4vaLHL"
|
151
|
+
},
|
152
|
+
"text": "Debugging while documenting...",
|
153
|
+
"num_reposts": 0,
|
154
|
+
"id": "16781564",
|
155
|
+
"entities": {
|
156
|
+
"mentions": [
|
157
|
+
|
158
|
+
],
|
159
|
+
"hashtags": [
|
160
|
+
|
161
|
+
],
|
162
|
+
"links": [
|
163
|
+
|
164
|
+
]
|
165
|
+
},
|
166
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">Debugging while documenting...</span>",
|
167
|
+
"machine_only": false,
|
168
|
+
"user": {
|
169
|
+
"username": "aya_tests",
|
170
|
+
"avatar_image": {
|
171
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/mIRingbIUWKkeHVrF_CGfcBH2P17InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMWMvNDkvOTAvMWM0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
172
|
+
"width": 200,
|
173
|
+
"is_default": false,
|
174
|
+
"height": 200
|
175
|
+
},
|
176
|
+
"description": {
|
177
|
+
"text": "This is a test account. Nothing to see here, move along.",
|
178
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">This is a test account. Nothing to see here, move along.</span>",
|
179
|
+
"entities": {
|
180
|
+
"mentions": [
|
181
|
+
|
182
|
+
],
|
183
|
+
"hashtags": [
|
184
|
+
|
185
|
+
],
|
186
|
+
"links": [
|
187
|
+
|
188
|
+
]
|
189
|
+
}
|
190
|
+
},
|
191
|
+
"locale": "fr_FR",
|
192
|
+
"created_at": "2013-11-02T17:06:51Z",
|
193
|
+
"canonical_url": "https://alpha.app.net/aya_tests",
|
194
|
+
"cover_image": {
|
195
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/nbzo6W-D5fi8vX788PISqRAuBEF7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMmIvNDkvOTAvMmI0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
196
|
+
"width": 1198,
|
197
|
+
"is_default": false,
|
198
|
+
"height": 382
|
199
|
+
},
|
200
|
+
"timezone": "Europe/Berlin",
|
201
|
+
"counts": {
|
202
|
+
"following": 12,
|
203
|
+
"posts": 1217,
|
204
|
+
"followers": 3,
|
205
|
+
"stars": 6
|
206
|
+
},
|
207
|
+
"type": "human",
|
208
|
+
"id": "185581",
|
209
|
+
"name": "Big Jim"
|
210
|
+
},
|
211
|
+
"you_reposted": false,
|
212
|
+
"you_starred": false,
|
213
|
+
"thread_id": "16781564",
|
214
|
+
"canonical_url": "https://alpha.app.net/aya_tests/post/16781564"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
"pagination_id": "7226836",
|
218
|
+
"users": [
|
219
|
+
{
|
220
|
+
"username": "ayadn",
|
221
|
+
"avatar_image": {
|
222
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/Ok4AbTMhpLJw_cr76-bEF9UsnaZ7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvZTkvMDYvODAvZTkwNjgwMDAwMDAwMDAwMC5wbmciLCJvIjoiIn0",
|
223
|
+
"width": 256,
|
224
|
+
"is_default": false,
|
225
|
+
"height": 256
|
226
|
+
},
|
227
|
+
"description": {
|
228
|
+
"text": "Ayadn is an App.net command-line client, written in Ruby.\r\n#Ayadn is open source (MIT license).\r\nIt's a Rubygem: `gem install ayadn`\r\nRepo: https://github.com/ericdke/na\r\nDocs: http://ayadn-app.net/doc\r\nMade by @ericd",
|
229
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">Ayadn is an <a href=\"http://App.net\">App.net</a> command-line client, written in Ruby. <br><span data-hashtag-name=\"ayadn\" itemprop=\"hashtag\">#Ayadn</span> is open source (MIT license). <br>It's a Rubygem: `gem install ayadn` <br>Repo: <a href=\"https://github.com/ericdke/na\">https://github.com/ericdke/na</a> <br>Docs: <a href=\"http://ayadn-app.net/doc\">http://ayadn-app.net/doc</a> <br>Made by <span data-mention-id=\"69904\" data-mention-name=\"ericd\" itemprop=\"mention\">@ericd</span></span>",
|
230
|
+
"entities": {
|
231
|
+
"mentions": [
|
232
|
+
{
|
233
|
+
"pos": 211,
|
234
|
+
"id": "69904",
|
235
|
+
"len": 6,
|
236
|
+
"name": "ericd"
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"hashtags": [
|
240
|
+
{
|
241
|
+
"name": "ayadn",
|
242
|
+
"len": 6,
|
243
|
+
"pos": 59
|
244
|
+
}
|
245
|
+
],
|
246
|
+
"links": [
|
247
|
+
{
|
248
|
+
"url": "http://App.net",
|
249
|
+
"text": "App.net",
|
250
|
+
"pos": 12,
|
251
|
+
"len": 7
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"url": "https://github.com/ericdke/na",
|
255
|
+
"text": "https://github.com/ericdke/na",
|
256
|
+
"pos": 140,
|
257
|
+
"len": 29
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"url": "http://ayadn-app.net/doc",
|
261
|
+
"text": "http://ayadn-app.net/doc",
|
262
|
+
"pos": 177,
|
263
|
+
"len": 24
|
264
|
+
}
|
265
|
+
]
|
266
|
+
}
|
267
|
+
},
|
268
|
+
"you_muted": false,
|
269
|
+
"follows_you": true,
|
270
|
+
"created_at": "2013-11-10T01:06:19Z",
|
271
|
+
"you_can_follow": true,
|
272
|
+
"you_can_subscribe": true,
|
273
|
+
"cover_image": {
|
274
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/yxAa4z-mYw5KRi0lfjoZdpyxMkV7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvM2EvMDYvODAvM2EwNjgwMDAwMDAwMDAwMC5wbmciLCJvIjoiIn0",
|
275
|
+
"width": 976,
|
276
|
+
"is_default": false,
|
277
|
+
"height": 400
|
278
|
+
},
|
279
|
+
"canonical_url": "https://alpha.app.net/ayadn",
|
280
|
+
"locale": "fr_FR",
|
281
|
+
"is_following": true,
|
282
|
+
"is_follower": true,
|
283
|
+
"you_follow": true,
|
284
|
+
"is_muted": false,
|
285
|
+
"timezone": "Europe/Berlin",
|
286
|
+
"counts": {
|
287
|
+
"following": 39,
|
288
|
+
"posts": 328,
|
289
|
+
"followers": 40,
|
290
|
+
"stars": 27
|
291
|
+
},
|
292
|
+
"you_blocked": false,
|
293
|
+
"type": "human",
|
294
|
+
"id": "188367",
|
295
|
+
"name": "Ayadn"
|
296
|
+
}
|
297
|
+
]
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"action": "follow",
|
301
|
+
"event_date": "2013-11-09T03:10:47Z",
|
302
|
+
"objects": [
|
303
|
+
{
|
304
|
+
"username": "aya_tests",
|
305
|
+
"avatar_image": {
|
306
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/mIRingbIUWKkeHVrF_CGfcBH2P17InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMWMvNDkvOTAvMWM0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
307
|
+
"width": 200,
|
308
|
+
"is_default": false,
|
309
|
+
"height": 200
|
310
|
+
},
|
311
|
+
"description": {
|
312
|
+
"text": "This is a test account. Nothing to see here, move along.",
|
313
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">This is a test account. Nothing to see here, move along.</span>",
|
314
|
+
"entities": {
|
315
|
+
"mentions": [
|
316
|
+
|
317
|
+
],
|
318
|
+
"hashtags": [
|
319
|
+
|
320
|
+
],
|
321
|
+
"links": [
|
322
|
+
|
323
|
+
]
|
324
|
+
}
|
325
|
+
},
|
326
|
+
"locale": "fr_FR",
|
327
|
+
"created_at": "2013-11-02T17:06:51Z",
|
328
|
+
"canonical_url": "https://alpha.app.net/aya_tests",
|
329
|
+
"cover_image": {
|
330
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/nbzo6W-D5fi8vX788PISqRAuBEF7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMmIvNDkvOTAvMmI0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
331
|
+
"width": 1198,
|
332
|
+
"is_default": false,
|
333
|
+
"height": 382
|
334
|
+
},
|
335
|
+
"timezone": "Europe/Berlin",
|
336
|
+
"counts": {
|
337
|
+
"following": 12,
|
338
|
+
"posts": 1217,
|
339
|
+
"followers": 3,
|
340
|
+
"stars": 6
|
341
|
+
},
|
342
|
+
"type": "human",
|
343
|
+
"id": "185581",
|
344
|
+
"name": "Big Jim"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"pagination_id": "6884186",
|
348
|
+
"users": [
|
349
|
+
{
|
350
|
+
"username": "ayaio",
|
351
|
+
"avatar_image": {
|
352
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/B2orINCfo5HP2QKYqHoxQyyCec97InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvNjEvY2YvNDAvNjFjZjQwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
353
|
+
"width": 360,
|
354
|
+
"is_default": false,
|
355
|
+
"height": 360
|
356
|
+
},
|
357
|
+
"description": {
|
358
|
+
"text": "I'm a bot. I repost articles from @ericd's blogs.\r\n\r\nhttp://aya.io\r\n\r\n#osx #tutorials #ramblings #poetry #videos #music #fun #video #metal #space #weird #wtf #vhs #vinyl #scifi #retro #photos #movies #art #tech #osx #apps #ios #adn #nerd",
|
359
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">I'm a bot. I repost articles from <span data-mention-id=\"69904\" data-mention-name=\"ericd\" itemprop=\"mention\">@ericd</span>'s blogs. <br> <br><a href=\"http://aya.io\">http://aya.io</a> <br> <br><span data-hashtag-name=\"osx\" itemprop=\"hashtag\">#osx</span> <span data-hashtag-name=\"tutorials\" itemprop=\"hashtag\">#tutorials</span> <span data-hashtag-name=\"ramblings\" itemprop=\"hashtag\">#ramblings</span> <span data-hashtag-name=\"poetry\" itemprop=\"hashtag\">#poetry</span> <span data-hashtag-name=\"videos\" itemprop=\"hashtag\">#videos</span> <span data-hashtag-name=\"music\" itemprop=\"hashtag\">#music</span> <span data-hashtag-name=\"fun\" itemprop=\"hashtag\">#fun</span> <span data-hashtag-name=\"video\" itemprop=\"hashtag\">#video</span> <span data-hashtag-name=\"metal\" itemprop=\"hashtag\">#metal</span> <span data-hashtag-name=\"space\" itemprop=\"hashtag\">#space</span> <span data-hashtag-name=\"weird\" itemprop=\"hashtag\">#weird</span> <span data-hashtag-name=\"wtf\" itemprop=\"hashtag\">#wtf</span> <span data-hashtag-name=\"vhs\" itemprop=\"hashtag\">#vhs</span> <span data-hashtag-name=\"vinyl\" itemprop=\"hashtag\">#vinyl</span> <span data-hashtag-name=\"scifi\" itemprop=\"hashtag\">#scifi</span> <span data-hashtag-name=\"retro\" itemprop=\"hashtag\">#retro</span> <span data-hashtag-name=\"photos\" itemprop=\"hashtag\">#photos</span> <span data-hashtag-name=\"movies\" itemprop=\"hashtag\">#movies</span> <span data-hashtag-name=\"art\" itemprop=\"hashtag\">#art</span> <span data-hashtag-name=\"tech\" itemprop=\"hashtag\">#tech</span> <span data-hashtag-name=\"osx\" itemprop=\"hashtag\">#osx</span> <span data-hashtag-name=\"apps\" itemprop=\"hashtag\">#apps</span> <span data-hashtag-name=\"ios\" itemprop=\"hashtag\">#ios</span> <span data-hashtag-name=\"adn\" itemprop=\"hashtag\">#adn</span> <span data-hashtag-name=\"nerd\" itemprop=\"hashtag\">#nerd</span></span>",
|
360
|
+
"entities": {
|
361
|
+
"mentions": [
|
362
|
+
{
|
363
|
+
"pos": 34,
|
364
|
+
"id": "69904",
|
365
|
+
"len": 6,
|
366
|
+
"name": "ericd"
|
367
|
+
}
|
368
|
+
],
|
369
|
+
"hashtags": [
|
370
|
+
{
|
371
|
+
"name": "osx",
|
372
|
+
"len": 4,
|
373
|
+
"pos": 70
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"name": "tutorials",
|
377
|
+
"len": 10,
|
378
|
+
"pos": 75
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"name": "ramblings",
|
382
|
+
"len": 10,
|
383
|
+
"pos": 86
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"name": "poetry",
|
387
|
+
"len": 7,
|
388
|
+
"pos": 97
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"name": "videos",
|
392
|
+
"len": 7,
|
393
|
+
"pos": 105
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"name": "music",
|
397
|
+
"len": 6,
|
398
|
+
"pos": 113
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"name": "fun",
|
402
|
+
"len": 4,
|
403
|
+
"pos": 120
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"name": "video",
|
407
|
+
"len": 6,
|
408
|
+
"pos": 125
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"name": "metal",
|
412
|
+
"len": 6,
|
413
|
+
"pos": 132
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"name": "space",
|
417
|
+
"len": 6,
|
418
|
+
"pos": 139
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"name": "weird",
|
422
|
+
"len": 6,
|
423
|
+
"pos": 146
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"name": "wtf",
|
427
|
+
"len": 4,
|
428
|
+
"pos": 153
|
429
|
+
},
|
430
|
+
{
|
431
|
+
"name": "vhs",
|
432
|
+
"len": 4,
|
433
|
+
"pos": 158
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"name": "vinyl",
|
437
|
+
"len": 6,
|
438
|
+
"pos": 163
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"name": "scifi",
|
442
|
+
"len": 6,
|
443
|
+
"pos": 170
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"name": "retro",
|
447
|
+
"len": 6,
|
448
|
+
"pos": 177
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"name": "photos",
|
452
|
+
"len": 7,
|
453
|
+
"pos": 184
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"name": "movies",
|
457
|
+
"len": 7,
|
458
|
+
"pos": 192
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"name": "art",
|
462
|
+
"len": 4,
|
463
|
+
"pos": 200
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"name": "tech",
|
467
|
+
"len": 5,
|
468
|
+
"pos": 205
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"name": "osx",
|
472
|
+
"len": 4,
|
473
|
+
"pos": 211
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"name": "apps",
|
477
|
+
"len": 5,
|
478
|
+
"pos": 216
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"name": "ios",
|
482
|
+
"len": 4,
|
483
|
+
"pos": 222
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"name": "adn",
|
487
|
+
"len": 4,
|
488
|
+
"pos": 227
|
489
|
+
},
|
490
|
+
{
|
491
|
+
"name": "nerd",
|
492
|
+
"len": 5,
|
493
|
+
"pos": 232
|
494
|
+
}
|
495
|
+
],
|
496
|
+
"links": [
|
497
|
+
{
|
498
|
+
"url": "http://aya.io",
|
499
|
+
"text": "http://aya.io",
|
500
|
+
"pos": 53,
|
501
|
+
"len": 13
|
502
|
+
}
|
503
|
+
]
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"you_muted": false,
|
507
|
+
"follows_you": true,
|
508
|
+
"created_at": "2013-07-19T14:48:39Z",
|
509
|
+
"you_can_follow": true,
|
510
|
+
"you_can_subscribe": true,
|
511
|
+
"cover_image": {
|
512
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/u6Ym-_505aos2MWCq6N-pf2Wt6t7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvNTYvNWIvNTAvNTY1YjUwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
513
|
+
"width": 3264,
|
514
|
+
"is_default": false,
|
515
|
+
"height": 1884
|
516
|
+
},
|
517
|
+
"canonical_url": "https://alpha.app.net/ayaio",
|
518
|
+
"locale": "fr_FR",
|
519
|
+
"is_following": true,
|
520
|
+
"is_follower": true,
|
521
|
+
"you_follow": true,
|
522
|
+
"is_muted": false,
|
523
|
+
"timezone": "Europe/Paris",
|
524
|
+
"counts": {
|
525
|
+
"following": 32,
|
526
|
+
"posts": 66,
|
527
|
+
"followers": 14,
|
528
|
+
"stars": 0
|
529
|
+
},
|
530
|
+
"you_blocked": false,
|
531
|
+
"type": "feed",
|
532
|
+
"id": "132997",
|
533
|
+
"name": "Aya"
|
534
|
+
}
|
535
|
+
]
|
536
|
+
},
|
537
|
+
{
|
538
|
+
"action": "follow",
|
539
|
+
"event_date": "2013-11-02T17:15:08Z",
|
540
|
+
"objects": [
|
541
|
+
{
|
542
|
+
"username": "aya_tests",
|
543
|
+
"avatar_image": {
|
544
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/mIRingbIUWKkeHVrF_CGfcBH2P17InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMWMvNDkvOTAvMWM0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
545
|
+
"width": 200,
|
546
|
+
"is_default": false,
|
547
|
+
"height": 200
|
548
|
+
},
|
549
|
+
"description": {
|
550
|
+
"text": "This is a test account. Nothing to see here, move along.",
|
551
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">This is a test account. Nothing to see here, move along.</span>",
|
552
|
+
"entities": {
|
553
|
+
"mentions": [
|
554
|
+
|
555
|
+
],
|
556
|
+
"hashtags": [
|
557
|
+
|
558
|
+
],
|
559
|
+
"links": [
|
560
|
+
|
561
|
+
]
|
562
|
+
}
|
563
|
+
},
|
564
|
+
"locale": "fr_FR",
|
565
|
+
"created_at": "2013-11-02T17:06:51Z",
|
566
|
+
"canonical_url": "https://alpha.app.net/aya_tests",
|
567
|
+
"cover_image": {
|
568
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/nbzo6W-D5fi8vX788PISqRAuBEF7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMmIvNDkvOTAvMmI0OTkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
569
|
+
"width": 1198,
|
570
|
+
"is_default": false,
|
571
|
+
"height": 382
|
572
|
+
},
|
573
|
+
"timezone": "Europe/Berlin",
|
574
|
+
"counts": {
|
575
|
+
"following": 12,
|
576
|
+
"posts": 1217,
|
577
|
+
"followers": 3,
|
578
|
+
"stars": 6
|
579
|
+
},
|
580
|
+
"type": "human",
|
581
|
+
"id": "185581",
|
582
|
+
"name": "Big Jim"
|
583
|
+
}
|
584
|
+
],
|
585
|
+
"pagination_id": "6794223",
|
586
|
+
"users": [
|
587
|
+
{
|
588
|
+
"you_muted": false,
|
589
|
+
"you_can_subscribe": true,
|
590
|
+
"is_following": true,
|
591
|
+
"is_follower": true,
|
592
|
+
"timezone": "Europe/Paris",
|
593
|
+
"you_follow": true,
|
594
|
+
"counts": {
|
595
|
+
"following": 277,
|
596
|
+
"posts": 5933,
|
597
|
+
"followers": 261,
|
598
|
+
"stars": 345
|
599
|
+
},
|
600
|
+
"canonical_url": "https://alpha.app.net/ericd",
|
601
|
+
"id": "69904",
|
602
|
+
"locale": "fr_FR",
|
603
|
+
"type": "human",
|
604
|
+
"username": "ericd",
|
605
|
+
"avatar_image": {
|
606
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/mVV5CTXu8ydA0Nb5a2X3-4YF7Xl7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvMTgvNGIvNzAvMTg0YjcwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
607
|
+
"width": 1079,
|
608
|
+
"is_default": false,
|
609
|
+
"height": 1079
|
610
|
+
},
|
611
|
+
"description": {
|
612
|
+
"text": "Sound engineer by day (rec, edit, mix), coder by night. \n\r\nBlogs: http://aya.io \r\nCode: http://github.com/ericdke\r\n@ayadn ADN command-line client. http://ayadn-app.net\r\n\r\n#devADN 🔨 #coffee #tea #space #art #stuff",
|
613
|
+
"html": "<span itemscope=\"https://app.net/schemas/Post\">Sound engineer by day (rec, edit, mix), coder by night. <br> <br>Blogs: <a href=\"http://aya.io\">http://aya.io</a> <br>Code: <a href=\"http://github.com/ericdke\">http://github.com/ericdke</a> <br><span data-mention-id=\"188367\" data-mention-name=\"ayadn\" itemprop=\"mention\">@ayadn</span> ADN command-line client. <a href=\"http://ayadn-app.net\">http://ayadn-app.net</a> <br> <br><span data-hashtag-name=\"devadn\" itemprop=\"hashtag\">#devADN</span> 🔨 <span data-hashtag-name=\"coffee\" itemprop=\"hashtag\">#coffee</span> <span data-hashtag-name=\"tea\" itemprop=\"hashtag\">#tea</span> <span data-hashtag-name=\"space\" itemprop=\"hashtag\">#space</span> <span data-hashtag-name=\"art\" itemprop=\"hashtag\">#art</span> <span data-hashtag-name=\"stuff\" itemprop=\"hashtag\">#stuff</span></span>",
|
614
|
+
"entities": {
|
615
|
+
"mentions": [
|
616
|
+
{
|
617
|
+
"pos": 115,
|
618
|
+
"id": "188367",
|
619
|
+
"len": 6,
|
620
|
+
"name": "ayadn"
|
621
|
+
}
|
622
|
+
],
|
623
|
+
"hashtags": [
|
624
|
+
{
|
625
|
+
"name": "devadn",
|
626
|
+
"len": 7,
|
627
|
+
"pos": 171
|
628
|
+
},
|
629
|
+
{
|
630
|
+
"name": "coffee",
|
631
|
+
"len": 7,
|
632
|
+
"pos": 182
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"name": "tea",
|
636
|
+
"len": 4,
|
637
|
+
"pos": 190
|
638
|
+
},
|
639
|
+
{
|
640
|
+
"name": "space",
|
641
|
+
"len": 6,
|
642
|
+
"pos": 195
|
643
|
+
},
|
644
|
+
{
|
645
|
+
"name": "art",
|
646
|
+
"len": 4,
|
647
|
+
"pos": 202
|
648
|
+
},
|
649
|
+
{
|
650
|
+
"name": "stuff",
|
651
|
+
"len": 6,
|
652
|
+
"pos": 207
|
653
|
+
}
|
654
|
+
],
|
655
|
+
"links": [
|
656
|
+
{
|
657
|
+
"url": "http://aya.io",
|
658
|
+
"text": "http://aya.io",
|
659
|
+
"pos": 66,
|
660
|
+
"len": 13
|
661
|
+
},
|
662
|
+
{
|
663
|
+
"url": "http://github.com/ericdke",
|
664
|
+
"text": "http://github.com/ericdke",
|
665
|
+
"pos": 88,
|
666
|
+
"len": 25
|
667
|
+
},
|
668
|
+
{
|
669
|
+
"url": "http://ayadn-app.net",
|
670
|
+
"text": "http://ayadn-app.net",
|
671
|
+
"pos": 147,
|
672
|
+
"len": 20
|
673
|
+
}
|
674
|
+
]
|
675
|
+
}
|
676
|
+
},
|
677
|
+
"is_muted": false,
|
678
|
+
"follows_you": true,
|
679
|
+
"you_can_follow": true,
|
680
|
+
"verified_domain": "aya.io",
|
681
|
+
"name": "Eric Dejonckheere",
|
682
|
+
"created_at": "2013-04-08T23:25:52Z",
|
683
|
+
"cover_image": {
|
684
|
+
"url": "https://d2rfichhc2fb9n.cloudfront.net/image/5/6Iok1G-Pq-5esARxpFx7Nr_S_0R7InMiOiJzMyIsImIiOiJhZG4tdXNlci1hc3NldHMiLCJrIjoiYXNzZXRzL3VzZXIvODMvZTAvOTAvODNlMDkwMDAwMDAwMDAwMC5qcGciLCJvIjoiIn0",
|
685
|
+
"width": 3950,
|
686
|
+
"is_default": false,
|
687
|
+
"height": 919
|
688
|
+
},
|
689
|
+
"verified_link": "http://aya.io",
|
690
|
+
"you_blocked": false
|
691
|
+
}
|
692
|
+
]
|
693
|
+
}
|
694
|
+
]
|
695
|
+
}
|