Latest 100 mentions - Twitter api
- by laurens
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!!