title: How to scrape LinkedIn for connections with Google Sheets
body: <p>Trying to scrape my LinkedIn account for the first 20 connections using Google Sheets. </p>
  
  <p>I'm guessing that it's not working because I'm asking for "mynetwork" but that doesn't give Google Sheets an id? Not sure, I'm brand new to Google Sheets. </p>
  
  <p>Any help GREATLY appreciated!</p>
  
  <p><strong>I've tried the following:</strong></p>
  
  <hr>
  
  <pre><code>=ImportFeed( "https://www.linkedin.com/mynetwork/invite-connect/connections/")
  </code></pre>
  
  <blockquote>
    <p>ERROR Imported Content is Empty</p>
  </blockquote>
  
  <hr>
  
  <pre><code>=IMPORTXML( "https://www.linkedin.com/mynetwork/invite-connect/connections/", "//div[@class="ember-view")")
  </code></pre>
  
  <blockquote>
    <p>ERROR Formula Parse Error</p>
  </blockquote>
  
  <hr>
  
  <pre><code>=IMPORTHTML("https://www.linkedin.com/mynetwork/invite-connect/connections/", "list", "1")
  </code></pre>
  
  <blockquote>
    <p>ERROR Could not fetch url: <a href="https://www.linkedin.com/mynetwork/invite-connect/connections/" rel="nofollow noreferrer">https://www.linkedin.com/mynetwork/invite-connect/connections/</a></p>
  </blockquote>
  
  <hr>