I went to a talk where a political figure spoke at my school. I followed her on Twitter, and surprisingly, she followed back. Why is this a problem for me?
My twitter feed is a mess. I'm being dramatic, but for the past couple of years, my twitter has been a sinkhole of desperate AP Biology work rants, miserable college application woes, lonely subtweets...in other words, very pathetic. I kept it on private purely because I was embarrassed about my crappy thoughts. How could I let an important role model see* that uncomposed side of me, especially when in this day and age, your social profile is a reflection of you?
I really wanted her* to follow me back, and my proposed solutions were as follow:
Make a work account and follow her again. Setbacks: She* doesn't follow me again :(
Manually delete tweets that are innappropriate. Setbacks: Carpal tunnel :(
Create an app that makes deleting tweets easy. Setbacks: I go crazy.
Example:
Search for the work "fuck," and begin mass annihilation.
In the name of ... I chose the latter after manually deleting 20 tweets ;)
I'm going to document my journey building this app. I've already got a small Flask app going so far that generates the last 200 tweets from my account, but I have a lot to work on. Tasks range from finishing my objective to optimizing the app (slow as FUCK right now).
Organizing the tweet information into button items. A questionable decision I made here was to make each tweet a separate form using Jinja2's templating. In the moment, I was thinking that it might be easier for people to just click individual ones to delete them, but I need to think about overall convenience... This is about mass tweeting, but does having a delete button readily accessible already make it more useful?
Moved the keys into a conf file, gitignored it. I learned that you can link it as such:
... if __name__ == "__main__": config={} execfile("twitter.conf", config) ...
so that the API keys can live in a separate file that I don't need to push to git. How exciting. The structure of the conf file is varname= varvalue where these variables become values in the config dictionary. To retrieve the varvalue, you do config[varname]. I also learned how to use gitignore!
Last week I set up tweepy, which was a lot easier than expected. The documentation for it is really straightforward. *props to them*
Did some bootstrap CSSing because I got really distracted.
* I'm being facetious. Clearly this important person wouldn't groom her own social media presence herself... Regardless, I'm just tryna be cool, ok.