I'm trying to create a modification that allows you to share SMF topics with Facebook, Instagram and Twitter. I am researching the APIs of the different platforms to see how I use them and started with facebook developers - Share Button (https://developers.facebook.com/docs/plugins/share-button?locale=en_EN) Which tells me I should use the following code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
I have doubts about the external libraries, from the point of view to pass the validation of the team, in this case with the libraries (facebook, instagram, twitter) I am asked to use a specific one. Would the validation happen? or would I have to find a way to generate this library in the installation?.
Regards!
Not sure I understand what you mean, but an external library from Facebook is fine, basically it depends if the external library used looks secure or not.
https://wiki.simplemachines.org/smf/Customization_approval_guidelines#External_Libraries
@SychO That is my doubt about the type of library used, however, I do not know if it is only safe or not. That is why my question which bookstores will be approved or what criteria to take when using it.
Regards!