implement some function for calling twitter API
tiny fix