Updates Twitter initializer to use non-deprecated variables.