开发者 | Askupa Software |
---|---|
更新时间 | 2018年1月4日 03:05 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
Twitter uses oAuth access tokens to verify the user that is fetching the data. In order to get your own tokens, you would have to create a twitter app on https://dev.twitter.com/ after which you will be provided with the app’s oAuth credentials that are needed for Twitter Feed.
Since version 1.4.3, Twitter Feed comes with a PHP based API that allows you to fetch tweets anywhere without having to use shortcodes. For more information, visit the API documentation page.
Twitter Feed makes a request to the Twitter API every time someone views a page in your blog. This creates a problem since Twitter imposes a limit of 180 requests per hour. exceeding the limit would prevent you from making new requests until the clock is reset. The caching system allows you to fetch the data locally, which not only will prevent you from exceeding the rate limits, but is also much faster than making a request to Twitter.
In order to update the settings of the widget, you'll need to login to your Wordpress admin panel and navigate to Plugins -> Twitter Feed where you will find a complete options page for the plugin.
Since version 1.1, Twitter Feed supports making queries using the new Twitter search engine. Everything that is possible through the search engine is possible through Twitter Feed. For example, you can display all the tweets that contain the #jazz and the #guitar hashtags by specifying the search query #jazz AND #guitar
in the query input field.