How add thumb image in custom Facebook share window? Part 2

Hello Friends!

Facebook has done some changes in his API so that’s why we are unable to define the “Share Image” in facebook share window in a way that was given on my last post but don’t worry i am here only for you 🙂

Using “OG Meta Tags” we can define facebook share window content, for more details about “OG Meta Tags” you can visit facebook official page

you have need to add the og meta tags in head section (between <head></head> tags) in given format :

<meta property="og:title" content="Your Title">

<meta property="og:image" content="Your image path">

<meta property="og:description" content="Your description">

After add the OG meta tag , you have need to add your share url (url that you want share) like this

For Example :Share My Blog

That’s All 🙂
Enjoy Code! | Raghunath Blog


Sr. Software Engineer

Tagged with: , , ,
Posted in Drupal, Joomla, Magento, PHP, Wordpress

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Recent Posts
%d bloggers like this: