开发者

Change picture caption thru Graph Api C# Facebook

I need to know if it's possible to change the开发者_开发知识库 caption of a picture uploaded in facebook. I could upload without trouble, but now I want to change the caption using the facebook graph api. Is it possible? Thanks


It looks like the name field is what you want to POST to, in order to change the caption: https://developers.facebook.com/docs/reference/api/photo/

However, they don't support writing to it. The things you can write are listed here: https://developers.facebook.com/docs/reference/api/#publishing

It is possible to upload the photo with a new caption, but it looks as if the user has to approve the addition of a photo to his album, and I'm not sure that part is automatable.

Also, Facebook has blocked the ability to delete photos via the Graph API; so even with the approval barrier above you could not delete the photo with the old caption and upload it with a new caption, in order to effectively change the caption. The error message on sending the correct DELETE command is: {"error":{"type":"OAuthException","message":"(#3) Application does not have the capability to make this API call."}}

So the short answer is "it is apparently not possible as of June 11 2011".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜