Created sample codes for twitter api