Skip to content

Instantly share code, notes, and snippets.

@tonycn
Last active August 29, 2015 14:03
Show Gist options
  • Save tonycn/642e909faaf24ed53b8d to your computer and use it in GitHub Desktop.
Save tonycn/642e909faaf24ed53b8d to your computer and use it in GitHub Desktop.
to define : image size, position
{
id:0,
type: 'pic',
content : {
title: "",
pic: "http://img3.douban.com/view/status/median/public/40feb715b79354c.jpg",
share_url:""
}
}
{
id:0,
type: 'pic_text',
content : {
title: "",
pic: "http://img3.douban.com/view/status/median/public/40feb715b79354c.jpg",
text:" 美食 ",
share_url:""
}
}
{
id:0,
type: 'video',
content : {
title: "",
pic: "http://img3.douban.com/view/status/median/public/40feb715b79354c.jpg",
video:"xxx.mp4",
text:" 美食 ",
share_url:""
}
}
{
id:0,
type: 'game',
content : {
game_id:'xxx',
share_url:""
}
}
{
id:0,
type: 'channel',
content : {
pic:'xxx',
text:'text'
channel_id:'xxx',
channel_name:'name',
share_url:""
}
}
{
id:0,
type: 'inquiry',
content : {
inquiry_id:'xxx',
share_url:""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment