Quantcast
Channel: Limit page news feed to grab JUST page's posts - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Limit page news feed to grab JUST page's posts

$
0
0

I'm using the facebook graph api to grab the news feed off a page using /username/feed?limit=20 -- is there an argument like the limit to just get their posts instead of including posts from fans?

Currently, I am able to call with this:

require_once "facebook.php";
$facebook = new Facebook(array('appId' => 'xxx','secret' => 'xxx'));
$fbstatus = $facebook->api('/pagename/feed?limit=20');

but it shows all of the page's posts including fans


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles



Latest Images