0
我一直在使用Facebook的GRAPH API删除Facebook墙贴,这是针对Android的。使用Facebook GRAPH API删除Facebook发布的消息? (For Android)
http://developers.facebook.com/docs/reference/api/post/
上面部位是我使用的删除部分。
和我把方法放入参数并覆盖通过http方法删除。
我在Facebook登录期间请求publish_stream,read_stream,user_photos,email来获得权限。
private void deleteStatus() {
try {
String id = "100003613093757_108952429235193"; // I put another ID //for test.
Bundle param = new Bundle();
param.putString("method", "delete");
BasicInfo.FacebookInstance.request(id, param, "POST");
} catch (Exception ex) {
ex.printStackTrace();
}
}
问题是,这只会出现错误。这是当我通过Logcat实现该方法时,该方法是chrome中请求的地址。