For Facebook i know only sharing with this facebook feed dialog
https://developers.facebook.com/docs/android/share
or
with this code for the browser
Session.openActiveSession(this, true, new Session.StatusCallback()
{
@Override
public void call(Session session, SessionState state, Exception exception) {
if (session.isOpened()) {
share(session);
}
}
});
}
private void share(Session mySession) {
String message = "bla";
Bundle bundle = new Bundle();
bundle.putString("caption", "caption");
bundle.putString("description", message);
bundle.putString("link", "link");
bundle.putString("name", "title");
bundle.putString("picture", "");
new WebDialog.FeedDialogBuilder(this, mySession, bundle).build().show();
}
Hope it will help you