Anyone now, why do we need a method .setLink()for the FaceBook dialog ShareDialogBuilderwhen displaying user messages FB wallfrom the application?
If I delete or set to null, other parameters are not sent i.e. Description, image, etc.
When users click on a message in FB, they follow the link (which by default is https://developers.facebook.com/android ).
I cannot use this, but I cannot enable it.
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(LogDive.this)
.setLink("https://developers.facebook.com/android")
.setRequestCode(4)
.setApplicationName("Dive App")
.setName("Dive App- Dive Site....."+diveSiteString)
.setDescription(bottomDiveTime+ " minute dive at "+ waterTemperature +
" degrees celcuis, vizibilty "+viz+ " meters. Depth: "
+diveDepth+" meters. Dive Rating: "+diveRate+"/5!")
.setPlace(diveLoctionString)
.setPicture("http://i.stack.imgur.com/yJm5R.jpg?s=128&g=1")
.build();
source
share