get_user_from_url('https://www.facebook.com/inspirationfeed'); // API DATA // Create App ID and Secret -> https://developers.facebook.com/apps/?action=create $app_id = 'your-app-id'; $app_secret = 'your-app-secret'; // GET POSTS $post_feed = $facebook->get_post_feed($user_id,$app_id,$app_secret,5); ?>