Tagged: https, social share, SSL
-
AuthorPosts
-
September 4, 2018 at 11:26 pm #1005818
The share links that are included within this widget are directed at the HTTP version rather than the HTTPs version as it needs to be.
This is true for
Facebook
Pinterest
LinkedIn
Tumblr
VK
RedditWill the next version of Enfold correct this?
September 5, 2018 at 3:34 am #1005852Hey NicoleH,
Thank you for using Enfold.
Those links will still redirect to a secure connection when you click them but we’ll forward it to the team. You can edit the includes > helper-social-media.php file for now. Look for thsee codes around line 147:
'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')), 'pinterest' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://pinterest.com/pin/create/button/?url=[permalink]&description=[title]&media=[thumbnail]"), 'linkedin' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://linkedin.com/shareArticle?mini=true&title=[title]&url=[permalink]"), 'tumblr' => array("encode"=>true, "encode_urls"=>true, "pattern" => "http://www.tumblr.com/share/link?url=[permalink]&name=[title]&description=[excerpt]"), 'vk' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://vk.com/share.php?url=[permalink]"), 'reddit' => array("encode"=>true, "encode_urls"=>false, "pattern" => "http://reddit.com/submit?url=[permalink]&title=[title]"), 'mail' => array("encode"=>true, "encode_urls"=>false, "pattern" => "mailto:?subject=[title]&body=[permalink]", 'label' => __("Share by Mail",'avia_framework') ),
Best regards,
IsmaelSeptember 5, 2018 at 5:15 pm #1006219Ismael,
The links do redirect, but we got this message from Facebook:We’re requiring that all uses of Facebook Login come from pages served over HTTPS by October 6, 2018. All Facebook Login redirects or access tokens must use HTTPS, and insecure access calls will stop working on October 6, 2018.
Be sure to enable HTTPS by this date so that your URLs redirect properly and your app is not affected.
HTTPS helps keep transmitted information private and helps protect the security of people using your app and Facebook Login. If you are currently using HTTP, you can follow these instructions to enable HTTPS.
Visit our Facebook developer blog to learn more:
https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/.September 5, 2018 at 9:22 pm #1006337Hi,
Please change URL to:
‘facebook’ => array(“encode”=>true, “encode_urls”=>false, “pattern” => “https://www.facebook.com/sharer.php?u=%5Bpermalink%5D&t=%5Btitle%5D”),
should work :)
Best regards,
BasilisSeptember 6, 2018 at 11:01 am #1006537 -
AuthorPosts
- You must be logged in to reply to this topic.