Skip to content

Instantly share code, notes, and snippets.

@flavioso16
Last active July 15, 2016 19:25
Show Gist options
  • Save flavioso16/476f60377ecf6375fdd0838559b70c49 to your computer and use it in GitHub Desktop.
Save flavioso16/476f60377ecf6375fdd0838559b70c49 to your computer and use it in GitHub Desktop.
var script = document.createElement('script');
script.src = 'https://apps.argos4.me/tool/scripts/facebook.js?v=1';
script.onload = function () {
argosFacebookShare.init
({
facebookAppKey: 763388567141272,
facebookAppID: 59,
segmentacao: 'VouDeMarisa',
authKey: '9ckwb46lyjtyy14i'
});
};
document.head.appendChild(script);
function onSucessOptinArgos(response) {
console.log('Optin success: ', response)
}
function onErrorOptinArgos() {
console.log('Optin error');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment