我使用下面显示的捆绑在facebook上发布消息。
Bundle postParams = new Bundle();
postParams.putString("name", "Facebook SDK for Android");
postParams.putString("caption", "Build great social apps and get more installs.");
postParams.putString("description", "The Facebook SDK for Android makes it easier and faster to develop Facebook integrated Android apps.");
postParams.putString("link", "https://developers.facebook.com/android");
postParams.putString("picture", "https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png");
Request request = new Request(Session.getActiveSession(), "me/feed", postParams,
HttpMethod.POST, null);
RequestAsyncTask task = new RequestAsyncTask(request);
task.execute();
How to set an icon and add an action in a facebook post using facebook api? 我试过了,解决方案无法帮助我。
答案 0 :(得分:2)
您无法根据发布的邮件进行设置。出现在那里的图标是您从开发人员仪表板设置的图标。