title: Facebook page post embed option missing
body: <p>I have a Facebook page and no matter if the page is published or not, I don't have the "embed" option in my posts. The IKEA page on the other hand has that option.</p>
  
  <p>As I'm trying to display through javascript my posts as embed, I get the error that the post is not available, so I went to my page and saw that the "embed" option is missing.</p>
  
  <p><a href="https://developers.facebook.com/docs/plugins/embedded-posts" rel="nofollow noreferrer">https://developers.facebook.com/docs/plugins/embedded-posts</a></p>
  
  <p>What do I have to do to enable that option in my page?</p>
  
  <p><a href="https://i.stack.imgur.com/XDV3g.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XDV3g.png" alt="enter image description here"></a>
  The following represents the code I'm using to show the FB Post as embed:</p>
  
  <pre><code>$.each(response.posts, function(i, post)
  {
      var html = '&lt;div class="fb-post" data-href="' + post.permalink_url + '" data-width="200" data-show-text="true"&gt;&lt;/div&gt;';
  
      $(container).append(html);
  });
  
  FB.XFBML.parse();
  </code></pre>
  
  <p>And to all my page posts I receive the following FB error:</p>
  
  <p><a href="https://i.stack.imgur.com/gRLIs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gRLIs.png" alt="enter image description here"></a></p>
  
  <h1>Edit:</h1>
  
  <p>It seems that only posts created through Graph API does not contain the embed option. I'm using the following code to create the Page posts:</p>
  
  <pre><code>$data = ['message' =&gt; 'Just testing', 'published' =&gt; TRUE];
  
  $fb-&gt;post("$myPageId/feed", $data, $myPageToken);
  </code></pre>
  
  <p>And indeed the embed option does not appear in my facebook page, but according to the documentation <a href="https://developers.facebook.com/docs/graph-api/reference/v5.0/page/feed" rel="nofollow noreferrer">https://developers.facebook.com/docs/graph-api/reference/v5.0/page/feed</a> there is no param that I can use to enable the embed option.</p>
  
  <p>When creating the post directly through my facebook page the embed option shows.</p>