Refactor fetching follow information to a separate function