Ceriwis - View Single Post - Tanya Facebook PHP
View Single Post
  #1  
Old 20th November 2011
PHPmaster
Ceriwiser
 
Join Date: Nov 2011
Posts: 332
Rep Power: 14
PHPmaster mempunyai hidup yang Normal
Default Tanya Facebook PHP

Gan, saya mau post ke wall orang lain lewat apps nih, jadi ane masukin coding yang beginian nih :



//ini untuk cek apakah user dengan ID 100002060283859 bisa di kasih feed atau gak bro



$api_call = array(

'method' => 'users.hasAppPermission',

'uid' => '100002060283859',

'ext_perm' => 'publish_stream'

);



$can_post = $this->facebook->api($api_call);



tapi saya error



Requires a valid user is specified

Fatal error: Uncaught Exception: 240: Requires a valid user is specified (either via the session or via the API parameter for specifying the user. thrown in /home/hermanta/public_html/Melly_FB/system/plugins/facebook_pi.php on line 515



Help donk bagi yang tahu...

</div>