且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从 Graph API 中删除照片标签

更新时间:2023-12-05 19:33:52

我已经能够上传照片,并在 C# 上添加一些随机标签,但似乎无法删除它们;这很奇怪,因为例如,如果您在 Windows 手机中使用集成应用程序,您可以毫无问题地添加和删除任何您想要的标签,唯一的限制是显然您不能删除不是您创建的标签,只有这个 wpandroid 设备中的集成功能和 facebook 的应用程序能够做到这一点,但您会发现,在带有 facebook 官方应用程序的 android 设备中,无法删除您为朋友创建的标签,只能删除您的标签.

I've been able to upload a photo, and add some random tags to it on C#, but it seems to be impossible to remove them; it is weird because if you use the integrated app in a windows phone for example you can add and remove any tag you want without problems, the only restriction is that obviously you can't remove tags that you didn't create, only this wp integrated feature and the facebook's app in the android devices are capable of that but you'll find that in android devices with the facebook official app it is not posible to delete tags that you create of your friends, just yours.

如果您愿意,可以尝试此处,如果您指定有效的照片 ID以及您仍然获得的有效 Facebook 用户 ID:

If you want you can give it a try here where if you specify a valid photo id and a valid facebook user id you still get:

"error": {    
"message": "(#3) Application does not have the capability to make this API call.",
     "type": "OAuthException",
     "code": 3  
}

事实上,我在另一个论坛上读到,应用程序只能删除他们创建的标签和照片,仅此而已,但事实并非如此,我使用我的应用程序上传并标记了一张照片,但是当我尝试时删除标签这是不可能的.

In fact I read in another forum that the applications where only able to delete tags and photos that they create and no more than that, but that was not the case, I uploaded and tagged a photo with my app but when I tried to delete the tags It was not posssible.