Support » Plugin: Simple Facebook Connect » Share comment on facebook doesn't work

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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}”;

    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’;

    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’);

    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.