Follow @dezfutak on Twitter!

var anywhereApiKey = “abcdefghi-123”;
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” });
};

No Comments

Be the first to start a conversation

Leave a Reply

  • (will not be published)