Today they
have already written about the new hash tag that conquered the global Twitter. All day the tag jumped from first to third place and back among the most popular trends. Looking at this outrage, we decided to make microbash out of tweets marked with this tag. At the time of this writing, the number of original tweets in our database has exceeded 15,000 (if counted with retweets, this is approximately 40,000 tweets).
Thank youPutinOnThisThe right decision was to first write the tweet collector, and, launching it into the background work, fasten the voting, moderator and other delights of the new microbash. The decision was right because the Twitter API
search method returns a maximum of 1500 recent tweets. This number in the middle of the day was typed in about 20 minutes.
Tweets in the tape are often funny, but more often they are stupid or written simply to promote their sites. And for this reason it was necessary to fasten the vote. Writing an anti-twist system in a couple of hours is practically unrealistic, and therefore they hooked likes from social networks. If there were no problems with the FB, then Vkontakte, as usual, is one thing in the documentation, but in fact it is different. Because there was almost no time, then we simply unscrewed the button code on the server side and parsed it to get the number of current likes. Crooked, but correct when it will be at that time.
')
All work took 6 hours. And now, until the metro is closed, we, with your permission, will go home. Laugh on health!
PS Vote, please, for tweets to sift out all the nonsense, leaving only the most delicious. It is, by the way, in the
TOP .