I have several applications that upload an image to a user profile. A few hours ago, all the applications worked fine, but now when the download is requested, it gives this error
Fatal error: Uncaught OAuthException: (
I am using the following code to post an image.
$FILE = "images/$image"; $args = array('message' => 'My msg '); $args['image'] = '@' . realpath($FILE); $data = $facebook->api('/'.$uid.'/photos', 'post', $args);
Is it due to a policy change or some new feature?
I have all permissions, such as upload, set to true, and the application gets permission to upload the file.
Ps: when the application is used the 2nd time, it works fine.
source share