title: Use a web crawler to get data from a Facebook page
body: <p>I'm a little bit lost for the moment trying to write my thesis.</p>
  
  <p>I need to collect data from a facebook page, for later use them for network analysis. </p>
  
  <p>I need to collect for each message posted:</p>
  
  <blockquote>
    <ul>
    <li>ID of the message posted</li>
    <li>Content</li>
    <li>Type (picture, link, text or game)</li>
    <li>ID and name of the person who has posted the message</li>
    <li>Date of the creation of the message</li>
    <li>If it is case, dates of the possible updates</li>
    <li>Number of likes</li>
    <li>Names and IDs of the likers</li>
    <li>Number of shares</li>
    <li>Names and IDs of the sharers</li>
    <li>Number of comments</li>
    <li>Name and ID of the commentator + content of the comment  </li>
    <li>Number of page likers at each moment (before each message posted)</li>
    </ul>
  </blockquote>
  
  <p>Being not from the IT sector, i've got lots of difficulties. What's the easiest way to collect such data?</p>
  
  <p>Moreover, do you think that it's legal to try to get data on public facebook pages?</p>