Search code examples
jsontwittertimestamp

Twitter Timestamps - Can they be overriden?


I'm sure the account @FifNdhs has popped in your time line, their tweets accurately "predicting" the outcome of the world cup final became viral after the game ended.

Most claim that the account wrote up every possible outcome, and deleted the wrong ones after the match. Seeing the level of detail the tweets were, it seems quite tedious.

So, my question is, could it have been done pragmatically? I know the documentation for the twitter API doesn't show the possibility of specifying a timestamp (See https://dev.twitter.com/docs/api/1.1/post/statuses/update) but don't you think there is a way around it?


Solution

  • Realistically, there are only a few possible outcomes of a football match - ignoring outliers like Germany's 7-1 defeat of Brazil.

    So, you need a program which will spit out (pseudo code):

    for $x = 0 to 5
        print "Team A $x - "
        for $y = 0 to 5
            print "$y - Team B"
    

    As for the goal scorers, all you need is a list of all the players and to iterate through it saying $player will score.

    So, yes, it is possible to do this in a non-tedious fashion.