我是否知道是否有办法通过facebook sharedialog附上照片,如下面的代码?
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(this)
.setLink("https://developers.facebook.com/android")
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());
https://developers.facebook.com/docs/android/share/#linkshare
答案 0 :(得分:0)
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(this)
.setLink("https://developers.facebook.com/android")
.setPicture("https://raw.github.com/fbsamples/ios-3.x-howtos/master/Images/iossdk_logo.png")
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());