Making a more general twitter configuration to query