删除图形API的照片标记 [英] Delete photo tag from Graph API

查看:230
本文介绍了删除图形API的照片标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个帮助用户消除不必要的标签的应用程序。我听到了很多抱怨FB不再允许将照片删除公共访问的...是同样的事情持续了标签?

我得到 {错误:{类型:OAuthException,消息:(#3)应用程序没有使这个API调用的能力}} 当我尝试通过

<$c$c>https://graph.facebook.com/some_photo_id/tags/user_id?access_token=a_valid_access_token&callback=whatever&method=delete&$p$ptty=0&sdk=joey

我得到同样的错误,如果我尝试一个AJAX DELETE请求或使用 FB.api('/ PID /标签/ UID','删除',函数(){})

我已经启用的权限:user_photos,friends_photos,publish_stream,publish_actions,user_status。难道我忘了一定的权限?

我真的AP preciate此问题的帮助。


解决方案

我已经能够上传照片,并添加一些随机的标签给它的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.

这篇关于删除图形API的照片标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆