Got tweet parsing function working