首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > vknotifier

vknotifier

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

It solves the problem of limited api queries frequency in vk.com. It takes tasks of user notifications, makes a queue from them and work that queue considering requests frequency limit. For start working, you have to change application id and secret key in NotifyQueue.class.php and set delay between queries in worker.php. After that add worker.php on cron shedule (crontab example is included). To add some task to queue use NotifyQueue::addTask($ids, $message); where $ids is comma-separated list of user ids, and $message is notify text that should be in utf-8. Number of ids may be over 100, class will divide it automatically.

文 件 列 表

crontab.example
NotifyQueue.class.php
queue
queue_log
worker.php

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP