Support » Plugin: Recent Facebook Posts » broken feed after update

  • Resolved jesperher

    (@jesperher)


    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    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!

    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

    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…

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Jesper,

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

    Plugin Author Danny van Kooten

    (@dvankooten)

    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!

    awesome,, and very much thanks for the help,, i will do that πŸ˜€

    Plugin Author Danny van Kooten

    (@dvankooten)

    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.

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘broken feed after update’ is closed to new replies.