replaced depreciated keys for twitter