Can't delete a photo through the Facebook API?

Suddenly, I can’t delete Facebook photos via the API. I get this error:

Array ( [error] => Array ( [type] => OAuthException [message] => (#3) Application does not have the capability to make this API call. ) ) 

What does it mean? He suddenly stopped working. Does it block Facebook? I read it. Is there any work?

+5
source share
3 answers

You're right; There is currently no public access to delete photos from an album through the Facebook API.

This is intentional, and there are no known workarounds. An application can delete open graphic actions or feed stories that it made, but not most other types of content, including photos.

+7
source

2012 , .

. , , curl/file_get_contents http://graph.facebook.com/[ID]?method=DELETE&access_token=[TOKEN], [ID] - , [TOKEN] - .

+1

-

" , . curl/file_get_contents https://graph.facebook.com/ID?method=DELETE&access_token=TOKEN ID - TOKEN - -. - mariomc Dec 17 '12 at 17:07"

, ,

$delete = file_get_contents('https://graph.facebook.com/<id photo>?method=DELETE&access_token=<access_token>');
echo $delete;
die;

access_token https://developers.facebook.com/tools/access_token/, .

0

All Articles