偷了个懒,代码扔在github上了。 用法也很简单: $fetion = new PHPFetion('用户名','密码'); $fetion-send('对方手机','信息'); 会自动识别自己还是对方。(非好友不能发哦) 也实现了$fetion-multiSend,但我偷了个懒,直接循环用send发送了。 事实上,可
偷了个懒,代码扔在github上了。
用法也很简单:
$fetion = new PHPFetion('用户名','密码'); $fetion->send('对方手机','信息'); 会自动识别自己还是对方。(非好友不能发哦)
也实现了$fetion->multiSend,但我偷了个懒,直接循环用send发送了。
事实上,可以在刚登录的时候,利用group先将好友列表拉回来,然后就方便了。但觉得这样就复杂了。何必呢。。一般在用飞信的时候,也很少会用到群发功能吧。所以,我还是循环的send。黑黑
代码地址:https://github.com/neatstudio/yiiextension
欢迎围观
原文地址:PHP 飞信类, 感谢原作者分享。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Zend Studio 13.0.1
Powerful PHP integrated development environment

WebStorm Mac version
Useful JavaScript development tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.