WordPress.org

Ready to get started?Download WordPress

Forums

Recent Facebook Posts
[resolved] broken feed after update (9 posts)

  1. jesperher
    Member
    Posted 9 months ago #

    hello.
    i updated this awesome plugin at my page to 1.7.1 today, but now its broken and im only gettings some warnings: (i installed it yesterday and there it worked)

    Warning: array_slice() expects parameter 1 to be array, string given in /home/jespervn/public_html/wp/wp-content/plugins/recent-facebook-posts/includes/RFBP.php on line 232
    
    Warning: Invalid argument supplied for foreach() in /home/jespervn/public_html/wp/wp-content/plugins/recent-facebook-posts/includes/RFBP.php on line 235

    my page is: http://jespervnielsen.dk/wp/
    and the feed is from https://www.facebook.com/kubertsfiskns

    i tried to delete the plugin at reinstall it, but that didnt work..

    also on a different note, when showing facebooks unicodes smileys, (see them on the fb page) it transforms to stupid squares..
    any help would be appriciated :)

    http://wordpress.org/plugins/recent-facebook-posts/

  2. Danny van Kooten
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Jesper,

    Strange, could you try hitting the "Renew Facebook Posts" button on the settings page of the plugin? If an error happens, it should show up there.

    I'll look into the smileys!

  3. jesperher
    Member
    Posted 9 months ago #

    that doesnt work either :/,, or,, it works.. well,, i get this response: "Cache renewed! You succesfully renewed the cache. "

    but it didnt help the feed

  4. jesperher
    Member
    Posted 9 months ago #

    well,, i just tried to use another facebook page, at there it works .. strange.. but its still a problem it still wont work with https://www.facebook.com/kubertsfiskns because im creating the wordpress site for them, and their biggest wish for the site was to show their facebook posts...

  5. Danny van Kooten
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Jesper,

    Managed to be able to replicate your issue, I'm on it!

  6. Danny van Kooten
    Member
    Plugin Author

    Posted 9 months ago #

    Hi Jesper,

    It had something to do with Scandinavian characters and the caching encoding used by WordPress. Fixed it in version 1.7.2.

    Also added conversion of the most common smileys.

    Hope that helps!

  7. jesperher
    Member
    Posted 9 months ago #

    awesome,, and very much thanks for the help,, i will do that :D

  8. Danny van Kooten
    Member
    Plugin Author

    Posted 9 months ago #

    Thanks Jesper!

    Just on a side note, some smileys will still be converted to squares as WordPress does not now how to handle them. I will work on a way to filter those in the next update.

  9. jesperher
    Member
    Posted 9 months ago #

    i know, but i was allready trying to get around this problem by doing some replacing, and then styling them by using the css from facebook

    <?php //make icons of facebook feed
    //this is line 283 in \plugins\recent-facebook-posts\includes rfbp before update..
    $wierdIcons = 	array(
    'fish' => 󾆽,
    'winking-face' => 󾍇
    );
    $myIcons = array(
    'fish'=>'<span class="fish"></span>',
    'winking-face' => '<span class="winking-face"></span>'
    );
    $content = str_replace($wierdIcons,$myIcons,$content);
    ?>

    but filter them out would also be good

Reply

You must log in to post.

About this Plugin

About this Topic