欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  微信小程序

微信公众平台开发--表情符号

程序员文章站 2021-12-25 11:59:54
...
1)公众帐号如何发送表情给订阅号

2)表情代码对照表

3)表情代码PHP定义

1)公众帐号如何发送表情给订阅号

微信公众平台表情符号开发是在公众帐号的开发模式下,由公众帐号向订阅号发送表情图案。
微信公众平台中使用105个QQ表情,如下:

微信公众平台开发--表情符号

表情发送是通过文本代码完成的,如下

公众平台发送 /::)

微信公众平台开发--表情符号

用户收到笑脸

微信公众平台开发--表情符号

2)表情代码对照表

微信公众平台开发--表情符号

下载地址: http://download.csdn.net/detail/d_eng/6545051

3)表情代码PHP定义

<?php

$emoji_code = array(

1=>"/::)",
//微笑

"/::~", //撇嘴

"/::B", //色

"/::|", //发呆

"/:8-)", //得意

"/::<", //流泪

"/::$", //害羞

"/::X", //闭嘴

"/::Z", //睡

"/::'(", //大哭

"/::-|", //尴尬

"/::@", //发怒

"/::P", //调皮

"/::D", //呲牙

"/::O", //惊讶

//16-30

"/::(", //难过

"/::+", //酷

" /:--b", //冷汗

"/::Q", //抓狂

"/::T", //吐

"/:,@P", //偷笑

"/:,@-D", //可爱

"/::d", //白眼

"/:,@o", //傲慢

"/::g", //饥饿

"/:|-)", //困

"/::!", //惊恐

"/::L", //流汗

"/::>", //憨笑

"/::,@", //大兵

//31-45

"/:,@f", //努力

"/::-S", //咒骂

"/:?", //疑问

"/:,@x", //嘘

"/:,@@", //晕

"/::8", //折磨

"/:,@!", //衰

"/:!!!", //骷髅

"/:xx", //敲打

"/:bye", //再见

"/:wipe", //擦汗

"/:dig", //抠鼻

"/:handclap", //鼓掌

"/:&-(", //溴大了

"/:B-)", //坏笑

//46-60

"/:<@", //左哼哼

"/:@>", //右哼哼

"/::-O", //哈欠

"/:>-|", //鄙视

"/:P-(", //委屈

"/::'|", //快哭了

"/:X-)", //阴险

"/::*", //亲亲

"/:@x", //吓

"/:8*", //可怜

"/:pd", //菜刀

"/:<W>", //西瓜

"/:beer", //啤酒

"/:basketb", //篮球

"/:oo", //乒乓

//61-75

"/:coffee", //咖啡

"/:eat", //饭

"/:pig", //猪头

"/:rose", //玫瑰

"/:fade", //凋谢

"/:showlove", //示爱

"/:heart", //爱心

"/:break", //心碎

"/:cake", //蛋糕

"/:li", //闪电

"/:bome", //炸弹

"/:kn", //刀

"/:footb", //足球

"/:ladybug", //瓢虫

"/:shit", //便便

//76-90

"/:moon", //月亮

"/:sun", //太阳

"/:gift", //礼物

"/:hug", //拥抱

"/:strong", //强

"/:weak", //弱

"/:share", //握手

"/:v", //胜利

"/:@)", //抱拳

"/:jj", //勾引

"/:@@", //拳头

"/:bad", //差劲

"/:lvu", //爱你

"/:no", //No

"/:ok", //Ok

//91-105

"/:love", //爱情

"/:<L>", //飞吻

"/:jump", //跳舞

"/:shake", //发抖

"/:<O>", //怄火

"/:circle", //转圈

"/:kotow", //磕头

"/:turn", //回头

"/:skip", //跳绳

"/:oY", //挥手

"/:#-0", //激动

"/:hiphot", //街舞 // hiphot doesnot work!

"/:kiss", //献吻

"/:<&", //左太极

"/:&>" //右太极

);

//1-35 /::)/::~/::B/::|/:8-)/::</::$/::X/::Z/::'(/::-|/::@/::P/::D/::O/::(/::+ /:--b/::Q/::T/:,@P/:,@-D/::d/:,@o/::g/:|-)/::!/::L/::>/::,@/:,@f/::-S/:?/:,@x/:,@@

//36-75 /::8/:,@!/:!!!/:xx/:bye/:wipe/:dig/:handclap/:&-(/:B-)/:<@/:@>/::-O/:>-|/:P-(/::'|/:X-)/::*/:@x/:8*/:pd/:<W>/:beer/:basketb/:oo/:coffee/:eat/:pig/:rose/:fade/:showlove/:heart/:break/:cake/:li

//76-105 /:bome/:kn/:footb/:ladybug/:shit/:moon/:sun/:gift/:hug/:strong/:weak/:share/:v/:@)/:jj/:@@/:bad/:lvu/:no/:ok/:love/:<L>/:jump/:shake/:<O>/:circle/:kotow/:turn/:skip/:oY/:#-0/:hiphot/:kiss/:<&/:&>

?>

下载地址: http://download.csdn.net/detail/d_eng/6545051

以上就是微信公众平台开发--表情符号的内容,更多相关内容请关注PHP中文网(www.php.cn)!

相关标签: 表情符号,微信