Reputation: 31
I post a message on facebook using the bundle shown below.
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? I had tried it, the solution can't help me.
Upvotes: 1
Views: 1067
Reputation: 1132
You can't set it per message you post. The icon that appears there is what ever the icon you set from the developer dashboard.
Upvotes: 2