title: How to use HTML Parser to get Facebook source from origin
body: <p>I am trying to get the Facebook source code from users on facebook when I manually try going onto a users page it will give me all the data.</p>
  
  <p>This line of code in the html seems to be the difference:</p>
  
  <blockquote>
    <p>meta name="referrer" content="origin-when-crossorigin"
    id="meta_referrer"</p>
  </blockquote>
  
  <p>When the program gets the html this is what is given:</p>
  
  <blockquote>
    <p>meta name="referrer" content="default" id="meta_referrer"></p>
  </blockquote>
  
  <p>This is the code, I am using Jsoup which is a Java library </p>
  
  <pre><code>public void test() throws IOException {     
  
  String html = Jsoup.connect("https://www.facebook.com/*adduseridhere*").get().html(); 
  
  System.out.println(html);   }
  </code></pre>
  
  <p>So my question is, Is there a way my program can function in the same way my browser does when gathering the html data?</p>