sample code for twitter provider: get timeline