Posted By

gafitescu on 01/17/11


Tagged

facebookpage


Versions (?)

get the information about the page diggnation and post to the wall


 / Published in: PHP
 

  1. // get the information about the page diggnation and post to the wall
  2. $page = $facebook->api('/diggnation');
  3. // like this page
  4.  
  5. if ($page['can_post'] == 1) {
  6. $return = $facebook->api($page['id'].'/feed','post',array('message'=>'Keep up the good work!'));
  7. debug($return,1);
  8. }

Report this snippet  

You need to login to post a comment.