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中請求的地址。