Support » Plugin: Root Relative URLs » Facebook Share Not Working

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

    (@phallmisdgmailcom)

    I had a similar issue with Facebook Commenting. I believe it has to do with Facebook now requiring Absolute links. When you go to “Post to Wall”, when you are making a comment on a blog or website, the URL on your wall gets sent to a Facebook 404 page because the relative link from the sites gets posted as relative to facebook.com instead of the site you are commenting on. Any ideas for a work around?

    skel77

    (@skel77)

    based on another answer, You can have a dirty path to the code with the follow

    Find the function “static function proper_root_relative_url($url)” in the plugin

    add the following code at the top of the function
    if (stripos($url, 'connect.facebook.net') == false) return $url;

    click on ‘update file’.

    Now FB button should work

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook Share Not Working’ is closed to new replies.