以下のコードを使用して「削除」リクエストを行うことができませんでした:
URLFetchService fetchService = URLFetchServiceFactory.getURLFetchService();
URL posturl = new URL("http://www.example.com/comment?token=xxx");
HTTPResponse response = fetchService.fetch(new HTTPRequest(posturl, HTTPMethod.DELETE));
int responseCode = response.getResponseCode();
これは Google Appengine 用です。「DELETE」リクエストは、facebook グラフ API 用です。上記のコードにより、ステータス コード 400 - Bad Request が返されます。
これは、facebook グラフ API 用に作成したオープン ソース Java ライブラリであるface4j用です。