danielpronych / python-twitter

Automatically exported from code.google.com/p/python-twitter
Apache License 2.0
0 stars 0 forks source link

search API doesn't return tweet author #202

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
> searchresult = tapi.GetSearch("any")
> print [s.user. for s in searchresult]

Would expect to see username1, username 2, username3 etc.

instead, the output is [None, None, ....]

Running latest stable on Mac OS X 10.6

Original issue reported on code.google.com by goo...@brunoamaral.eu on 11 Jul 2011 at 1:43

GoogleCodeExporter commented 8 years ago
actually needed to add query users ="true" for it to work. please disregard.

Original comment by goo...@brunoamaral.eu on 23 Jul 2011 at 1:59

GoogleCodeExporter commented 8 years ago
to get username try this : 

print [s.user.screen_name for s in searchresult]

------
Skander Ben Mahmoud

Original comment by salexand...@gmail.com on 9 Aug 2011 at 4:54