简体   繁体   中英

How to remove uploaded photo from facebook wall from application

I have a specific requirement that requires to remove the uploaded photo from facebook wall .The photo will be uploaded from the application too .We have post ids stored in database for each uploaded image.

Problem : i am unable to delete the uploaded photo by post id .I am able to delete the posted status by same way but when i try to delete the posted image than it gives me false response .

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

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

What i have found is , when you perform the same DELETE operation as per this link it will simply do unlike operation on the photo but couldnt remove it from the wall.

This is the link to graph api explorer tool of facebook link

For example : This is my post id : 100004659372340_187089248123053

But when i try to search my uploaded image via graph api explorer using this post id it gives me this error

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

I have given all permission from my facebook account. Why i am not able to search my uploaded photo from graph explorer ?

Please help me out with this.

I thank you in advance for paying attention to this .

You should be able to delete photos created by your app. If you're encountering issues please log a bug at https://developers.facebook.com/bugs/create and post the link here so others can subscribe.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM