Tagged: social media icons
Hi,
I’ve had a good look through the forum posts but can’t find anything related to this question.
I have created social media shortcodes in the text editor and then placed them into a footer widget as follows:
[av_social_share title='' style='' buttons='custom' share_facebook='aviaTBshare_facebook' share_twitter='aviaTBshare_twitter' share_gplus='aviaTBshare_gplus' share_tumblr='aviaTBshare_tumblr' share_mail='aviaTBshare_mail']
They appear fine as share icons, but when I try and share say on Facebook through the share link, the only information pulled is the site name and url. I have on page social media information set through an SEO plugin, but as these icons are in the footer, just the generic site name and url information is shared.
So, my question is, is it possible to modify the helper-social-media.php file to hardcode share information (text & url)?
Here are the lines in questions:
'facebook' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://www.facebook.com/sharer.php?u=[permalink]&t=[title]"),
'twitter' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://twitter.com/share?text=[title]&url=[shortlink]"),
'gplus' => array("encode"=>true, "encode_urls"=>false, "pattern" => "https://plus.google.com/share?url=[permalink]" , 'label' => __("Share on Google+",'avia_framework')),
'tumblr' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://www.tumblr.com/share/link?url=[permalink]&name=[title]&description=[excerpt]"),
'mail' => array("encode"=>true, "encode_urls"=>false, "pattern" => "mailto:?subject=[title]&body=[permalink]", 'label' => __("Share by Mail",'avia_framework') ),
And I was hoping to add something along the lines of:
MySite: An X, X and X Service | MySite offers x, y and z | http://www.mysite.com
Is this possible?
OK,
I’ve just tried the Facebook debugger to test the site sharing for issues, and it ‘is’ picking up the open graph data correctly, but the Twitter share is not:
Home http://mysite.com/