facebook graph api - Error : (#1) An error occured while creating the share on php sdk -


i have php/javascript api on website posting messages on user wall depending on actions on website. use on 1 side javascript api logging user app , php sdk on other side posting on user wall link.

the thing when launch php graph api method, facebook respond me given error : error : array(1) { 'error' => array(3) { 'message' => string(46) "(#1) error occured while creating share" 'type' => string(14) "oauthexception" 'code' => int(1) } }

the php call :

$facebook->api( '/me/feed/', 'post' ,$data );

and data $data array message , link

but if exact same code in javascript( using fb.api('/me/feed' ) method), message posted on wall.

is there have missed ?


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -