miscellaneous utils for twitter