Rumah > applet WeChat > pembangunan WeChat > 微信公众平台开发--表情符号

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

黄舟
Lepaskan: 2016-12-30 10:26:45
asal
3527 orang telah melayarinya

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

2)表情代码对照表

3)表情代码PHP定义

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

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

689.png

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

公众平台发送 /::) 

690.png

用户收到笑脸

691.png

2)表情代码对照表

692.png

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

3)表情代码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", //菜刀

"/:", //西瓜

"/: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", //爱情

"/:", //飞吻

"/:jump", //跳舞

"/:shake", //发抖

"/:", //怄火

"/:circle", //转圈

"/:kotow", //磕头

"/:turn", //回头

"/:skip", //跳绳

"/:oY", //挥手

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

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

"/:kiss", //献吻

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

"/:&>" //右太极

);

//1-35 /::)/::~/::B/::|/:8-)/::/::,@/:,@f/::-S/:?/:,@x/:,@@

//36-75 /::8/:,@!/:!!!/:xx/:bye/:wipe/:dig/:handclap/:&-(/:B-)/:<@/:@>/::-O/:>-|/:P-(/::'|/:X-)/::*/:@x/:8*/:pd/:/: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/:/:jump/:shake/:/:circle/:kotow/:turn/:skip/:oY/:#-0/:hiphot/:kiss/:<&/:&>

?>

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

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


Label berkaitan:
sumber:php.cn
Kenyataan Laman Web ini
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Tutorial Popular
Lagi>
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan