Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

FB Last Posts

Descripción

This plugin allows you to show posts from Facebook pages, groups and timelines directly on your website in a very simple way.
Plugin does not register shortcodes, JS scripts or any extra libraries, so it’s extremely clean & tiny and you are free to decide how your recent Facebook posts listing will look like.

If you are a fan of clean code (like me) without tons of extra scripts for plugin to work, you will definitely like this plugin. It’s extremely fast as it does not any unnecessary work and cleverly caches results.

Sample Usage

<?php
// try to get posts from Facebook
$fb_posts = fb_get_last_posts(10);

// check if result is not a WP error
if (!is_wp_error($fb_posts)):
    // loop through posts and show them
    foreach($fb_posts as $fb_post): ?>
        <div>
            <span class="author"><?php print esc_html($fb_post['author_name']);?></span>,
            <span class="date"><?php print date(get_option('date_format'), strtotime($fb_post['created_time']));?></span>
            <p><?php print esc_html($fb_post['message']); ?></p>
            <a href="<?php print $fb_post['permalink'];?>">Original post</a>
        </div>
    <?php endforeach;
else: 
    // or display an error ?>
    <div><?php print esc_html($fb_posts->get_error_message());?></div>
<?php endif; ?>

Capturas

  • Plugin settings page

Instalación

  1. Upload the fb-last-posts folder to the /wp-content/plugins/ directory.
  2. Activate plugin through the ‘Plugins’ menu in WordPress.
  3. Setup plugin through ‘Settings -> FB Last Posts’ menu. This page will guide you how to do everything you need to use this plugin.
  4. You are ready to go! Use fb_get_last_posts() function to get posts from Facebook (please check Description tab for an example).

Preguntas frecuentes

If you have any questions, please contact author on labas [at] blast [dot] lt

Colaboradores y desarrolladores

“FB Last Posts” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce “FB Last Posts” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0

  • Initial version