dev-master
9999999-dev http://octobercms.comTwitter integration plugin for OctoberCMS
The Requires
- php >=5.4.0
- themattharris/tmhoauth 0.8.3
- composer/installers ~1.0
by Samuel Georges
by Alexey Bobkov
cms twitter october rainlab
Twitter integration plugin for OctoberCMS
This plugin adds Twitter integration features to the October CMS., (*1)
This plugin allows you to add the following Components to your pages and layouts:, (*2)
A Twitter Embedded Timeline area, (*3)
Requires OAuth security, (*4)
Some features of Twitter use OAuth security. In order to use the plugin you need create a Twitter API application., (*5)
The plugin includes a component Favorites that lets you to output your favorite twitter messages on a page. Add the component to your page and render it with the component tag:, (*6)
{% component 'twitterFavorites' %}
You can manage the number of favorite messages with the component settings. If you don't like the default favorite messages markup, don't use the component tag and just write your own code:, (*7)
{% for favorite in twitterFavorites.all %}“{{ favorite.text_processed|raw }}”<p class="author"> <img src="{{ favorite.user.profile_image_url_https }}"/> <span>{{ favorite.user.name }}</span> <a href="{{ 'https://twitter.com/'~favorite.user.screen_name }}">@{{ favorite.user.screen_name }}</a> </p> {% endfor %}
See Twitter favorites API documentation for the information about available fields., (*8)
Twitter integration plugin for OctoberCMS
cms twitter october rainlab