Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter madri2

    (@madri2)

    i found the mistake
    file
    sfc-comments.php

    line 96
    $url = “https://graph.facebook.com/{$uid}/feed&access_token={$token}”;

    it should be ?access_token and not &access_token :
    $url = “https://graph.facebook.com/{$uid}/feed?access_token={$token}”;

    Thread Starter madri2

    (@madri2)

    and the text is not translated :
    $attachment[‘caption’] = ‘{*actor*} left a comment on ‘.get_the_title($postid);
    $attachment[‘message’] = get_comment_text($comment_id);

    $actions[0][‘name’] = ‘Read Post’;

    Thread Starter madri2

    (@madri2)

    to :

    $attachment[‘caption’] = ‘{*actor*} ‘._(‘left a comment on ‘,’sfc’).get_the_title($postid);
    $attachment[‘message’] = get_comment_text($comment_id);

    $actions[0][‘name’] = _(‘Read Post’, ‘sfc’);

    Thread Starter madri2

    (@madri2)

    oops, missed a “_”

    $attachment[‘caption’] = ‘{*actor*} ‘.__(‘left a comment on ‘,’sfc’).get_the_title($postid);
    $attachment[‘message’] = get_comment_text($comment_id);

    $actions[0][‘name’] = __(‘Read Post’, ‘sfc’);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Share comment on facebook doesn't work’ is closed to new replies.