1 (edited by chase 02-03-2016 21:48:11)

Topic: Facebook Share Link Fix!!!

If you are having trouble with you Facebook share link not working it is because Facebook changed their link parameter structure for using the sharer.php link.

This is a very simple fix.


First locate post.class.php

located here:
     admin\kernel\helpers\post.class.php


under the section:

    public static function facebook($text=false)

you will need to make the following change


the original code is:

    return 'https://www.facebook.com/sharer/sharer.php?u='.urlencode($text.' '.$url);


replace with:

    return 'https://www.facebook.com/sharer/sharer.php?u='.urlencode($url);