• The Problem is that facebook change the json,
    and you can fix the problem by edit this file
    wp-content/plugins/posts-social-shares-count/classes/share.count.php
    and go to function pssc_facebook
    and change the code inside it with this code

    $json_string = $this->file_get_contents_curl( 'https://graph.facebook.com/?id='.$this->url );
    $json = json_decode( $json_string, true );
    return isset( $json['share']['share_count'] ) ? intval( $json['share']['share_count']) : 0;
    • This topic was modified 7 years, 11 months ago by ollakalla.
    • This topic was modified 7 years, 11 months ago by ollakalla.
    • This topic was modified 7 years, 11 months ago by ollakalla.
    • This topic was modified 7 years, 11 months ago by ollakalla.
  • The topic ‘Fix Facebook Counter’ is closed to new replies.