for Twitter API  Sample Code (ref. @yuumi3)