Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 PHP 显示我自己的流式 Twitter 主页时间线?这样连接会无限期地保持打开状态吗?
我有一个 Twitter 应用程序和所有必需的密钥和令牌。
我一直在浏览 Twitter 文档并使用几个 PHP 库,但无济于事。我也没有找到类似分步教程的东西。
谢谢!
Twitter 为此提供了一个有用的小部件(在您的网站上显示为 iFrame)
登录 twitter(在您的网络浏览器中),单击 gear>settings>widgets 然后您可以将其配置为搜索 @yourtwitterhandle 或 #yourhashtag 或两者兼而有之。