I'm new to andoird development, have a bit of java knowledge and I am currently stuggling to implement a facebook share option in my andorid app.
I have code of an android app and I want to add an option upon clicking, the user shares my app to facebook.
I have imported the Facebook SDK etc and added everything needed to the manifest, however I'm now struggling to get the share to facebook working, I want to use the 'ShareLinkContent' option.
I have tried to follow the facebook developers page and many pages on here such as:-
Integrating Facebook Sharing into my app
However as I purchased the app source code, I haven't done much in terms of android coding.
I've tried adding this bit of code to the 'case' in my code:-
ShareLinkContent content = new ShareLinkContent.Builder()
.setContentTitle("This is the title")
.setContentDescription("This is the description")
.setContentUrl(Uri.parse("www.google.com"))
.build();
However, when clicking the button nothing shows up? Any help would be much appreciated.
Thanks