如何删除从我的Andr​​oid应用程序Facebook的帖子? [英] How can I delete a Facebook post from my Android app?

查看:129
本文介绍了如何删除从我的Andr​​oid应用程序Facebook的帖子?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何删除我的Andr​​oid应用程序Facebook发布,使用Facebook的Andr​​oid SDK中?

How can I delete a Facebook post from my Android application, using the Facebook Android SDK?

推荐答案

您可以删除帖子,如果你的应用程序创建的帖子。从帖子文档

You can delete a Post if your application created the post. Quoting from Post documentation

您可以删除帖子,只要你的应用程序创建的帖子。您可以通过发出HTTP DELETE请求POST_ID对象,publish_stream权限删除帖子。

You can delete a post as long as your application created the post. You delete a post by issuing an HTTP DELETE request to the POST_ID object with publish_stream permission.

如果删除成功,您将获得布尔有关成功返回。而且只要你想在Android上执行相同的,你会被要求使用的 请求方法 并通过列举HTTPMethod 删除删除帖子

If the delete is successful, you will get Boolean return about the success. And as you want to perform the same on Android you will be required to use Request method and pass HttpMethod as DELETE to delete the post

这篇关于如何删除从我的Andr​​oid应用程序Facebook的帖子?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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