title: BeautifoulSoup not returning everything in Facebook
body: <p>I'm trying to extract all the pages liked by a given person on Facebook. Therefore, I'm using Python with BeautifulSoup and selenium to automatize the connection.</p>
  
  <p>However, even though my code works, it doesn't actually return all the results (on my own profile, for instance, it only returns about 20% of all pages).</p>
  
  <p>I read that it might be the parser used in BeautifulSoup, but I tried a bunch of them (html.parser, lxml...) and it's always the same thing. 
  Could that be because Facebook is dynamically generating the pages with AJAX? But then I have Selenium, which should correctly interpret it..!
  Here is my code:</p>
  
  <pre><code>from selenium import webdriver
  from bs4 import BeautifulSoup
  import time
  
  id_user = ""
  
  driver = webdriver.Chrome()
  driver.get('https://facebook.com')
  driver.find_element_by_id('email').send_keys('')
  driver.find_element_by_id('pass').send_keys('')
  driver.find_element_by_id('loginbutton').click()
  time.sleep(2)
  
  pages_liked = "https://www.facebook.com/search/" + id_user + "/pages-liked"
  
  driver.get(pages_liked)
  
  soup = BeautifulSoup(driver.page_source, 'html.parser')
  
  likes_divs = soup.find_all('a', class_="_32mo")
  
  for div in likes_divs:
      print(div['href'].split("/?")[0])
      print(div.find('span').text)
  </code></pre>
  
  <p>Thank you very much,</p>
  
  <p>Loïc</p>