state support for twitter api