I am trying to follow your example on inserting the twitter login
button but nothing is showing up. Here is my code:
<div id="twitter-connect-placeholder"></div>
<script type="text/javascript">
var anywhereApiKey = "mykeyxxxxxxxxxx";
twttr.anywhere(anywhereApiKey, "1.0.0", onAnywhereLoad);
function onAnywhereLoad(twitter) {
// Simplest use case: Append a connect button to the specified
DOM
// element.
twitter("#twitter-connect-placeholder").connectButton();
// Connect buttons have a range of sizes to choose from:
// small, medium, large, xlarge. "medium" is the default size.
// You can specify the size as follows:
twitter("#twitter-connect-placeholder").connectButton({ size:
"large" });
};
</script>
This is in my head of my application.html.erb file
<script src="http://platform.twitter.com/anywhere.js?
id=myKeyxxxxxxxxx&v=1" type="text/javascript"></script>