Learning to use Twitter and Wikipedia APIs