Reputation:
I am trying to share some data over Facebook through below code but it is 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 help to just add these details once shared over FB? Thanks in advance.
Upvotes: 0
Views: 235
Reputation: 6899
As of April 18, 2017, the following parameters are no longer supported by Graph API versions 2.9 and higher. For versions 2.8 and lower, the parameters will continue working until July 17, 2017.
These params not supported by Facebook anymore.
For more info go to this Facebook Official doc
Upvotes: 1