Viewing 5 replies - 1 through 5 (of 5 total)
  • john0321

    (@john0321)

    Hi Jyk, hi Danny,

    I post here because I’ve got more or less the same problem (on a local WordPress installation). The only difference is that for me truncation doesn’t work at all (along with two other problems detailed below – everything else looks fine).

    I added RFP function to my theme’s index.php this way:

    <?php recent_facebook_posts(array(					"likes" => "1",
    "comments" => "1",
    "excerpt_length" => "50",
    "number" => "13",
    "show_page_link" => "0", 										"el" => "div",
    "show_link_previews" => "1"));
    ?>

    Whatever the excerpt paramater I give, it returns the same.
    That is to say generally the full Facebook excerpt. And when that very one is itself truncated (on the Facebook page), then on WordPress it gets displayed the same PLUS a few more characters (never the same amount out of my 13 posts test – it seems random).

    Additionally (I’m not sure whether it is related or not), on the plugin’s admin page, whatever Image size and Image dimension paramaters I choose, the same got displayed – a small image with a specified width of 114px and unspecified height.

    Last, on the Facebook page, the post dating back from Feb 10th (or this link previewed in Facebook) is given no preview on WordPress (only appears the comments/like/time/link line).

    I’d be very interested with any suggestions!

    AirFlame

    (@airflame)

    Same here:

    ‘excerpt_length => 1000’
    “excerpt_length => 1000”
    “excerpt_length” => “1000”
    ‘excerpt_length’ => ‘1000’
    ‘excerpt_length’ => 1000

    Not working with the php file

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi guys,

    Hmm, that’s really strange. Thanks for confirming all, will take a look tomorrow! (It’s running a little late here, Europe)

    AirFlame

    (@airflame)

    any luck fixing it ? Btw it seems that number = 5 in php not working too.

    recent-facebook-posts/includes/class-public.php –> line 162–169

    I changed it there and it worked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘'excerpt_length' doesn't work for some posts’ is closed to new replies.