code the template of sina weibo