Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
PHPmaster PHPmaster is offline
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>

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


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


no new posts