def process_post(post):
    if ('comments' in post):
        for comment in post['comments']['data']:
            commenter_id = comment['from']['id']
            if (commenter_id not in member_dict):
                member_dict[commenter_id] = comment['from']
                member_dict[commenter_id]['comment_count'] = 1
                member_dict[commenter_id]['like_count'] = comment['like_count']
            else:
                member_dict[commenter_id]['comment_count'] += 1
                member_dict[commenter_id]['like_count'] += comment['like_count']
            process_post(comment)
def process_post(post):
    if ('comments' in post):
        for comment in post['comments']['data']:
            commenter_id = comment['from']['id']
            if (commenter_id not in member_dict):
                member_dict[commenter_id] = comment['from']
                member_dict[commenter_id]['comment_count'] = 1
                member_dict[commenter_id]['like_count'] = comment['like_count']
            else:
                member_dict[commenter_id]['comment_count'] += 1
                member_dict[commenter_id]['like_count'] += comment['like_count']
            process_post(comment)