Created
March 22, 2013 20:57
-
-
Save drewtang/5224675 to your computer and use it in GitHub Desktop.
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
// 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