-
Notifications
You must be signed in to change notification settings - Fork 307
Description
When I share on facebook it works fine showing all the details like Title, Meta description and url of page properly but on LinkedIn I am not able to see Meta Description of page. Below are the meta tags which I have added in section of my page.
<meta property="og:title" content="Site Name" />
<meta name="author" content="My Name" />
<meta property="og:locale" content="en_US" />
<meta property="og:url" content="Page URL" />
<meta property="og:site_name" content="SiteName" />
<meta property="og:type" content="article" />
<meta property="og:description" content="my site description with 133 characters"/>
<meta property="og:image" content="public_image_url_path"/>
<meta property="og:image:secure_url" content="public_image_url_path" />
and for social share button I have added below line:
<%= social_share_button_tag("my site description with 133 characters", :url => public_page_url, "data-linkedin-description": "my site description with 133 characters", desc: "my site description with 133 characters", :allow_sites => %w(linkedin), :image => 'public_url_of_image') %>
NOTE
Gem Version : social-share-button (1.2.0)
Rails Version : rails (5.0.7.1)
Ruby Version : ruby-2.5.3
any suggestion? Also when I share on twitter description part seems selected in the box, can't it be normal (unselected) ?