Using APIs

SICSS, 2022

Christopher Barrie

Introduction

  • Why get tweeters?
    • Get network characteristics
    • Get user demographics
    • Linked survey designs

Introduction

  • Why get tweeters?
    • Get network characteristics
    • Get user demographics
    • Linked survey designs

Getting tweeters example


Geolocating


Getting ideology

  • Using tweetscores


Getting demographics

  • Using M3 algorithm

https://github.com/euagendas/m3inference

Comparing to ground truth


Limitations

  • Measurement (estimation) error
  • Bias…?
    • Offline versus online populations

    • Geolocation bias (?)

  • Other applications…?

Group work

  1. Come up with a question answerable using get_user_followers() or get_user_following()
  2. Formulate code needed to request that data
  3. (If access granted) make the API call to get data
  4. Consider limitations + design considerations