updated and working twitter api