dimanche 27 septembre 2020

How to make Facebook Embedded Posts update to the last post on the page?

I am not sure how to explain it. I hope you can get me.

Okay here we go:

I would like to include a Facebook post from a Facebook page on my website. I have read The documentation of Facebook for developers.

My code:

<div class="col-xs-12 col-lg-4">
        <div class="card">
          
          <div class="card-block">
            <div class="fb-post" data-href="https://www.facebook.com/Belhaj.global.ads/posts/166214251671796"
            data-show-text="true" data-width="" >
            <blockquote cite="https://www.facebook.com/Belhaj.global.ads/posts/166214251671796" class="fb-xfbml-parse-ignore">
              Posted by
              <a href="https://www.facebook.com/Belhaj.global.ads/">BELHAJ GLOBAL</a>
              on&nbsp;<a href="https://www.facebook.com/Belhaj.global.ads/posts/166214251671796"> August 25, 2020</a>
            </blockquote>
          </div>
          </div>
        </div>
      </div>

Output: enter image description here

I want it to be auto-update to the latest post when I post a new post on my Facebook page.

is there any way to make it auto-update?




Aucun commentaire:

Enregistrer un commentaire