Add base code for Twitter API sample