Skip to content

Instantly share code, notes, and snippets.

@drewtang
Created March 22, 2013 20:57
Show Gist options
  • Save drewtang/5224675 to your computer and use it in GitHub Desktop.
Save drewtang/5224675 to your computer and use it in GitHub Desktop.
// doesn't work
yam.connect.embedFeed({
feedType: "open-graph",
container: '#embedfeed',
network: 'contosofoods.onmicrosoft.com',
objectProperties: {
url: "https://box.com/file/abc123",
type: "file",
title: "Yammer ROI.pdf",
image: "https://dox.com/file/abc123.png"
}
});
// works
yam.connect.embedFeed({
container: "#embedded-feed",
network: "ognetwork.com",
feedType: "open-graph",
objectProperties: {
type: "file",
title: "All Three: Conflict 2 (success)",
image: "http://www.bpmwatch.com/wp-content/uploads/2012/10/success-baby.jpg",
description: "all three JS",
site_name: "Dropbox"
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment