Facebook share with link, title, description and image android -


i trying share data on facebook through below code not displaying.

sharedialog sharedialog = new sharedialog(billsdetailwebactivity.this); sharelinkcontent content = new sharelinkcontent.builder()                 .setcontenttitle(billtitle)                 .setimageurl(uri.parse("some image uri"))                 .setcontentdescription("some desc")                 .setcontenturl(uri.parse(preferencemanager.geturl()))                 .build(); sharedialog.show(content, sharedialog.mode.automatic); 

any add these details once shared on fb? in advance.

as of april 18, 2017, following parameters no longer supported graph api versions 2.9 , higher. versions 2.8 , lower, parameters continue working until july 17, 2017.

  • contenttitle
  • imageurl
  • contentdescription

these params not supported facebook anymore.

for more info go facebook official doc


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -