Skip to content

Instantly share code, notes, and snippets.

@dangerouse
Last active December 4, 2018 17:59
Show Gist options
  • Save dangerouse/2051002 to your computer and use it in GitHub Desktop.
Save dangerouse/2051002 to your computer and use it in GitHub Desktop.
CloudSponge Widget Reference - Specify Contact Sources
<!DOCTYPE html>
<html>
<head>
<!--
Include the script anywhere on your page, usually in the head
(don't forget to replace `localhost-only` with your CloudSponge key)
-->
<script src="https://api.cloudsponge.com/widget/localhost-only.js"></script>
<script>
// extra widget options go here:
cloudsponge.init({
// specify the sources to include in the sources page;
// This sample displays only the top 4 address books.
sources:['gmail', 'yahoo', 'windowslive', 'aol']
});
</script>
</head>
<body>
<a class="cloudsponge-launch">Add from Address Book</a>
<textarea class="cloudsponge-contacts"></textarea>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment