title: Embedding Instagram via JavaScript
body: <p>We are using Instagram's oEmbed-API to get embed codes. However, we do not want to solely rely on that API and generate embed codes ourselves. The embed code as provided by the API (or the website) includes a lot of html, css image data and text content, all of that already has to be there before you can work the embed js on it. This is a problem because we cannot implement a generic embed code but have to know the instagram content for each photo or video in advance. </p>
  
  <p>My question is: Ist there a generic embed code, something like this, for instagram?</p>
  
  <pre><code>&lt;script async defer=\"defer\" src=\"//platform.instagram.com/en_US/embeds.js\"&gt;&lt;/script&gt;
  &lt;script&gt;instgrm.Embeds.genenerate('some instragram ID for instance')&lt;script/&gt;
  </code></pre>