Ceriwis

Ceriwis (https://forum.ceriwis.com/forum.php)
-   Programming (https://forum.ceriwis.com/forumdisplay.php?f=63)
-   -   Tanya Facebook PHP (https://forum.ceriwis.com/showthread.php?t=574355)

PHPmaster 20th November 2011 09:10 AM

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... :sorry:

</div>


All times are GMT +7. The time now is 02:06 PM.