Facebook API posting with PHP <5.5 without CurlFile class -
i'm having trouble uploading file facebook php versions before 5.5 curlfile class not available.
as understand, should use @filepath source , should work, reason returns
exception occured, code: 353 message: (#353) must select video file upload.
i've tried sending path using realpath() function, doesn't work.
$response = (new facebookrequest( $session, 'post', '/me/videos', array( 'source' => '@'.realpath($url), 'description' => $description, 'title' => $title ) ))->execute()->getgraphobject();
does have solution this?
Comments
Post a Comment