Created
September 17, 2012 19:39
-
-
Save patbenatar/3739322 to your computer and use it in GitHub Desktop.
gow social json example
This file contains 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
[ | |
// Example post to be presented as text | |
{ | |
source: "twitter", | |
source_url: "http://twitter.com/giantcola", // We only need this if the URL can change between posts from the same source | |
title: "@giantcola", // This title can be anything from a twitter username to a tumblr post title (it will be displayed as the gold caps text in the design comp | |
body: "Here is an example tweet!", | |
weight: 1 // 1 or 2, affects the size of the tile | |
}, | |
// Example post to be presented as an image | |
{ | |
source: "tumblr", | |
source_url: "http://somesite.tumblr.com", // We only need this if the URL can change between posts from the same source | |
image_url: "http://url.to/image", | |
weight: 2 // 1 or 2, affects the size of the tile | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment