且构网

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

删除图形API的照片标记

更新时间:2023-12-05 19:30:04

我已经能够上传照片,并添加一些随机的标签给它的C#,但它似乎是不可能将其删除;这是奇怪的,因为如果你使用集成的应用程序在Windows手机,例如,你可以添加和删除你想不问题的任何标签,唯一的限制是很明显,你不能删除您没有创建标签,只有这WP集成功能与Facebook的在Android设备的应用程序都能够如此,但你会发现,在与Facebook的官方应用程序是不更多钞票来删除您创建你的朋友标签的Andr​​oid设备,只是你的。

如果你愿意,你可以给它这里尝试 :如果你指定照片的有效身份证和一个有效的Facebook用户ID,你仍然可以得到:

 错误:{
消息:(#3)中的应用不必使此API调用的能力。,
     类型:OAuthException,
     code:3
}

事实上,我在另一个论坛,该应用中,只能删除标记及照片,他们创造读,也没有比这更多,但事实并非如此,我上传并标有我的应用程序中的照片,但是当我试图删除标签这不是posssible。

I am trying to create an app that assists users in removing unwanted tags. I've heard a lot of complaining that FB no longer allows public access to the deletion of pictures... Is the same thing going on for tags?

I get {"error":{"type":"OAuthException","message":"(#3) Application does not have the capability to make this API call."}} when I try to do the deletion via

https://graph.facebook.com/some_photo_id/tags/user_id?access_token=a_valid_access_token&callback=whatever&method=delete&pretty=0&sdk=joey

I get the same error if I try an AJAX DELETE request or use FB.api('/pid/tags/uid', 'delete', function(){})

I have enabled the permissions: user_photos, friends_photos, publish_stream, publish_actions, user_status. Did I forget a certain permission?

I would really appreciate assistance with this issue.

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.

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.