How to use Facebook URL to post on website

Sponsored Ads

If you want to embed a Facebook post on your website using the post’s URL, you can follow these steps:

  1. Find the Post on Facebook:
  • Go to the Facebook post you want to embed on your website.
  1. Get the Post URL:
  • Click on the timestamp of the post (e.g., “2 hours ago” or the date).
  • Copy the URL from your browser’s address bar.
  1. Embedding the Post:
  • You can embed the post directly into your website’s HTML code. The process may vary depending on the platform you are using for your website (WordPress, Wix, custom HTML, etc.).
  1. Using Facebook Embed Code:
  • Facebook provides an embed code that you can use. Go to the Facebook Embedded Posts page and enter the URL you copied earlier.
  • Customize the appearance if needed.
  • Click on the “Get Code” button.
  • Copy and paste the provided code into the HTML of your website where you want the post to appear.

Here’s an example of what the embed code might look like:

<iframe src="" width="500" height="600" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true" allow="encrypted-media"></iframe>

Replace YOUR_POST_URL with the actual URL of your Facebook post.

  1. Preview and Publish:
  • Preview your website to see if the Facebook post appears as expected.
  • If everything looks good, save or publish your changes.

Keep in mind that embedding Facebook posts on your website may require compliance with Facebook’s terms of service, so it’s a good idea to review their policies regarding embedding content. Additionally, users visiting your website may need to be logged in to Facebook to view embedded posts if the post’s privacy settings require it.

About the author: darrychin Verified icon 1 Verified icon 2