通过Android应用程序共享facebook链接,不带图片

通过Android应用程序共享facebook链接,不带图片,android,Android,我使用下面的代码将图片和url发布到facebook墙上 private void postToWall() { if (facebook != null) { if (facebook.isSessionValid()) { Bundle b = new Bundle(); b.putString("picture", "imageurl"); b.putString("cap

我使用下面的代码将图片和url发布到facebook墙上

          private void postToWall() {
    if (facebook != null) {
        if (facebook.isSessionValid()) {
            Bundle b = new Bundle();
            b.putString("picture", "imageurl");

            b.putString("caption", "Testing");
            b.putString("description", "Testing in android");
            b.putString("name", "naveen");

            b.putString("link", "http://funmango.com/");
            try {
                String strRet = "";
                strRet = facebook.request("/me/feed", b, "POST");
                JSONObject json;
                try {
                    json = Util.parseJson(strRet);
                    if (!json.isNull("id")) {
                        Log.i("Facebook", "Image link submitted.");
                    } else {
                        Log.e("Facebook", "Error: " + strRet);
                    }
                } catch (FacebookError e) {
                    Log.e("Facebook", "Error: " + e.getMessage());
                }
            } catch (Exception e) {
                Log.e("Facebook", "Error: " + e.getMessage());
            }
        }
    }
}
但我的要求是,如果没有图像,我只想发布文本并链接到墙上

提前谢谢