微信ChatEmoji表情适配,对微信公众号开发有帮助

Posted wxhwpmdyz

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了微信ChatEmoji表情适配,对微信公众号开发有帮助相关的知识,希望对你有一定的参考价值。

最近做微信公众号时发现微信ChatEmoji表情与接受的消息显示表情的问题,

微信表情后面的ChatEmoji显示不出,花了一些时间整理,把pc和手机的表情全部都整理了,

由于有两百多个显示可能有点长,所以都放在了QQ交流群::929412850

ChatEmoji图片和对应的ChatEmoji文字都打包好了,

下面的能解决微信前几排表情显示

//第一排
               new Chat { Url = "Wechat/1/emoji_001.png", text ="[微笑]"        ,gifchat = "/::)"},
               new Chat { Url = "Wechat/1/emoji_002.png", text ="[撇嘴]"        ,gifchat = "/::~"},
               new Chat { Url = "Wechat/1/emoji_003.png", text ="[色]"          ,gifchat = "/::B"},
               new Chat { Url = "Wechat/1/emoji_004.png", text ="[发呆]"        ,gifchat = "/::|"},
               new Chat { Url = "Wechat/1/emoji_005.png", text ="[得意]"        ,gifchat = "/:8-)"},
               new Chat { Url = "Wechat/1/emoji_006.png", text ="[流泪]"        ,gifchat = "/::<"},
               new Chat { Url = "Wechat/1/emoji_007.png", text ="[害羞]"        ,gifchat = "/::$"},
               new Chat { Url = "Wechat/1/emoji_008.png", text ="[闭嘴]"        ,gifchat = "/::X"},
               new Chat { Url = "Wechat/1/emoji_009.png", text ="[睡]"          ,gifchat = "/::Z"},
               new Chat { Url = "Wechat/1/emoji_010.png", text ="[大哭]"        ,gifchat = "/::‘("},
               new Chat { Url = "Wechat/1/emoji_011.png", text ="[尴尬]"        ,gifchat = "/::-|"},
               new Chat { Url = "Wechat/1/emoji_012.png", text ="[发怒]"        ,gifchat = "/::@"},
               new Chat { Url = "Wechat/1/emoji_013.png", text ="[调皮]"        ,gifchat = "/::P"},
               new Chat { Url = "Wechat/1/emoji_014.png", text ="[呲牙]"        ,gifchat = "/::D"},
               new Chat { Url = "Wechat/1/emoji_015.png", text ="[惊讶]"        ,gifchat = "/::O"},
           //第二排    
               new Chat { Url = "Wechat/2/emoji_016.png", text ="[难过]"        ,gifchat = "/::("},
               new Chat { Url = "Wechat/2/emoji_017.png", text ="[酷]"          ,gifchat = "/::+"},
               new Chat { Url = "Wechat/2/emoji_018.png", text ="[冷汗]"        ,gifchat = "/:-b"},
               new Chat { Url = "Wechat/2/emoji_019.png", text ="[抓狂]"        ,gifchat = "/::Q"},
               new Chat { Url = "Wechat/2/emoji_020.png", text ="[吐]"          ,gifchat = "/::T"},
               new Chat { Url = "Wechat/2/emoji_021.png", text ="[偷笑]"        ,gifchat = "/:,@P"},
               new Chat { Url = "Wechat/2/emoji_022.png", text ="[愉快]"        ,gifchat = "/:,@-D"},
               new Chat { Url = "Wechat/2/emoji_023.png", text ="[白眼]"        ,gifchat = "/::d"},
               new Chat { Url = "Wechat/2/emoji_024.png", text ="[傲慢]"        ,gifchat = "/:,@o"},
               new Chat { Url = "Wechat/2/emoji_025.png", text ="[饥饿]"        ,gifchat = "/::g"},
               new Chat { Url = "Wechat/2/emoji_026.png", text ="[困]"          ,gifchat = "/:|-)"},
               new Chat { Url = "Wechat/2/emoji_027.png", text ="[惊恐]"        ,gifchat = "/::!"},
               new Chat { Url = "Wechat/2/emoji_028.png", text ="[流汗]"        ,gifchat = "/::L"},
               new Chat { Url = "Wechat/2/emoji_029.png", text ="[憨笑]"        ,gifchat = "/::>"},
               new Chat { Url = "Wechat/2/emoji_030.png", text ="[悠闲]"        ,gifchat = "/::,@"},
               //第三排
               new Chat { Url = "Wechat/3/emoji_031.png", text ="[奋斗]"        ,gifchat = "/:,@f"},
               new Chat { Url = "Wechat/3/emoji_032.png", text ="[咒骂]"        ,gifchat = "/::-S"},
               new Chat { Url = "Wechat/3/emoji_033.png", text ="[疑问]"        ,gifchat = "/:?"},
               new Chat { Url = "Wechat/3/emoji_034.png", text ="[嘘]"          ,gifchat = "/:,@x"},
               new Chat { Url = "Wechat/3/emoji_035.png", text ="[晕]"          ,gifchat = "/:,@@"},
               new Chat { Url = "Wechat/3/emoji_036.png", text ="[疯了]"        ,gifchat = "/::8"},
               new Chat { Url = "Wechat/3/emoji_037.png", text ="[哀]"        ,gifchat = "/:,@!"},
               new Chat { Url = "Wechat/3/emoji_038.png", text ="[骷髅]"        ,gifchat = "/:!!!"},
               new Chat { Url = "Wechat/3/emoji_039.png", text ="[敲打]"        ,gifchat = "/:xx"},
               new Chat { Url = "Wechat/3/emoji_040.png", text ="[再见]"        ,gifchat = "/:bye"},
               new Chat { Url = "Wechat/3/emoji_041.png", text ="[擦汗]"        ,gifchat = "/:wipe"},
               new Chat { Url = "Wechat/3/emoji_042.png", text ="[抠鼻]"        ,gifchat = "/:dig"},
               new Chat { Url = "Wechat/3/emoji_043.png", text ="[鼓掌]"        ,gifchat = "/:handclap"},
               new Chat { Url = "Wechat/3/emoji_044.png", text ="[糗大了]"        ,gifchat = "/:&-("},
               new Chat { Url = "Wechat/3/emoji_045.png", text ="[坏笑]"        ,gifchat = "/:B-)"},
               //第四排  
               new Chat { Url = "Wechat/4/emoji_046.png", text ="[左哼哼]"        ,gifchat = "/:<@"},
               new Chat { Url = "Wechat/4/emoji_047.png", text ="[右哼哼]"        ,gifchat = "/:@>"},
               new Chat { Url = "Wechat/4/emoji_048.png", text ="[哈欠]"        ,gifchat = "/::-O"},
               new Chat { Url = "Wechat/4/emoji_049.png", text ="[鄙视]"        ,gifchat = "/:>-|"},
               new Chat { Url = "Wechat/4/emoji_050.png", text ="[委屈]"        ,gifchat = "/:P-("},
               new Chat { Url = "Wechat/4/emoji_051.png", text ="[快哭了]"        ,gifchat = "/::‘|"},
               new Chat { Url = "Wechat/4/emoji_052.png", text ="[阴险]"        ,gifchat = "/:X-)"},
               new Chat { Url = "Wechat/4/emoji_053.png", text ="[亲亲]"        ,gifchat = "/::*"},
               new Chat { Url = "Wechat/4/emoji_054.png", text ="[吓]"          ,gifchat = "/:@x"},
               new Chat { Url = "Wechat/4/emoji_055.png", text ="[可怜]"        ,gifchat = "/:8*"},
               new Chat { Url = "Wechat/4/emoji_056.png", text ="[菜刀]"        ,gifchat = "/:pd"},
               new Chat { Url = "Wechat/4/emoji_057.png", text ="[西瓜]"        ,gifchat = "/:<W>"},
               new Chat { Url = "Wechat/4/emoji_058.png", text ="[啤酒]"        ,gifchat = "/:beer"},
               new Chat { Url = "Wechat/4/emoji_059.png", text ="[篮球]"        ,gifchat = "/:basketb"},
               new Chat { Url = "Wechat/4/emoji_060.png", text ="[乒乓]"        ,gifchat = "/:oo"},
               //第五排  
               new Chat { Url = "Wechat/5/emoji_061.png", text ="[咖啡]"        ,gifchat = "/:coffee"},
               new Chat { Url = "Wechat/5/emoji_062.png", text ="[饭]"          ,gifchat = "/:eat"},
               new Chat { Url = "Wechat/5/emoji_063.png", text ="[猪头]"        ,gifchat = "/:pig"},
               new Chat { Url = "Wechat/5/emoji_064.png", text ="[玫瑰]"        ,gifchat = "/:rose"},
               new Chat { Url = "Wechat/5/emoji_065.png", text ="[凋谢]"        ,gifchat = "/:fade"},
               new Chat { Url = "Wechat/5/emoji_066.png", text ="[嘴唇]"        ,gifchat = "/:showlove"},
               new Chat { Url = "Wechat/5/emoji_067.png", text ="[爱心]"        ,gifchat = "/:heart"},
               new Chat { Url = "Wechat/5/emoji_068.png", text ="[心碎]"        ,gifchat = "/:break"},
               new Chat { Url = "Wechat/5/emoji_069.png", text ="[蛋糕]"        ,gifchat = "/:cake"},
               new Chat { Url = "Wechat/5/emoji_070.png", text ="[闪电]"        ,gifchat = "/:li"},
               new Chat { Url = "Wechat/5/emoji_071.png", text ="[炸弹]"        ,gifchat = "/:bome"},
               new Chat { Url = "Wechat/5/emoji_072.png", text ="[刀]"          ,gifchat = "/:kn"},
               new Chat { Url = "Wechat/5/emoji_073.png", text ="[足球]"        ,gifchat = "/:footb"},
               new Chat { Url = "Wechat/5/emoji_074.png", text ="[瓢虫]"        ,gifchat = "/:ladybug"},
               new Chat { Url = "Wechat/5/emoji_075.png", text ="[便便]"        ,gifchat = "/:shit"},
               //第六排
               new Chat { Url = "Wechat/6/emoji_076.png", text ="[月亮]"        ,gifchat = "/:moon"},
               new Chat { Url = "Wechat/6/emoji_077.png", text ="[太阳]"        ,gifchat = "/:sun"},
               new Chat { Url = "Wechat/6/emoji_078.png", text ="[礼物]"        ,gifchat = "/:gift"},
               new Chat { Url = "Wechat/6/emoji_079.png", text ="[拥抱]"        ,gifchat = "/:hug"},
               new Chat { Url = "Wechat/6/emoji_080.png", text ="[强]"          ,gifchat = "/:strong"},
               new Chat { Url = "Wechat/6/emoji_081.png", text ="[弱]"          ,gifchat = "/:weak"},
               new Chat { Url = "Wechat/6/emoji_082.png", text ="[握手]"        ,gifchat = "/:share"},
               new Chat { Url = "Wechat/6/emoji_083.png", text ="[胜利]"        ,gifchat = "/:v"},
               new Chat { Url = "Wechat/6/emoji_084.png", text ="[抱拳]"        ,gifchat = "/:@)"},
               new Chat { Url = "Wechat/6/emoji_085.png", text ="[勾引]"        ,gifchat = "/:jj"},
               new Chat { Url = "Wechat/6/emoji_086.png", text ="[拳头]"        ,gifchat = "/:@@"},
               new Chat { Url = "Wechat/6/emoji_087.png", text ="[差劲]"        ,gifchat = "/:bad"},
               new Chat { Url = "Wechat/6/emoji_088.png", text ="[爱你]"        ,gifchat = "/:lvu"},
               new Chat { Url = "Wechat/6/emoji_089.png", text ="[NO]"          ,gifchat = "/:no"},
               new Chat { Url = "Wechat/6/emoji_090.png", text ="[OK]"          ,gifchat = "/:ok"},
               //第七排
               new Chat { Url = "Wechat/7/emoji_091.png", text ="[爱情]"        ,gifchat = "/:love"},
               new Chat { Url = "Wechat/7/emoji_092.png", text ="[飞吻]"        ,gifchat = "/:<L>"},
               new Chat { Url = "Wechat/7/emoji_093.png", text ="[跳跳]"        ,gifchat = "/:jump"},
               new Chat { Url = "Wechat/7/emoji_094.png", text ="[发抖]"        ,gifchat = "/:shake"},
               new Chat { Url = "Wechat/7/emoji_095.png", text ="[怄火]"        ,gifchat = "/:<O>"},
               new Chat { Url = "Wechat/7/emoji_096.png", text ="[转圈]"        ,gifchat = "/:circle"},
               new Chat { Url = "Wechat/7/emoji_097.png", text ="[磕头]"        ,gifchat = "/:kotow"},
               new Chat { Url = "Wechat/7/emoji_098.png", text ="[回头]"        ,gifchat = "/:turn"},
               new Chat { Url = "Wechat/7/emoji_099.png", text ="[跳绳]"        ,gifchat = "/:skip"},
               new Chat { Url = "Wechat/7/emoji_100.png", text ="[右太极]"        ,gifchat ="/:&>"},
               new Chat { Url = "Wechat/7/emoji_101.png", text ="[激动]"        ,gifchat ="/:#-0"},
               new Chat { Url = "Wechat/7/emoji_102.png", text ="[乱舞]"        ,gifchat ="/:hiphot"},
               new Chat { Url = "Wechat/7/emoji_103.png", text ="[献吻]"        ,gifchat ="/:kiss"},
               new Chat { Url = "Wechat/7/emoji_104.png", text ="[右太极]"        ,gifchat ="/:<&"},
               new Chat { Url = "Wechat/7/emoji_105.png", text ="[投降]"        ,gifchat = "/:oY"},
               //第八排
               new Chat { Url = "Wechat/8/emoji_106.png", text = "[嘿哈]"        ,gifchat = "[Hey]"},
               new Chat { Url = "Wechat/8/emoji_107.png", text = "[捂脸]"        ,gifchat = "[Facepalm]"},
               new Chat { Url = "Wechat/8/emoji_108.png", text = "[奸笑]"        ,gifchat = "[Smirk]"},
               new Chat { Url = "Wechat/8/emoji_109.png", text = "[机智]"        ,gifchat = "[Smart]"},
               new Chat { Url = "Wechat/8/emoji_110.png", text = "[皱眉]"        ,gifchat = "[Concerned]"},
               new Chat { Url = "Wechat/8/emoji_111.png", text = "[耶]"        ,gifchat = "[Yeah!]"},
               new Chat { Url = "Wechat/8/emoji_112.png", text = "[红包]"        ,gifchat = "[Packet]"},
               new Chat { Url = "Wechat/8/emoji_113.png", text = "[蜡烛]"        ,gifchat = "[Candle]"},
               new Chat { Url = "Wechat/8/emoji_114.png", text = "[笑脸]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_115.png", text = "[开心]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_116.png", text = "[大笑]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_117.png", text = "[热情]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_118.png", text = "[眨眼]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_119.png", text = "[色]"        ,gifchat = ""},
               new Chat { Url = "Wechat/8/emoji_120.png", text = "[接吻]"        ,gifchat = ""},

以上是关于微信ChatEmoji表情适配,对微信公众号开发有帮助的主要内容,如果未能解决你的问题,请参考以下文章

微信公众号开发--入门

如何对微信小程序进行自动化测试

想在微信公众平台开发者模式的自动回复里加入emoji表情,需要啥PHP方法来处理

微信公众号自定义菜单栏如何加emoji表情等图标

微信公众号及小程序开发入门

微信公众号及小程序开发入门