'Returns a list of twitter user id\'s for every person
that is following the specified user.
Args:
user_id:
The id of the user to retrieve the id list for
[Optional]
screen_name:
The screen_name of the user to retrieve the id list for
[Optional]
cursor:
Specifies the Twitter API Cursor location to start at.
Note: there are pagination limits.
[Optional]
stringify_ids:
if True then twitter will return the ids as strings instead of integers.
[Optional]
count:
The number of user id\'s to retrieve per API request. Please be aware that
this might get you rate-limited if set to a small number. By default Twitter
will retrieve 5000 UIDs per call.
[Optional]
total_count:
The total amount of UIDs to retrieve. Good if the account has many followers
and you don\'t want to get rate limited. The data returned might contain more
UIDs if total_count is not a multiple of count (5000 by default).
[Optional]
Returns:
A list of integers, one for each user id.'

def GetFollowerIDs(self, user_id=None, screen_name=None, cursor=(-1), stringify_ids=False, count=None, total_count=None):

    url = ('%s/followers/ids.json' % self.base_url)
    if (not self._oauth_consumer):
        raise TwitterError('twitter.Api    instance    must    be    authenticated')
    parameters = {}
    if (user_id is not None):
        parameters['user_id'] = user_id
    if (screen_name is not None):
        parameters['screen_name'] = screen_name
    if stringify_ids:
        parameters['stringify_ids'] = True
    if (count is not None):
        parameters['count'] = count
    result = []
    while True:
        if (total_count and (total_count < count)):
            parameters['count'] = total_count
        parameters['cursor'] = cursor
        json = self._FetchUrl(url, parameters=parameters)
        data = self._ParseAndCheckTwitter(json)
        result += [x for x in data['ids']]
        if ('next_cursor' in data):
            if ((data['next_cursor'] == 0) or (data['next_cursor'] == data['previous_cursor'])):
                break
            else:
                cursor = data['next_cursor']
                total_count -= len(data['ids'])
                if (total_count < 1):
                    break
        else:
            break
    return result
