I am currently using selenium webdriver to parse through facebook user friends page and extract all ids from the AJAX script. But I need to scroll down to get all the friend
driver.execute_script("document.getElementById('your ID Element').scrollIntoView();")
it's working for my case.