Created
July 18, 2013 17:54
-
-
Save brianly/6031434 to your computer and use it in GitHub Desktop.
How many things are wrong with this?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script data-app-id="YOUR APP ID" src="https://assets.yammer.com/platform/yam.js"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | |
</head> | |
<body> | |
<script> | |
$(function() { | |
$('head').append('<meta property="og:title" content="Site Title" /> '); | |
$('head').append('<meta property="og:url" content="http://www.google.com" />'); | |
yam.connect.actionButton({ | |
container: "#embedded-follow", | |
network: "YOUR NETWORK", | |
action: "follow", | |
}); | |
yam.connect.actionButton({ | |
container: "#embedded-like", | |
network: "YOUR NETWORK", | |
action: "like" | |
}); | |
}); | |
</script> | |
<div> | |
<div id="embedded-follow" style="float:left"></div> | |
<div id="embedded-like" style="padding-left:5px"></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment