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


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.