A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Android FaceBook Share setLink Query
Joined: Jan 21, 2013
Feb 23, 2014 04:48:51
Does anybody now why we need the .setLink() method for the FaceBook dialog ShareDialogBuilder when displaying posts on users FB wall from app ?
If I remove or set to null the other parameters are not posted i.e. Description,
When users clicks post on FB they are navigated to link (which by default is
I have no use for this but can't seem to not include it, it include any other web address it overrides my content post from app driving me nuts
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();
PS also posted on StackOverFlow
I love deadlines, I love the whooshing sound they make as they fly by...
I agree. Here's the link:
subject: Android FaceBook Share setLink Query
Facebook chat for android
can v create this in java if yes name the technology we ll require ?
How to Integrate Facebook with Android 4.0 (Ice cream Sand-witch)
how to create this software in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014