Support » Plugins » Sexybookmarks: FB buttons Like and Send not workin

  • Resolved editor



    after the latest upgrade, the FB Like button stopped working, giving an error message. The FB Send button stopped working after the previous upgrade. I’m using W3TC, but I excluded every Sexybookmarks javascript and CSS file from minify.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • editor


    Apparently, it’s a Facebook flaw, not plugin-specific. A fix is to submit single posts to the Facebook URL Lint, and clearing the cache thereafter.

    I’ll keep the thread open, in case someone has a better fix.

    Russell Jamieson



    Please can you introduce a defined constant for the spritegen folder – so I can configure this NOT to be located under wp-content/plugins which is read-only on my server.

    Each time you update the plugin I need to edit it to reconfigure spritegen to be in the wp-content/cache folder which is writeable.

    If would be really helpful if you could create a couple of constants for the spritegen location as this simplfies all the references to it in sexybookmarks.php and includes/helper_functions.php

    This is the tweak I make at the top of sexybookmarks.php:

    $pluginpath = '/plugins/'.plugin_basename(dirname(__FILE__)).'/';
    $content_path = defined('WP_CONTENT_URL') ? WP_CONTENT_URL : (get_option('siteurl').'/wp-content');
    $content_dir = defined('WP_CONTENT_DIR') ? WP_CONTENT_DIR : (ABSPATH.'/wp-content');
    if (!defined('SHRSB_SPRITEPATH')) define('SHRSB_SPRITEPATH',$content_path.'/cache/spritegen/');
    if (!defined('SHRSB_SPRITEDIR')) define('SHRSB_SPRITEDIR',$content_dir.'/cache/spritegen/');

    In my case I put spritegen under the cache as it is in fact a cached file that is there to improve performance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sexybookmarks: FB buttons Like and Send not workin’ is closed to new replies.