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
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) ?
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.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) ?