Skip to content

Instantly share code, notes, and snippets.

@patbenatar
Created September 17, 2012 19:39
Show Gist options
  • Save patbenatar/3739322 to your computer and use it in GitHub Desktop.
Save patbenatar/3739322 to your computer and use it in GitHub Desktop.
gow social json example
[
// 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