简体   繁体   中英

Post limit on Facebook friend's wall with open graph api

I am building an app using open graph api (PHP sdk). I publish on my friends's wall through this loop :

// Where $ids is my array of friends ids
foreach($ids as $id) {
    $facebook->api('/'.$id.'/feed', 'post', array(
        'message' => 'my message',
        'link' => 'my link',
        'picture' => 'my picture')
    );
}

I know that before Facebook use a dynamic limit we could find in app "insight". It seems deprecated today. So i wonder if is there a limit for my stuff ? Can i loop 1000 entries without limitations ? I can't find any informations about this.

Thx

Im afraid to inform you that this will no longer work since the https://developers.facebook.com/roadmap/#february-2013

however there is a workaround, in order to get similar results you can tag your friends on posts, this way it would still display on their news feed.

An example of application that does that with the tags is:

http://sharetheweight.com.au/fbShareApp.php

This will tags your friends and will appear on Facebook with the with and will only appear to the news feed of the users you selected since it will create a user group with privacy enabled to just that group

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM