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): ?>
,
Original post
get_error_message());?>
`