meme 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.3.0
@@ -123,6 +123,19 @@ module Meme
123
123
  end
124
124
  end
125
125
 
126
+ # Retrieves all posts of an user
127
+ #
128
+ def posts(quantity=0)
129
+ query = "SELECT * FROM meme.posts(#{quantity}) WHERE owner_guid='#{self.guid}';"
130
+ parse = Request.parse(query)
131
+ if parse
132
+ results = parse['query']['results']
133
+ results.nil? ? nil : results['post'].map {|m| Post.new(m)}
134
+ else
135
+ parse.error!
136
+ end
137
+ end
138
+
126
139
  end
127
140
 
128
141
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{meme}
8
- s.version = "0.2.1"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["J\303\251sus Lopes"]
12
- s.date = %q{2010-05-01}
12
+ s.date = %q{2010-08-21}
13
13
  s.description = %q{Yahoo! Meme API wrapper library in Ruby}
14
14
  s.email = %q{jlopes@zigotto.com.br}
15
15
  s.extra_rdoc_files = [
@@ -43,6 +43,8 @@ Gem::Specification.new do |s|
43
43
  "spec/fixtures/meme_search_type_audio.json",
44
44
  "spec/fixtures/meme_search_type_photo.json",
45
45
  "spec/fixtures/meme_search_type_video.json",
46
+ "spec/fixtures/meme_user_posts.json",
47
+ "spec/fixtures/meme_user_posts_count.json",
46
48
  "spec/info_spec.rb",
47
49
  "spec/meme_spec.rb",
48
50
  "spec/search_spec.rb",
@@ -52,7 +54,7 @@ Gem::Specification.new do |s|
52
54
  s.homepage = %q{http://github.com/jtadeulopes/meme}
53
55
  s.rdoc_options = ["--charset=UTF-8"]
54
56
  s.require_paths = ["lib"]
55
- s.rubygems_version = %q{1.3.6}
57
+ s.rubygems_version = %q{1.3.7}
56
58
  s.summary = %q{Ruby Yahoo! Meme API}
57
59
  s.test_files = [
58
60
  "spec/info_spec.rb",
@@ -65,7 +67,7 @@ Gem::Specification.new do |s|
65
67
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
66
68
  s.specification_version = 3
67
69
 
68
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
70
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
69
71
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
70
72
  else
71
73
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
@@ -0,0 +1,1023 @@
1
+ {
2
+ "query": {
3
+ "count": "51",
4
+ "created": "2010-08-21T08:11:23Z",
5
+ "lang": "en-US",
6
+ "results": {
7
+ "post": [
8
+ {
9
+ "pubid": "_mtvMQg",
10
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
11
+ "url": "http://meme.yahoo.com/jtadeulopes/p/_mtvMQg/",
12
+ "timestamp": "1276792904703",
13
+ "category": "photo",
14
+ "type": "photo",
15
+ "content": {
16
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2F249612f4bd4d5efccf78278a1228a48c8afb9009.gifa",
17
+ "content": "http://d.yimg.com/gg/u/249612f4bd4d5efccf78278a1228a48c8afb9009.gifa"
18
+ },
19
+ "repost_count": "0",
20
+ "appid": null,
21
+ "comment": "",
22
+ "caption": "",
23
+ "via_guid": null,
24
+ "origin_guid": null,
25
+ "origin_pubid": null,
26
+ "latitude": null,
27
+ "longitude": null,
28
+ "img_original_url": "http://lh6.ggpht.com/_JtWk7d3YRZo/TBkSoFjMHMI/AAAAAAAALmw/zSYBlNEK5RQ/s800/beatingtetris.gif"
29
+ },
30
+ {
31
+ "pubid": "DDC038H",
32
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
33
+ "url": "http://meme.yahoo.com/jtadeulopes/p/DDC038H/",
34
+ "timestamp": "1273356913487",
35
+ "category": "text",
36
+ "type": "text",
37
+ "content": "a text post!",
38
+ "repost_count": "0",
39
+ "appid": "-QUERY58",
40
+ "comment": "",
41
+ "caption": "",
42
+ "via_guid": null,
43
+ "origin_guid": null,
44
+ "origin_pubid": null,
45
+ "latitude": null,
46
+ "longitude": null
47
+ },
48
+ {
49
+ "pubid": "Wn2Ll4v",
50
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
51
+ "url": "http://meme.yahoo.com/jtadeulopes/p/Wn2Ll4v/",
52
+ "timestamp": "1273356860460",
53
+ "category": "text",
54
+ "type": "text",
55
+ "content": "a text post!",
56
+ "repost_count": "0",
57
+ "appid": "-QUERY58",
58
+ "comment": "",
59
+ "caption": "",
60
+ "via_guid": null,
61
+ "origin_guid": null,
62
+ "origin_pubid": null,
63
+ "latitude": null,
64
+ "longitude": null
65
+ },
66
+ {
67
+ "pubid": "9rEN4S8",
68
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
69
+ "url": "http://meme.yahoo.com/jtadeulopes/p/9rEN4S8/",
70
+ "timestamp": "1272744795730",
71
+ "category": "text",
72
+ "type": "text",
73
+ "content": "Novo post! Acesse a API do Yahoo! Meme com Ruby =&gt; http://jlopes.zigotto.com.br/projetos/acesse-a-api-do-yahoo-meme-com-ruby",
74
+ "repost_count": "0",
75
+ "appid": null,
76
+ "comment": "",
77
+ "caption": "",
78
+ "via_guid": null,
79
+ "origin_guid": null,
80
+ "origin_pubid": null,
81
+ "latitude": null,
82
+ "longitude": null
83
+ },
84
+ {
85
+ "pubid": "_5qjcPm",
86
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
87
+ "url": "http://meme.yahoo.com/jtadeulopes/p/_5qjcPm/",
88
+ "timestamp": "1270167299768",
89
+ "category": "text",
90
+ "type": "text",
91
+ "content": "Atualizado!!! \nmeme (0.2.0): Yahoo! Meme API wrapper library in Ruby http://bit.ly/b5YqpI",
92
+ "repost_count": "0",
93
+ "appid": null,
94
+ "comment": "",
95
+ "caption": "",
96
+ "via_guid": null,
97
+ "origin_guid": null,
98
+ "origin_pubid": null,
99
+ "latitude": null,
100
+ "longitude": null
101
+ },
102
+ {
103
+ "pubid": "xYtymD7",
104
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
105
+ "url": "http://meme.yahoo.com/jtadeulopes/p/xYtymD7/",
106
+ "timestamp": "1269399392566",
107
+ "category": "text",
108
+ "type": "text",
109
+ "content": "Meme Libraries roundup, you can choose your favorite flavor: Python, Ruby or PHP: http://meme.yahoo.com/api/p/dxbLM77/",
110
+ "repost_count": "1",
111
+ "appid": null,
112
+ "comment": "",
113
+ "caption": "",
114
+ "via_guid": "2I4U7XOLQZQZUD7CPAZXXLIWOM",
115
+ "origin_guid": "2I4U7XOLQZQZUD7CPAZXXLIWOM",
116
+ "origin_pubid": "8qTrqgZ",
117
+ "latitude": null,
118
+ "longitude": null
119
+ },
120
+ {
121
+ "pubid": "7eCLoJg",
122
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
123
+ "url": "http://meme.yahoo.com/jtadeulopes/p/7eCLoJg/",
124
+ "timestamp": "1269396066874",
125
+ "category": "text",
126
+ "type": "text",
127
+ "content": "Criei uma rubygem para acessar a API do Meme em ruby! http://github.com/jtadeulopes/meme =)",
128
+ "repost_count": "3",
129
+ "appid": null,
130
+ "comment": "",
131
+ "caption": "",
132
+ "via_guid": null,
133
+ "origin_guid": null,
134
+ "origin_pubid": null,
135
+ "latitude": null,
136
+ "longitude": null
137
+ },
138
+ {
139
+ "pubid": "ZUm36cB",
140
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
141
+ "url": "http://meme.yahoo.com/jtadeulopes/p/ZUm36cB/",
142
+ "timestamp": "1269395340383",
143
+ "category": "text",
144
+ "type": "text",
145
+ "content": "<b>Meme libraries roundup</b>\nDevelopers are working hard on libraries in several programming languages to use Meme. Here are some of them:\n\n<b>Python - meme-py</b>\nby /gchapiewski [<a rel=\"nofollow\" href=\"http://github.com/guilhermechapiewski/meme-py\">Github repository</a>]\n\n<b>Ruby - meme</b>\nby /jtadeulopes [<a rel=\"nofollow\" href=\"http://github.com/jtadeulopes/meme\">Github repository</a>]\n\n<b>PHP - meme-php</b>\nby /bigodines [<a rel=\"nofollow\" href=\"http://github.com/bigodines/yos-social-php5\">Github repository</a>]\n\nTell us if you know about other ones!",
146
+ "repost_count": "32",
147
+ "appid": null,
148
+ "comment": "",
149
+ "caption": "",
150
+ "via_guid": "EORMRTX3NZLMA7C4SQZIT52ISE",
151
+ "origin_guid": "EORMRTX3NZLMA7C4SQZIT52ISE",
152
+ "origin_pubid": "dxbLM77",
153
+ "latitude": null,
154
+ "longitude": null
155
+ },
156
+ {
157
+ "pubid": "Zs7VPLP",
158
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
159
+ "url": "http://meme.yahoo.com/jtadeulopes/p/Zs7VPLP/",
160
+ "timestamp": "1268406545497",
161
+ "category": "text",
162
+ "type": "text",
163
+ "content": "Muitas pessoas ainda não responderam o e-mail de confirmação do #brhackday.\n\nDesconfiamos que ele possa estar identificado como spam. Por favor, verifiquem se o seu anti-spam não filtrou a mensagem!\n\nO título do e-mail que enviamos é <b>Confirmação Yahoo! Open Hack Day Brasil 2010</b> e você precisa responder a mensagem para confirmar sua presença.",
164
+ "repost_count": "6",
165
+ "appid": null,
166
+ "comment": "",
167
+ "caption": "",
168
+ "via_guid": "2I4U7XOLQZQZUD7CPAZXXLIWOM",
169
+ "origin_guid": "2I4U7XOLQZQZUD7CPAZXXLIWOM",
170
+ "origin_pubid": "NXvvdmu",
171
+ "latitude": null,
172
+ "longitude": null
173
+ },
174
+ {
175
+ "pubid": "gVEzquo",
176
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
177
+ "url": "http://meme.yahoo.com/jtadeulopes/p/gVEzquo/",
178
+ "timestamp": "1268235025075",
179
+ "category": "text",
180
+ "type": "text",
181
+ "content": "A tempos não postava aqui....",
182
+ "repost_count": "0",
183
+ "appid": null,
184
+ "comment": "",
185
+ "caption": "",
186
+ "via_guid": null,
187
+ "origin_guid": null,
188
+ "origin_pubid": null,
189
+ "latitude": null,
190
+ "longitude": null
191
+ },
192
+ {
193
+ "pubid": "XPrBUke",
194
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
195
+ "url": "http://meme.yahoo.com/jtadeulopes/p/XPrBUke/",
196
+ "timestamp": "1268234957996",
197
+ "category": "photo",
198
+ "type": "photo",
199
+ "content": {
200
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2F328e2c3f47b2d28731c4b9f247d377859e2374f7.jpeg",
201
+ "content": "http://d.yimg.com/gg/u/328e2c3f47b2d28731c4b9f247d377859e2374f7.jpeg"
202
+ },
203
+ "repost_count": "61",
204
+ "appid": null,
205
+ "comment": "",
206
+ "caption": "<b>Saudade dos desenhos animados de antigamente...</b>",
207
+ "via_guid": "QLET3EJ5XXYIVAHBOQVSPZB6BM",
208
+ "origin_guid": "PTJR6XRTUQWV4AOKNWUVBNSF3Q",
209
+ "origin_pubid": "T5Rw1Cx",
210
+ "latitude": null,
211
+ "longitude": null
212
+ },
213
+ {
214
+ "pubid": "gqrH9GP",
215
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
216
+ "url": "http://meme.yahoo.com/jtadeulopes/p/gqrH9GP/",
217
+ "timestamp": "1268234657962",
218
+ "category": "photo",
219
+ "type": "photo",
220
+ "content": {
221
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2Fccb4b9eaa63fbd59449a8f971b4bab405abd3b08.jpeg",
222
+ "content": "http://d.yimg.com/gg/u/ccb4b9eaa63fbd59449a8f971b4bab405abd3b08.jpeg"
223
+ },
224
+ "repost_count": "14",
225
+ "appid": null,
226
+ "comment": "",
227
+ "caption": "#brhackday We can haz stickers!",
228
+ "via_guid": "3GKQ44ETXVV4GC5M34ZMPAASHU",
229
+ "origin_guid": "URXXAMGXMTOCBYIMQH57IP673M",
230
+ "origin_pubid": "VsR2qOx",
231
+ "latitude": null,
232
+ "longitude": null
233
+ },
234
+ {
235
+ "pubid": "GvqOeRI",
236
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
237
+ "url": "http://meme.yahoo.com/jtadeulopes/p/GvqOeRI/",
238
+ "timestamp": "1268234556834",
239
+ "category": "photo",
240
+ "type": "photo",
241
+ "content": {
242
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2Fce208e973ada2af2955d644ab33edfab76d231a0.gifa",
243
+ "content": "http://d.yimg.com/gg/u/ce208e973ada2af2955d644ab33edfab76d231a0.gifa"
244
+ },
245
+ "repost_count": "13",
246
+ "appid": null,
247
+ "comment": "",
248
+ "caption": "",
249
+ "via_guid": null,
250
+ "origin_guid": null,
251
+ "origin_pubid": null,
252
+ "latitude": null,
253
+ "longitude": null
254
+ },
255
+ {
256
+ "pubid": "JxlmHth",
257
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
258
+ "url": "http://meme.yahoo.com/jtadeulopes/p/JxlmHth/",
259
+ "timestamp": "1266856900663",
260
+ "category": "photo",
261
+ "type": "photo",
262
+ "content": {
263
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2Fe0e24754efa800ccdb97a4b13dbc104fde7fd31d.jpeg",
264
+ "content": "http://d.yimg.com/gg/u/e0e24754efa800ccdb97a4b13dbc104fde7fd31d.jpeg"
265
+ },
266
+ "repost_count": "0",
267
+ "appid": null,
268
+ "comment": "",
269
+ "caption": "",
270
+ "via_guid": null,
271
+ "origin_guid": null,
272
+ "origin_pubid": null,
273
+ "latitude": null,
274
+ "longitude": null
275
+ },
276
+ {
277
+ "pubid": "RMCUc7h",
278
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
279
+ "url": "http://meme.yahoo.com/jtadeulopes/p/RMCUc7h/",
280
+ "timestamp": "1254937002844",
281
+ "category": "text",
282
+ "type": "text",
283
+ "content": "QUEM TA AQUI DESDE QUANDO O MEME ERÁ SÓ PARA CONVIDADOS, REPOSTA AEW E VAMOS VER QUANTAS PESSOAS TINHA ANTES.\n\n(<a rel=\"nofollow\" target=\"_blank\" rel=\"nofollow\" target=\"_blank\" rel=\"nofollow\" target=\"_blank\" rel=\"nofollow\" href=\"http://impactoscariri.blogspot.com\" target=\"_blank\">http://impactoscariri.blogspot.com</a>)",
284
+ "repost_count": "252",
285
+ "appid": null,
286
+ "comment": "/me",
287
+ "caption": "",
288
+ "via_guid": "QLET3EJ5XXYIVAHBOQVSPZB6BM",
289
+ "origin_guid": "Z4CMRVU22K5Y5XKPUDYYZKXDFQ",
290
+ "origin_pubid": "RIJLIhD",
291
+ "latitude": null,
292
+ "longitude": null
293
+ },
294
+ {
295
+ "pubid": "jy5MBik",
296
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
297
+ "url": "http://meme.yahoo.com/jtadeulopes/p/jy5MBik/",
298
+ "timestamp": "1252687259344",
299
+ "category": "text",
300
+ "type": "text",
301
+ "content": "a text post!",
302
+ "repost_count": "0",
303
+ "appid": null,
304
+ "comment": "",
305
+ "caption": "",
306
+ "via_guid": null,
307
+ "origin_guid": null,
308
+ "origin_pubid": null,
309
+ "latitude": null,
310
+ "longitude": null
311
+ },
312
+ {
313
+ "pubid": "14KS7VG",
314
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
315
+ "url": "http://meme.yahoo.com/jtadeulopes/p/14KS7VG/",
316
+ "timestamp": "1252687094148",
317
+ "category": "photo",
318
+ "type": "photo",
319
+ "content": {
320
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Ffa0a217fc3c384c0c39c55a39e54df50bc1032bb.gifa",
321
+ "content": "http://d.yimg.com/gg/jtadeulopes/fa0a217fc3c384c0c39c55a39e54df50bc1032bb.gifa"
322
+ },
323
+ "repost_count": "2",
324
+ "appid": null,
325
+ "comment": "",
326
+ "caption": "Gato maluco!",
327
+ "via_guid": null,
328
+ "origin_guid": null,
329
+ "origin_pubid": null,
330
+ "latitude": null,
331
+ "longitude": null
332
+ },
333
+ {
334
+ "pubid": "S7pooQR",
335
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
336
+ "url": "http://meme.yahoo.com/jtadeulopes/p/S7pooQR/",
337
+ "timestamp": "1251897497254",
338
+ "category": "photo",
339
+ "type": "photo",
340
+ "content": {
341
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fmarianamarinho%2F9f1f3e533fab091a43c873bc3273167cf0daa01a.png",
342
+ "content": "http://d.yimg.com/gg/marianamarinho/9f1f3e533fab091a43c873bc3273167cf0daa01a.png"
343
+ },
344
+ "repost_count": "114",
345
+ "appid": null,
346
+ "comment": "",
347
+ "caption": "- Quem teem? =)~",
348
+ "via_guid": "MCYG5GAPYNCJX562KB533MMY74",
349
+ "origin_guid": "DGGF522NESAB5A7YH6FI6USOEQ",
350
+ "origin_pubid": "l__tAbi",
351
+ "latitude": null,
352
+ "longitude": null
353
+ },
354
+ {
355
+ "pubid": "g45sTV3",
356
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
357
+ "url": "http://meme.yahoo.com/jtadeulopes/p/g45sTV3/",
358
+ "timestamp": "1251896115240",
359
+ "category": "photo",
360
+ "type": "photo",
361
+ "content": {
362
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2F745646805f1927e40517885790f2c1b349767667.jpeg",
363
+ "content": "http://d.yimg.com/gg/jtadeulopes/745646805f1927e40517885790f2c1b349767667.jpeg"
364
+ },
365
+ "repost_count": "0",
366
+ "appid": null,
367
+ "comment": "",
368
+ "caption": "até lá? #euri",
369
+ "via_guid": null,
370
+ "origin_guid": null,
371
+ "origin_pubid": null,
372
+ "latitude": null,
373
+ "longitude": null
374
+ },
375
+ {
376
+ "pubid": "4SLb5Xv",
377
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
378
+ "url": "http://meme.yahoo.com/jtadeulopes/p/4SLb5Xv/",
379
+ "timestamp": "1248556343654",
380
+ "category": "photo",
381
+ "type": "photo",
382
+ "content": {
383
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fandrepancione%2F4f91d001bda509c946d6663d974f6fddf0697aaa.jpeg",
384
+ "content": "http://d.yimg.com/gg/andrepancione/4f91d001bda509c946d6663d974f6fddf0697aaa.jpeg"
385
+ },
386
+ "repost_count": "7",
387
+ "appid": null,
388
+ "comment": "",
389
+ "caption": "construindo uma estrada!!! já o governo não faz nada....",
390
+ "via_guid": "L4GB3HNKG724JIHUYLA35M7RWM",
391
+ "origin_guid": "RX6SH6PJWJCKFKGLCD5SI44JYE",
392
+ "origin_pubid": "9yu9EwW",
393
+ "latitude": null,
394
+ "longitude": null
395
+ },
396
+ {
397
+ "pubid": "y_pFh0m",
398
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
399
+ "url": "http://meme.yahoo.com/jtadeulopes/p/y_pFh0m/",
400
+ "timestamp": "1246891414154",
401
+ "category": "photo",
402
+ "type": "photo",
403
+ "content": {
404
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Fcb1375c8980120e12675e3b9c0b10ece49e5fee7.jpeg",
405
+ "content": "http://d.yimg.com/gg/jtadeulopes/cb1375c8980120e12675e3b9c0b10ece49e5fee7.jpeg"
406
+ },
407
+ "repost_count": "43",
408
+ "appid": null,
409
+ "comment": "",
410
+ "caption": "Hadouken!!!!!!!!!!!!!!!",
411
+ "via_guid": null,
412
+ "origin_guid": null,
413
+ "origin_pubid": null,
414
+ "latitude": null,
415
+ "longitude": null
416
+ },
417
+ {
418
+ "pubid": "xZXcirt",
419
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
420
+ "url": "http://meme.yahoo.com/jtadeulopes/p/xZXcirt/",
421
+ "timestamp": "1246891153743",
422
+ "category": "photo",
423
+ "type": "photo",
424
+ "content": {
425
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fiaraujo21%2F2a64b4eb4ac793f7a460467570a6f4b9a5524201.jpeg",
426
+ "content": "http://d.yimg.com/gg/iaraujo21/2a64b4eb4ac793f7a460467570a6f4b9a5524201.jpeg"
427
+ },
428
+ "repost_count": "8",
429
+ "appid": null,
430
+ "comment": "",
431
+ "caption": "explicando um emoticon",
432
+ "via_guid": "6ACH4EHICEZ4XTDV7C2JGCQ7UY",
433
+ "origin_guid": "MVFDFOEWLZQDQNYE2MV4MATGCA",
434
+ "origin_pubid": "FxeOUEo",
435
+ "latitude": null,
436
+ "longitude": null
437
+ },
438
+ {
439
+ "pubid": "G8PNuy8",
440
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
441
+ "url": "http://meme.yahoo.com/jtadeulopes/p/G8PNuy8/",
442
+ "timestamp": "1246650296772",
443
+ "category": "video",
444
+ "type": "video",
445
+ "content": "http://youtube.com/watch?v=WfBlUQguvyw",
446
+ "repost_count": "26",
447
+ "appid": null,
448
+ "comment": "",
449
+ "caption": "Muito legal a sincronia dos vídeos",
450
+ "via_guid": "URXXAMGXMTOCBYIMQH57IP673M",
451
+ "origin_guid": "URXXAMGXMTOCBYIMQH57IP673M",
452
+ "origin_pubid": "aMAGQE-",
453
+ "latitude": null,
454
+ "longitude": null
455
+ },
456
+ {
457
+ "pubid": "2dWy5tC",
458
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
459
+ "url": "http://meme.yahoo.com/jtadeulopes/p/2dWy5tC/",
460
+ "timestamp": "1246649924565",
461
+ "category": "photo",
462
+ "type": "photo",
463
+ "content": {
464
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fsininho115%2Ffe87a1e3cf8960281f7d72dd216b20b54cd3257c.jpeg",
465
+ "content": "http://d.yimg.com/gg/sininho115/fe87a1e3cf8960281f7d72dd216b20b54cd3257c.jpeg"
466
+ },
467
+ "repost_count": "44",
468
+ "appid": null,
469
+ "comment": "",
470
+ "caption": "#eurialto",
471
+ "via_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
472
+ "origin_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
473
+ "origin_pubid": "xlsq7PD",
474
+ "latitude": null,
475
+ "longitude": null
476
+ },
477
+ {
478
+ "pubid": "KrTQVS9",
479
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
480
+ "url": "http://meme.yahoo.com/jtadeulopes/p/KrTQVS9/",
481
+ "timestamp": "1246578142923",
482
+ "category": "photo",
483
+ "type": "photo",
484
+ "content": {
485
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Frenefraga%2Fd13ba92c6fe0908b2469a0629dbd8ddee43ddb07.jpeg",
486
+ "content": "http://d.yimg.com/gg/renefraga/d13ba92c6fe0908b2469a0629dbd8ddee43ddb07.jpeg"
487
+ },
488
+ "repost_count": "5",
489
+ "appid": null,
490
+ "comment": "",
491
+ "caption": "Precisa mesmo de legenda?",
492
+ "via_guid": "JC2XTOWFUMVYIWBW4RYYRJ7G6Q",
493
+ "origin_guid": "JC2XTOWFUMVYIWBW4RYYRJ7G6Q",
494
+ "origin_pubid": "gnNV3tj",
495
+ "latitude": null,
496
+ "longitude": null
497
+ },
498
+ {
499
+ "pubid": "DY-5828",
500
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
501
+ "url": "http://meme.yahoo.com/jtadeulopes/p/DY-5828/",
502
+ "timestamp": "1246467583844",
503
+ "category": "photo",
504
+ "type": "photo",
505
+ "content": {
506
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2F36ded5b6a7286547da38d0e1b0af3556f1ddf41e.png",
507
+ "content": "http://d.yimg.com/gg/jtadeulopes/36ded5b6a7286547da38d0e1b0af3556f1ddf41e.png"
508
+ },
509
+ "repost_count": "1",
510
+ "appid": null,
511
+ "comment": "",
512
+ "caption": "",
513
+ "via_guid": null,
514
+ "origin_guid": null,
515
+ "origin_pubid": null,
516
+ "latitude": null,
517
+ "longitude": null
518
+ },
519
+ {
520
+ "pubid": "Hq6JcAP",
521
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
522
+ "url": "http://meme.yahoo.com/jtadeulopes/p/Hq6JcAP/",
523
+ "timestamp": "1246317878247",
524
+ "category": "photo",
525
+ "type": "photo",
526
+ "content": {
527
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fsininho115%2F3804c8cd9ade870ebc735c91266c16991d6fedd7.png",
528
+ "content": "http://d.yimg.com/gg/sininho115/3804c8cd9ade870ebc735c91266c16991d6fedd7.png"
529
+ },
530
+ "repost_count": "7",
531
+ "appid": null,
532
+ "comment": "",
533
+ "caption": "Saco cheio.",
534
+ "via_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
535
+ "origin_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
536
+ "origin_pubid": "ZI0MHlS",
537
+ "latitude": null,
538
+ "longitude": null
539
+ },
540
+ {
541
+ "pubid": "e6HlVdi",
542
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
543
+ "url": "http://meme.yahoo.com/jtadeulopes/p/e6HlVdi/",
544
+ "timestamp": "1246317811425",
545
+ "category": "photo",
546
+ "type": "photo",
547
+ "content": {
548
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fsininho115%2F2ecfb1b950b97c5c902833c5e9e7fde61629f477.jpeg",
549
+ "content": "http://d.yimg.com/gg/sininho115/2ecfb1b950b97c5c902833c5e9e7fde61629f477.jpeg"
550
+ },
551
+ "repost_count": "1",
552
+ "appid": null,
553
+ "comment": "",
554
+ "caption": "#fato",
555
+ "via_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
556
+ "origin_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
557
+ "origin_pubid": "2i1EXwa",
558
+ "latitude": null,
559
+ "longitude": null
560
+ },
561
+ {
562
+ "pubid": "lfbNPIt",
563
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
564
+ "url": "http://meme.yahoo.com/jtadeulopes/p/lfbNPIt/",
565
+ "timestamp": "1246295311407",
566
+ "category": "photo",
567
+ "type": "photo",
568
+ "content": {
569
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fsininho115%2F0a933b6a42e9860a8f63317d35b98bb6ed12a0a3.png",
570
+ "content": "http://d.yimg.com/gg/sininho115/0a933b6a42e9860a8f63317d35b98bb6ed12a0a3.png"
571
+ },
572
+ "repost_count": "10",
573
+ "appid": null,
574
+ "comment": "",
575
+ "caption": "Cedilha cagão!",
576
+ "via_guid": "URXXAMGXMTOCBYIMQH57IP673M",
577
+ "origin_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
578
+ "origin_pubid": "sTLNbjQ",
579
+ "latitude": null,
580
+ "longitude": null
581
+ },
582
+ {
583
+ "pubid": "GnmA1nu",
584
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
585
+ "url": "http://meme.yahoo.com/jtadeulopes/p/GnmA1nu/",
586
+ "timestamp": "1246295146990",
587
+ "category": "photo",
588
+ "type": "photo",
589
+ "content": {
590
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fsininho115%2Fdf42390521294945c0f963012be459e14874b8ef.jpeg",
591
+ "content": "http://d.yimg.com/gg/sininho115/df42390521294945c0f963012be459e14874b8ef.jpeg"
592
+ },
593
+ "repost_count": "6",
594
+ "appid": null,
595
+ "comment": "",
596
+ "caption": "Cara de Segunda-Feira.",
597
+ "via_guid": "6ACH4EHICEZ4XTDV7C2JGCQ7UY",
598
+ "origin_guid": "ZE5FEQMJ4AQUYWEKF567BLC46E",
599
+ "origin_pubid": "lTxXUik",
600
+ "latitude": null,
601
+ "longitude": null
602
+ },
603
+ {
604
+ "pubid": "l-ZSkfM",
605
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
606
+ "url": "http://meme.yahoo.com/jtadeulopes/p/l-ZSkfM/",
607
+ "timestamp": "1245814162136",
608
+ "category": "photo",
609
+ "type": "photo",
610
+ "content": {
611
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fharebabablog%2Ffc3089b611fece5e7fe4da869a7cc3457fafdfc4.jpeg",
612
+ "content": "http://d.yimg.com/gg/harebabablog/fc3089b611fece5e7fe4da869a7cc3457fafdfc4.jpeg"
613
+ },
614
+ "repost_count": "39",
615
+ "appid": null,
616
+ "comment": "",
617
+ "caption": "Hihi... Sacaneei...",
618
+ "via_guid": "MCYG5GAPYNCJX562KB533MMY74",
619
+ "origin_guid": "ITN624BMJ3UY2OE4REZ5EOBC2U",
620
+ "origin_pubid": "VpqgZXV",
621
+ "latitude": null,
622
+ "longitude": null
623
+ },
624
+ {
625
+ "pubid": "6M69KLe",
626
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
627
+ "url": "http://meme.yahoo.com/jtadeulopes/p/6M69KLe/",
628
+ "timestamp": "1245435140259",
629
+ "category": "photo",
630
+ "type": "photo",
631
+ "content": {
632
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Fdcd9d616d151528d86de0d7a995aa663cf23f2e2.jpeg",
633
+ "content": "http://d.yimg.com/gg/jtadeulopes/dcd9d616d151528d86de0d7a995aa663cf23f2e2.jpeg"
634
+ },
635
+ "repost_count": "0",
636
+ "appid": null,
637
+ "comment": "",
638
+ "caption": "",
639
+ "via_guid": null,
640
+ "origin_guid": null,
641
+ "origin_pubid": null,
642
+ "latitude": null,
643
+ "longitude": null
644
+ },
645
+ {
646
+ "pubid": "EY1tKIU",
647
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
648
+ "url": "http://meme.yahoo.com/jtadeulopes/p/EY1tKIU/",
649
+ "timestamp": "1245434952823",
650
+ "category": "photo",
651
+ "type": "photo",
652
+ "content": {
653
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2F695769e23d34896dbd10fa80e17952b2395d1dba.jpeg",
654
+ "content": "http://d.yimg.com/gg/jtadeulopes/695769e23d34896dbd10fa80e17952b2395d1dba.jpeg"
655
+ },
656
+ "repost_count": "0",
657
+ "appid": null,
658
+ "comment": "",
659
+ "caption": "ohhhhhhhhh",
660
+ "via_guid": null,
661
+ "origin_guid": null,
662
+ "origin_pubid": null,
663
+ "latitude": null,
664
+ "longitude": null
665
+ },
666
+ {
667
+ "pubid": "GT25v9c",
668
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
669
+ "url": "http://meme.yahoo.com/jtadeulopes/p/GT25v9c/",
670
+ "timestamp": "1245434891954",
671
+ "category": "photo",
672
+ "type": "photo",
673
+ "content": {
674
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fgiumarques%2F1248f772ac22d8f3669e27892023e1b545c24ba8.jpeg",
675
+ "content": "http://d.yimg.com/gg/giumarques/1248f772ac22d8f3669e27892023e1b545c24ba8.jpeg"
676
+ },
677
+ "repost_count": "7",
678
+ "appid": null,
679
+ "comment": "",
680
+ "caption": "#euri",
681
+ "via_guid": "RX6SH6PJWJCKFKGLCD5SI44JYE",
682
+ "origin_guid": "4BTEFGOUBWGV24WNNM2JDLPV2A",
683
+ "origin_pubid": "yELY4ud",
684
+ "latitude": null,
685
+ "longitude": null
686
+ },
687
+ {
688
+ "pubid": "66n3NH4",
689
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
690
+ "url": "http://meme.yahoo.com/jtadeulopes/p/66n3NH4/",
691
+ "timestamp": "1245427964816",
692
+ "category": "photo",
693
+ "type": "photo",
694
+ "content": {
695
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fgiumarques%2Feb838d88017686c64ec72c2f6c89d9010d87456d.jpeg",
696
+ "content": "http://d.yimg.com/gg/giumarques/eb838d88017686c64ec72c2f6c89d9010d87456d.jpeg"
697
+ },
698
+ "repost_count": "26",
699
+ "appid": null,
700
+ "comment": "",
701
+ "caption": "O Infiltrado",
702
+ "via_guid": "MCYG5GAPYNCJX562KB533MMY74",
703
+ "origin_guid": "4BTEFGOUBWGV24WNNM2JDLPV2A",
704
+ "origin_pubid": "R7Vi3Kp",
705
+ "latitude": null,
706
+ "longitude": null
707
+ },
708
+ {
709
+ "pubid": "Vm81pXF",
710
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
711
+ "url": "http://meme.yahoo.com/jtadeulopes/p/Vm81pXF/",
712
+ "timestamp": "1245422768608",
713
+ "category": "photo",
714
+ "type": "photo",
715
+ "content": {
716
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Fefd57f5d3f7d37c673302af96381e27991a925aa.jpeg",
717
+ "content": "http://d.yimg.com/gg/jtadeulopes/efd57f5d3f7d37c673302af96381e27991a925aa.jpeg"
718
+ },
719
+ "repost_count": "8",
720
+ "appid": null,
721
+ "comment": "",
722
+ "caption": "será que o Mario esta assim mesmo? Oo",
723
+ "via_guid": null,
724
+ "origin_guid": null,
725
+ "origin_pubid": null,
726
+ "latitude": null,
727
+ "longitude": null
728
+ },
729
+ {
730
+ "pubid": "6O1R-wa",
731
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
732
+ "url": "http://meme.yahoo.com/jtadeulopes/p/6O1R-wa/",
733
+ "timestamp": "1245360671588",
734
+ "category": "text",
735
+ "type": "text",
736
+ "content": "esqueci novamente que isso existe hehehe",
737
+ "repost_count": "0",
738
+ "appid": null,
739
+ "comment": "",
740
+ "caption": "",
741
+ "via_guid": null,
742
+ "origin_guid": null,
743
+ "origin_pubid": null,
744
+ "latitude": null,
745
+ "longitude": null
746
+ },
747
+ {
748
+ "pubid": "ij3_Clf",
749
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
750
+ "url": "http://meme.yahoo.com/jtadeulopes/p/ij3_Clf/",
751
+ "timestamp": "1244658516318",
752
+ "category": "video",
753
+ "type": "video",
754
+ "content": "http://youtube.com/watch?v=lJkpBffLbc4",
755
+ "repost_count": "21",
756
+ "appid": null,
757
+ "comment": "",
758
+ "caption": "Lançamento do windows 95",
759
+ "via_guid": null,
760
+ "origin_guid": null,
761
+ "origin_pubid": null,
762
+ "latitude": null,
763
+ "longitude": null
764
+ },
765
+ {
766
+ "pubid": "ZGHK-UC",
767
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
768
+ "url": "http://meme.yahoo.com/jtadeulopes/p/ZGHK-UC/",
769
+ "timestamp": "1244554568327",
770
+ "category": "text",
771
+ "type": "text",
772
+ "content": "esqueço que isso existe =/",
773
+ "repost_count": "1",
774
+ "appid": null,
775
+ "comment": "",
776
+ "caption": "",
777
+ "via_guid": null,
778
+ "origin_guid": null,
779
+ "origin_pubid": null,
780
+ "latitude": null,
781
+ "longitude": null
782
+ },
783
+ {
784
+ "pubid": "WJ5LbKA",
785
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
786
+ "url": "http://meme.yahoo.com/jtadeulopes/p/WJ5LbKA/",
787
+ "timestamp": "1244295733660",
788
+ "category": "photo",
789
+ "type": "photo",
790
+ "content": {
791
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2F86461996c08d49eff53dbe92c43890d0eb2f7302.jpeg",
792
+ "content": "http://d.yimg.com/gg/jtadeulopes/86461996c08d49eff53dbe92c43890d0eb2f7302.jpeg"
793
+ },
794
+ "repost_count": "0",
795
+ "appid": null,
796
+ "comment": "",
797
+ "caption": "Rafinha Bastos em São José dos Campos (Patrocínio Zigotto)",
798
+ "via_guid": null,
799
+ "origin_guid": null,
800
+ "origin_pubid": null,
801
+ "latitude": null,
802
+ "longitude": null
803
+ },
804
+ {
805
+ "pubid": "OEhmTsE",
806
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
807
+ "url": "http://meme.yahoo.com/jtadeulopes/p/OEhmTsE/",
808
+ "timestamp": "1244146620445",
809
+ "category": "photo",
810
+ "type": "photo",
811
+ "content": {
812
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Ff913d709ea9067d43d44bf74ea97e175906e0619.gif",
813
+ "content": "http://d.yimg.com/gg/jtadeulopes/f913d709ea9067d43d44bf74ea97e175906e0619.gif"
814
+ },
815
+ "repost_count": "7",
816
+ "appid": null,
817
+ "comment": "",
818
+ "caption": "",
819
+ "via_guid": null,
820
+ "origin_guid": null,
821
+ "origin_pubid": null,
822
+ "latitude": null,
823
+ "longitude": null
824
+ },
825
+ {
826
+ "pubid": "5xvLZnW",
827
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
828
+ "url": "http://meme.yahoo.com/jtadeulopes/p/5xvLZnW/",
829
+ "timestamp": "1243620853901",
830
+ "category": "photo",
831
+ "type": "photo",
832
+ "content": {
833
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fnerd%2F9664778ad7467d53a00ccec55d6d8e509f9250b6.jpeg",
834
+ "content": "http://d.yimg.com/gg/nerd/9664778ad7467d53a00ccec55d6d8e509f9250b6.jpeg"
835
+ },
836
+ "repost_count": "43",
837
+ "appid": null,
838
+ "comment": "to prestes a fazer isso =/",
839
+ "caption": "Suicidio Nerd",
840
+ "via_guid": "6ACH4EHICEZ4XTDV7C2JGCQ7UY",
841
+ "origin_guid": "4K2FM754JNQ6B3KZ4BAJJG76GY",
842
+ "origin_pubid": "U36KXyX",
843
+ "latitude": null,
844
+ "longitude": null
845
+ },
846
+ {
847
+ "pubid": "hiUWtuJ",
848
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
849
+ "url": "http://meme.yahoo.com/jtadeulopes/p/hiUWtuJ/",
850
+ "timestamp": "1243620675031",
851
+ "category": "text",
852
+ "type": "text",
853
+ "content": "feedback enviado ao meme =)",
854
+ "repost_count": "0",
855
+ "appid": null,
856
+ "comment": "",
857
+ "caption": "",
858
+ "via_guid": null,
859
+ "origin_guid": null,
860
+ "origin_pubid": null,
861
+ "latitude": null,
862
+ "longitude": null
863
+ },
864
+ {
865
+ "pubid": "qjpDkCE",
866
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
867
+ "url": "http://meme.yahoo.com/jtadeulopes/p/qjpDkCE/",
868
+ "timestamp": "1243519533618",
869
+ "category": "photo",
870
+ "type": "photo",
871
+ "content": {
872
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2Ff586a225bc93d21391501c4e5bcb977fce29767b.jpeg",
873
+ "content": "http://d.yimg.com/gg/jtadeulopes/f586a225bc93d21391501c4e5bcb977fce29767b.jpeg"
874
+ },
875
+ "repost_count": "0",
876
+ "appid": null,
877
+ "comment": "",
878
+ "caption": "vontade pegar essa estrada e ir pra bem longeeeee....",
879
+ "via_guid": null,
880
+ "origin_guid": null,
881
+ "origin_pubid": null,
882
+ "latitude": null,
883
+ "longitude": null
884
+ },
885
+ {
886
+ "pubid": "1gzIMrp",
887
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
888
+ "url": "http://meme.yahoo.com/jtadeulopes/p/1gzIMrp/",
889
+ "timestamp": "1243449776026",
890
+ "category": "photo",
891
+ "type": "photo",
892
+ "content": {
893
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Frenefraga%2F7ef1c4f6d4e64243589943cdeae5cde10abf9977.gif",
894
+ "content": "http://d.yimg.com/gg/renefraga/7ef1c4f6d4e64243589943cdeae5cde10abf9977.gif"
895
+ },
896
+ "repost_count": "4",
897
+ "appid": null,
898
+ "comment": "",
899
+ "caption": "Dor, muita dor....",
900
+ "via_guid": "JC2XTOWFUMVYIWBW4RYYRJ7G6Q",
901
+ "origin_guid": "JC2XTOWFUMVYIWBW4RYYRJ7G6Q",
902
+ "origin_pubid": "j5zw8rC",
903
+ "latitude": null,
904
+ "longitude": null
905
+ },
906
+ {
907
+ "pubid": "cCXwNWa",
908
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
909
+ "url": "http://meme.yahoo.com/jtadeulopes/p/cCXwNWa/",
910
+ "timestamp": "1243449741506",
911
+ "category": "text",
912
+ "type": "text",
913
+ "content": "no twitter é twitar...e no meme? memar? Oo hj ainda não memei ahuahuahauha #podre",
914
+ "repost_count": "0",
915
+ "appid": null,
916
+ "comment": "",
917
+ "caption": "",
918
+ "via_guid": null,
919
+ "origin_guid": null,
920
+ "origin_pubid": null,
921
+ "latitude": null,
922
+ "longitude": null
923
+ },
924
+ {
925
+ "pubid": "FqQ62aG",
926
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
927
+ "url": "http://meme.yahoo.com/jtadeulopes/p/FqQ62aG/",
928
+ "timestamp": "1243297548675",
929
+ "category": "photo",
930
+ "type": "photo",
931
+ "content": {
932
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjucarvalhoo%2F06cf654689674b7c8723bae5f6ffcf5330947f23.jpeg",
933
+ "content": "http://d.yimg.com/gg/jucarvalhoo/06cf654689674b7c8723bae5f6ffcf5330947f23.jpeg"
934
+ },
935
+ "repost_count": "202",
936
+ "appid": null,
937
+ "comment": "",
938
+ "caption": "Nerds...",
939
+ "via_guid": "ODWX4UHJKAX4RO4OOKBKPLHPKU",
940
+ "origin_guid": "GQYCRMFBURJFKIRFYZRIRKW754",
941
+ "origin_pubid": "7vYBLkc",
942
+ "latitude": null,
943
+ "longitude": null
944
+ },
945
+ {
946
+ "pubid": "v4gOXQG",
947
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
948
+ "url": "http://meme.yahoo.com/jtadeulopes/p/v4gOXQG/",
949
+ "timestamp": "1243297255155",
950
+ "category": "text",
951
+ "type": "text",
952
+ "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras aliquam, ligula id tempus pulvinar, ligula nulla sagittis sem, a vehicula risus lorem ut nunc. Aenean et justo non risus aliquam auctor a sit amet nunc. Pellentesque porta hendrerit quam, vel interdum dolor consequat non. Nam placerat ipsum ut nisi malesuada consectetur. Cras nec erat est. Ut sollicitudin ornare neque facilisis auctor. Aliquam commodo, justo nec tincidunt pretium, diam leo dignissim est, at tempus nisi est id massa. Maecenas nisi nulla, sollicitudin non tincidunt non, fringilla vel nibh. In interdum enim vel tellus pharetra quis luctus diam ullamcorper. In volutpat bibendum pulvinar. Aliquam vitae purus metus, eu aliquet nisi. Mauris magna neque, sagittis eu suscipit egestas, fringilla et sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.\n\nPraesent consectetur erat a massa accumsan sit amet luctus lectus auctor. Suspendisse non elit nec mi aliquet aliquam porttitor id magna. Nunc sit amet turpis nec justo pellentesque tincidunt. Donec ornare metus at lacus mattis vitae placerat purus malesuada. Cras semper ante rutrum orci faucibus aliquam. Morbi faucibus feugiat orci, et tincidunt velit condimentum non. Etiam rutrum mi non enim aliquam pharetra. Nullam vehicula iaculis nisi, non vehicula libero faucibus ac. Duis felis leo, sodales quis varius mattis, venenatis eget ante. Mauris venenatis, ipsum at aliquam ornare, urna augue varius tortor, at porttitor massa neque hendrerit massa. Ut et ipsum vitae ante adipiscing feugiat. Nulla rutrum tortor vel diam placerat ut tincidunt augue rhoncus. Donec ante nibh, dignissim non fermentum accumsan, euismod ac turpis.\n\nCurabitur lacinia elit ut quam rutrum molestie eu in tortor. Proin dignissim porttitor tellus eget venenatis. Nulla feugiat lacus id metus eleifend at sagittis tortor scelerisque. Cras eu est a nunc lacinia pharetra. Fusce vel lorem ac mi mattis eleifend. Donec interdum est accumsan nibh luct",
953
+ "repost_count": "0",
954
+ "appid": null,
955
+ "comment": "",
956
+ "caption": "",
957
+ "via_guid": null,
958
+ "origin_guid": null,
959
+ "origin_pubid": null,
960
+ "latitude": null,
961
+ "longitude": null
962
+ },
963
+ {
964
+ "pubid": "AWinsl4",
965
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
966
+ "url": "http://meme.yahoo.com/jtadeulopes/p/AWinsl4/",
967
+ "timestamp": "1243296028845",
968
+ "category": "text",
969
+ "type": "text",
970
+ "content": "#perdido #meme Oo",
971
+ "repost_count": "0",
972
+ "appid": null,
973
+ "comment": "",
974
+ "caption": "",
975
+ "via_guid": null,
976
+ "origin_guid": null,
977
+ "origin_pubid": null,
978
+ "latitude": null,
979
+ "longitude": null
980
+ },
981
+ {
982
+ "pubid": "HFGpl5K",
983
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
984
+ "url": "http://meme.yahoo.com/jtadeulopes/p/HFGpl5K/",
985
+ "timestamp": "1243294308616",
986
+ "category": "photo",
987
+ "type": "photo",
988
+ "content": {
989
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fjtadeulopes%2F2f293c7ea7d34e06d53efdadb9b2549a8cd480a7.jpeg",
990
+ "content": "http://d.yimg.com/gg/jtadeulopes/2f293c7ea7d34e06d53efdadb9b2549a8cd480a7.jpeg"
991
+ },
992
+ "repost_count": "6",
993
+ "appid": null,
994
+ "comment": "",
995
+ "caption": "",
996
+ "via_guid": null,
997
+ "origin_guid": null,
998
+ "origin_pubid": null,
999
+ "latitude": null,
1000
+ "longitude": null
1001
+ },
1002
+ {
1003
+ "pubid": "mkTjpYr",
1004
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
1005
+ "url": "http://meme.yahoo.com/jtadeulopes/p/mkTjpYr/",
1006
+ "timestamp": "1243294106934",
1007
+ "category": "text",
1008
+ "type": "text",
1009
+ "content": "memememememememe",
1010
+ "repost_count": "1",
1011
+ "appid": null,
1012
+ "comment": "",
1013
+ "caption": "",
1014
+ "via_guid": null,
1015
+ "origin_guid": null,
1016
+ "origin_pubid": null,
1017
+ "latitude": null,
1018
+ "longitude": null
1019
+ }
1020
+ ]
1021
+ }
1022
+ }
1023
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "query": {
3
+ "count": "2",
4
+ "created": "2010-08-21T08:26:08Z",
5
+ "lang": "en-US",
6
+ "results": {
7
+ "post": [
8
+ {
9
+ "pubid": "_mtvMQg",
10
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
11
+ "url": "http://meme.yahoo.com/jtadeulopes/p/_mtvMQg/",
12
+ "timestamp": "1276792904703",
13
+ "category": "photo",
14
+ "type": "photo",
15
+ "content": {
16
+ "thumb": "http://d.yimg.com/cc/img/resize/*/200x200/true/http%3A%2F%2Fd.yimg.com%2Fgg%2Fu%2F249612f4bd4d5efccf78278a1228a48c8afb9009.gifa",
17
+ "content": "http://d.yimg.com/gg/u/249612f4bd4d5efccf78278a1228a48c8afb9009.gifa"
18
+ },
19
+ "repost_count": "0",
20
+ "appid": null,
21
+ "comment": "",
22
+ "caption": "",
23
+ "via_guid": null,
24
+ "origin_guid": null,
25
+ "origin_pubid": null,
26
+ "latitude": null,
27
+ "longitude": null,
28
+ "img_original_url": "http://lh6.ggpht.com/_JtWk7d3YRZo/TBkSoFjMHMI/AAAAAAAALmw/zSYBlNEK5RQ/s800/beatingtetris.gif"
29
+ },
30
+ {
31
+ "pubid": "DDC038H",
32
+ "guid": "EMREXCV4R5OTM3CZW3HBD5QAGY",
33
+ "url": "http://meme.yahoo.com/jtadeulopes/p/DDC038H/",
34
+ "timestamp": "1273356913487",
35
+ "category": "text",
36
+ "type": "text",
37
+ "content": "a text post!",
38
+ "repost_count": "0",
39
+ "appid": "-QUERY58",
40
+ "comment": "",
41
+ "caption": "",
42
+ "via_guid": null,
43
+ "origin_guid": null,
44
+ "origin_pubid": null,
45
+ "latitude": null,
46
+ "longitude": null
47
+ }
48
+ ]
49
+ }
50
+ }
51
+ }
@@ -8,6 +8,10 @@ describe "Meme::Info" do
8
8
  @profile = Meme::Info.find('jtadeulopes')
9
9
  end
10
10
 
11
+ Meme::Info::VARS.each do |attr|
12
+ it { @profile.should respond_to(attr) }
13
+ end
14
+
11
15
  describe "::find" do
12
16
 
13
17
  it "if user not found, should return nil" do
@@ -108,4 +112,30 @@ describe "Meme::Info" do
108
112
 
109
113
  end
110
114
 
115
+ describe "#posts" do
116
+
117
+ before :each do
118
+ @query = "SELECT * FROM meme.posts(0) WHERE owner_guid='EMREXCV4R5OTM3CZW3HBD5QAGY';"
119
+ fake_web(@query, 'meme_user_posts.json')
120
+ end
121
+
122
+ it { @profile.should respond_to(:posts) }
123
+
124
+ Meme::Post::VARS.each do |attr|
125
+ it { @profile.posts.first.should respond_to(attr) }
126
+ end
127
+
128
+ it "should return user posts" do
129
+ query = "SELECT * FROM meme.posts(2) WHERE owner_guid='EMREXCV4R5OTM3CZW3HBD5QAGY';"
130
+ fake_web(query, 'meme_user_posts_count.json')
131
+ posts = @profile.posts(2)
132
+ posts.count.should == 2
133
+ end
134
+
135
+ it "when not specified quantity, should return all posts" do
136
+ @profile.posts.count.should == 51
137
+ end
138
+
139
+ end
140
+
111
141
  end
@@ -10,6 +10,10 @@ describe "Meme::Post" do
10
10
  @results = Meme::Post.find('meme rocks')
11
11
  end
12
12
 
13
+ Meme::Post::VARS.each do |attr|
14
+ it { @results.first.should respond_to(attr) }
15
+ end
16
+
13
17
  it "should return pubid" do
14
18
  @results.first.pubid.should == "yC8nqOd"
15
19
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meme
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
- - 2
8
- - 1
9
- version: 0.2.1
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
10
11
  platform: ruby
11
12
  authors:
12
13
  - "J\xC3\xA9sus Lopes"
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-05-01 00:00:00 -03:00
18
+ date: 2010-08-21 00:00:00 -03:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rspec
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 1
29
32
  - 2
@@ -67,6 +70,8 @@ files:
67
70
  - spec/fixtures/meme_search_type_audio.json
68
71
  - spec/fixtures/meme_search_type_photo.json
69
72
  - spec/fixtures/meme_search_type_video.json
73
+ - spec/fixtures/meme_user_posts.json
74
+ - spec/fixtures/meme_user_posts_count.json
70
75
  - spec/info_spec.rb
71
76
  - spec/meme_spec.rb
72
77
  - spec/search_spec.rb
@@ -82,23 +87,27 @@ rdoc_options:
82
87
  require_paths:
83
88
  - lib
84
89
  required_ruby_version: !ruby/object:Gem::Requirement
90
+ none: false
85
91
  requirements:
86
92
  - - ">="
87
93
  - !ruby/object:Gem::Version
94
+ hash: 3
88
95
  segments:
89
96
  - 0
90
97
  version: "0"
91
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
+ none: false
92
100
  requirements:
93
101
  - - ">="
94
102
  - !ruby/object:Gem::Version
103
+ hash: 3
95
104
  segments:
96
105
  - 0
97
106
  version: "0"
98
107
  requirements: []
99
108
 
100
109
  rubyforge_project:
101
- rubygems_version: 1.3.6
110
+ rubygems_version: 1.3.7
102
111
  signing_key:
103
112
  specification_version: 3
104
113
  summary: Ruby Yahoo! Meme API