How To Post a Link on Facebook With Large Image Thumbnail | AUTO POST RSS FEED | RSS |

Posted: 2015-10-05

Today I will show you how to fetch facebook Open Graph(OG) meta tags with php script. Open Graph meta tags are used in html of website to generate previews of content.when your page is shared on facebook it will capture the og meta tags and generate the snippet.Meta tags are added inside the head tag.

Meta Keywords & their representation as follows,

og:title – The title of your article, excluding any branding.
og:site_name – The name of your website.
og:url – The canonical URL of the page.
og:description – A detailed description of the piece of content


As an example, the following is the Open Graph protocol :

<html prefix="og:">

<meta property="og:title" content="Post title" />
<meta property="og:type" content="News Site" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />