i am getting error “Exception occured, code: 324 with message: (#324) Requires upload file” when i try to post an image using php facebook api.
my cpanel php version is php 5.4.42.
my code id
$response = (new FacebookRequest( $session, 'POST', '/me/photos', array( 'source' => '@'.realpath('wow.png'), 'message' => 'testing via facebook application' ) ))->execute()->getGraphObject();
i know my file path is wrong, how to currect it