Added logic for twitter, deprecated it seems