Delete Facebook photo using Facebook C# SDK
How can I delete a Facebook photo.
I'm using Facebook C# SDK :
FacebookClient fb = new FacebookClient(acces_token);
fb.DeleteComplete += (s, e) => { //... };
fb.DeleteAsync("/" + photo_id);
It seems that doesn't work.My photo is still on my Facebook album. Do I need additional permissions besides "use开发者_开发技巧r_photos"?
Thank you.
Try this...
fb.DeleteAsync("/photos/" + photo_id);
instead of just this...
fb.DeleteAsync("/" + photo_id);
精彩评论