Log in

View Full Version : Tanya Facebook PHP


PHPmaster
20th November 2011, 09:10 AM
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... :sorry:

</div>