@classmethod
def attach_twitter_ids(cls, response, username_field='twitter_username'):
    """
        For each account in the response, lookup the Account object
        and attach their Twitter ID to it.
        """
    updated = 0
    for obj in response:
        account = cls.objects.get(**{username_field: obj['screen_name']})
        account.twitter_id = obj['id']
        account.save()
        updated += 1
    return updated
