Twitter endpoint, plus tests