开发者

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);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜