updated twitter api endpoints
reformatted file