通过Graph Api C#Facebook更改图片说明 [英] Change picture caption thru Graph Api C# Facebook
问题描述
我需要知道是否可以改变在Facebook上传的图片的标题。
我可以上传没有麻烦,但现在我想更改使用Facebook图表api的标题。可能吗?
谢谢
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
推荐答案
看起来像名称
字段是您想要POST到,以便更改标题: https://开发人员。 facebook.com/docs/reference/api/photo/
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/
但是,他们不支持写信给它。您可以撰写的内容如下: https://developers.facebook.com/docs / reference / api /#publishing
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.
此外,Facebook已经阻止了通过Graph API删除照片的功能;所以即使有上述审批障碍,您也无法使用旧的标题删除照片,并使用新的标题上传照片,以便有效地更改标题。发送正确DELETE命令的错误信息是: {error:{type:OAuthException,message:(#3)应用程序没有能力制作此API }}
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."}}
所以简短的答案是截至2011年6月11日显然是不可能的。
So the short answer is "it is apparently not possible as of June 11 2011".
这篇关于通过Graph Api C#Facebook更改图片说明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!