Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Twitter Coordinate Grabber Script (Tweepy)

I recently put together a script that would comb through followers or followed users of a specific user, returning the affected users along with their coordinates, the time the tweet with the coordinates was posted and a reference link to the tweet itself.

The code can be found here (HackForums would not let me paste my code here).

Let me know what you guys think! I plan on implementing the context of the tweet as well, but with emojis being in some of the tweets, it is not easy.

I am open to suggestions as well as improvements to the code itself, whether I can make it more efficient or something of the like.

EDIT: I should have also mentioned you need to create a Twitter application and use your own consumer key, consumer secret, access token and access token secret via https://apps.twitter.com
This code is great
of course you need to implementing the context of the tweet as well
safe the result in .html instead of txt and try to make it more organised
but keep going your code looks promising
Nicely done. Maybe you should spend more time on user validation and error handling.

Other than that, everything is great!
(Feb 2, 2016 02:08 AM)Lambasoft Wrote:  Nicely done. Maybe you should spend more time on user validation and error handling.

Other than that, everything is great!

Appreciate the feedback! You are definitely right. It didn't really occur to me to implement more error handling or user validation as I was one of few people using the script and wasn't thinking about end-users. For sure something to focus on. Thanks a bunch!
Nice work lad :D
I'll try it out.
Cool little script, thanks for posting.

Hey there,
If I have helped you or if you just enjoy my posts, please consider donating bitcoin to me 1DpL2kcxuidEsjt2MMN2AYufcVoXbi3v2X

[Image: FtwuQgr.gif]
Thanks for this I found the code to be very educational in itself.
Thanks for sharing,I learned a few things from this.Really good looking,good job! 🤝


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by BestandsextensieNov 14, 2018 07:49 PM 4 214 Nov 14, 2018 07:49 PM
Last Post: Louis
[Python] by sonqApr 13, 2018 10:51 AM 2 131 Apr 13, 2018 10:51 AM
Last Post: sonq
[Python] by Haters Ganna HateMar 22, 2018 07:24 AM 1 111 Mar 22, 2018 07:24 AM
Last Post: .kr.