def get_all_connections(self, id, connection_name, **args):
while True:<EOL><INDENT>page = self.get_connections(id, connection_name, **args)<EOL>for post in page["<STR_LIT:data>"]:<EOL><INDENT>yield post<EOL><DEDENT>next = page.get("<STR_LIT>", {}).get("<STR_LIT>")<EOL>if not next:<EOL><INDENT>return<EOL><DEDENT>args = parse_qs(urlparse(next).query)<EOL>del args["<STR_LIT>"]<EOL><DEDENT>
Get all pages from a get_connections call

        This will iterate over all pages returned by a get_connections call
        and yield the individual items.