How to get facebook page news feeds

Its been a long i have not shared any information with you, so i just want to share new and hot stuff on hot to get facebook page news feeds. The reason behind writing this blog is earlier the facebook offline_access was working and it was very easy to manipulate but as this is been deprecated, it hampered the working functionality. so i had to find a way so that we can get the facebook page news feeds. After little hide and seek i found the solution using that we can fetch the facebook page news feeds.

Quick and easy steps to get facebook page news feeds.

Step 1: Download the facebook php sdk, if already have please ignore (May be need facebook latest lib file so please update those).

Step 2: Use following code and get the facebook page news feeds.

   include('facebook.php');
   $fb_config = array('appId'  => 'xxxxxxxxxxxxxxxx', 'secret' => 'xxxxxxxxxxxxxxxx');
   $facebook = new Facebook($fb_config);
   $feed = $facebook->api("/facebookpageid/feed?fields=message&created_time&limit=5");
   print_r($feed);

You are done with your job.

Share this nice post:

One thought on “How to get facebook page news feeds

  1. Just finished the entire set of training video clips you have kindly shared with us…fantastic things. I can see your passion in everything that you just do. You might have taken a fresh perspective to the industry as a whole and are shaping the long term with every single new idea. I can’t wait to view what you come up with.

Leave a Reply

Your email address will not be published. Required fields are marked *