Support » Plugin: Crafty Social Buttons » Tumblr share not working

  • Resolved meuro

    (@meuro)


    Hello i’ve been alerted from one of my clients that the tumblr share button isn’t working anymore.
    The reason seems to be the lack of protocol – the ‘http://’ or ‘https://’ – in the url passed from the button to the Tumblr API…
    Had a look at the code: it’s being removed intentionally by the author.. maybe for older specs but now this seems to break the whole process.

    Temporary FIX:
    in /services/class-SH_Tumblr.php comment line #22 to #26

    // Tumblr insists there is no protocol on the url
    		if (preg_match('[http://]', $url)) {
    			$url = str_replace('http://', '', $url);
    		} else if (preg_match('[https://]', $url)) { // check if https:// is included
    			$url = str_replace('https://', '', $url);
    		}

    hope the author will take note on the next release
    thanks 🙂
    Meuro

    https://wordpress.org/plugins/crafty-social-buttons/

Viewing 1 replies (of 1 total)
  • Plugin Author Sarah

    (@shen045)

    I have an update releasing today that switches to using the new Tumblr sharing url which includes the protocol in the URL.

    Tumblr did switch on a legacy mode for the old sharing URL and once they did that, the old url kept working for most sites in the meanwhile.

    Cheers,
    Sarah

Viewing 1 replies (of 1 total)
  • The topic ‘Tumblr share not working’ is closed to new replies.