Meta for facebook, whatsapp and twitter

0 votes
212 views
added Nov 26, 2019 in HTML by lcjr First Warrant Officer (9,190 points)
<meta property="og:type" content="website"/>
<meta property="og:site_name" content="Edgeprop.my">
<meta property="og:url" content="<?php echo $ewfUrl; ?>" />
<meta itemprop="url" content="<?php echo $ewfUrl; ?>" />
<meta property="og:image" content="<?php echo $ewfImg; ?>" />
<meta itemprop="image" content="<?php echo $ewfImg; ?>" />
<meta name="image" content="<?php echo $ewfImg; ?>">
<meta name="twitter:image:src" content="<?php echo $ewfImg; ?>">
<meta property="og:title" content="<?php echo $ewfTitle; ?>" />
<meta name="twitter:title" content="<?php echo $ewfTitle; ?>">
<meta itemprop="name" content="<?php echo $ewfTitle; ?>">
<meta property="og:description" content="<?php echo $ewfDesc; ?>" />
<meta itemprop="description" content="<?php echo $ewfDesc; ?>">
<meta name="twitter:description" content="<?php echo $ewfDesc; ?>">
<meta name="description" content="<?php echo $ewfDesc; ?>">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:alt" content="<?php echo $ewfDesc ?>" />

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...