get twitter api data to render in browser