def iter_followers(self, first_user_id=None):
while True:<EOL><INDENT>follower_data = self.get_followers(first_user_id)<EOL>first_user_id = follower_data["<STR_LIT>"]<EOL>if '<STR_LIT:data>' not in follower_data:<EOL><INDENT>return<EOL><DEDENT>for openid in follower_data['<STR_LIT:data>']['<STR_LIT>']:<EOL><INDENT>yield openid<EOL><DEDENT>if not first_user_id:<EOL><INDENT>return<EOL><DEDENT><DEDENT>
获取所有的用户openid列表

详情请参考
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140840

:return: 返回一个迭代器，可以用for进行循环，得到openid

使用示例::

    from wechatpy import WeChatClient

    client = WeChatClient('appid', 'secret')
    for openid in client.user.iter_followers():
        print(openid)