Latest 100 mentions - Twitter api
Posted
by
laurens
on Stack Overflow
See other posts from Stack Overflow
or by laurens
Published on 2012-06-25T09:03:08Z
Indexed on
2012/06/25
9:16 UTC
Read the original article
Hit count: 242
I'm looking to achieve the following:
For a specific person, for example BarackObama, I'd like to get the last 100 times/tweets he was mentioned. Not his own tweets but the tweets of others containing @BarackObama. In the end I'd like to have: the person who mentioned, location, datetime. This content should be written to a flat file.
I've been experimenting with the Twitter API and Python, with success but haven't yet succeeded achieving the above problem.
I know there is a dev sections on the twitter website but they don't provide any example of code!! https://dev.twitter.com/docs/api/1/get/statuses/mentions count=100 ....
For me the scripting language or way of doing is not relevant it's the result. I just read on the internet that python and Twitter api are a good match.
Thanks a lot in advance!!
© Stack Overflow or respective owner