WordPress.org

Forums

Simple Facebook Connect
Share comment on facebook doesn't work (5 posts)

  1. madri2
    Member
    Posted 2 years ago #

    Hello

    When using the "Allow FB Login to Comment (for non-registered users)" function, if the user check "share comment to facebook", and write a new comment,
    the comment isn't shared on facebook, while it should.

    thanks

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. madri2
    Member
    Posted 2 years ago #

    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}";

  3. madri2
    Member
    Posted 2 years ago #

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

  4. madri2
    Member
    Posted 2 years ago #

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

  5. madri2
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.