Twitter的新的鸣叫功能? [英] Twitter New tweets feature?

查看:324
本文介绍了Twitter的新的鸣叫功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何叽叽喳喳实现异步通知新的鸣叫?

How does twitter implement the asynchronous notifications for new tweets ?

如果它是服务器推送技术的一种形式,没有任何一个知道或建议如何此功能可能已经实施了吗?

If it is a form of server push technology, does any one know or suggest how this feature could have been implemented ?

感谢

推荐答案

他们不推。他们使用window.setTimeout JavaScript函数定期轮询通过AJAX的服务器,如果有新的结果的话,它们显示通知栏。

They don't push. They use the window.setTimeout JavaScript function to periodically poll the Server through AJAX, and if there are new results then they display that notification bar.

这篇关于Twitter的新的鸣叫功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆