I have my php app working fine, performing some other Graph API functions.
However, the following line:
$ret = $facebook->api("/1036102643/posts", "post", array('message'=>'This is a test
message', 'caption'=>'test message'));
Produces:
Fatal error: Uncaught GraphMethodException: Unsupported post request. thrown in /home/content/html/idvault/php-sdk/base_facebook.php on line 1106
Why am I getting this error? Am I missing required fields (but the API doesn’t mention any)?
in the js sdk its /me/feed or /a_group_id/feed