How to remove uploaded photo from facebook wall from application

I have a special requirement that requires to remove the uploaded photo from the facebook wall. The photo will also be downloaded from the application. We have message identifiers stored in the database for each uploaded image.

Problem: I cannot delete the uploaded photo by message id. I can delete the published status in the same way, but when I try to delete the published image, than this gives me a false answer.

I am using facebook sdk version 3.0. Which uses api chart to get each object.

You can link to this link http://developers.facebook.com/docs/reference/api/photo/

What I found when you perform the same DELETE operation according to this link, it will simply do as opposed to the operation in the photo, but cannot remove it from the wall.

This is a link to the api explorer graphic tool for facebook link

For example: This is my mail id: 100004659372340_187089248123053

But when I try to search for the downloaded image through the graphical api explorer using this message id, it gives me this error

{ "error": { "message": "Unsupported get request.", "type": "GraphMethodException", "code": 100 } } 

I got all permissions from my facebook account. Why can't I search for a downloaded photo from the graphic explorer?

Please help me with this.

I thank you in advance for your attention to this.

+4
source share
1 answer

You should be able to delete photos created by your application. If you encounter problems, please register the error at https://developers.facebook.com/bugs/create and send the link here so that others can subscribe.

+1
source

Source: https://habr.com/ru/post/1488745/


All Articles