Skip to content

Instantly share code, notes, and snippets.

@drewtang
Created January 17, 2013 22:14
Show Gist options
  • Save drewtang/4560317 to your computer and use it in GitHub Desktop.
Save drewtang/4560317 to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<script data-app-id="hyB2pTvrL36Y50py8EWj6A" src="https://assets.staging.yammer.com/platform/yam.js"></script>
<style type="text/css">
#embedded-follow {
width: 800px;
height:650px;
}
</style>
</head>
<body>
<script>
yam.connect.actionButton({
container: "#embedded-follow",
action: "follow",
objectProperties: {
type: "file",
title: "TITLE",
image: "http://earthintegrate.com/wp-content/uploads/2012/09/best-javascript-sites.jpg",
description: "DESCRIPTION",
site_name: "TEST SITE"
}
});
</script>
<div id="embedded-follow"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment