I have updated the Titanium SDK of my app to Titanium 7.2.0 GA and since then i keep getting an error when i try to share something in my app with Facebook. The app uses the facebook module version 5.7.0.
The error appears in a webview facebook when i click on the share link, the error is : "The parameter 'href' or 'media' is required".
I've followed every recommandations of this page http://docs.appcelerator.com/platform/latest/#!/api/Modules.Facebook and even used their example code to test but i keep getting the same error.
Here is the code :
facebookBtn.addEventListener('click, function() {
fb.presentShareDialog({
link: 'https://appcelerator.com/',
hashtag: 'codestrong'
});
});
I can't figure out what is wrong.
Any idea ?