ssplugin / ss-twitter-feed

Show Recent twitter timeline on your site.
MIT License
3 stars 7 forks source link

SS Twitter Feed plugin for Craft CMS 4.x

Show Recent twitter timeline on your site.

Requirements

This plugin requires Craft CMS 4 or later and PHP 8.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
  2. Then tell Composer to load the plugin:

    composer require ssplugin/ss-twitter-feed
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for SS Twitter Feed.

SS Twitter Feed Overview

A plugin for Craft CMS that allows you to retrive your Twitter timeline.

Configuring SS Twitter Feed

Once you’ve installed the SS Twitter Feed plugin. Go to plugin settings to connect to twitter. Just click on button get your Twitter Access Token and Twitter Secret.

Using SS Twitter Feed

-You can directly access multidimensional array of your Twitter posts using following method. Each post has Following components you can get to:

Example:

{% for tweet in craft.ssTwitterFeed.displayPost( '5' ) %}
    {{ tweet.url }}
    {{ tweet.screen_name }}
    {{ tweet.text }} {# OR  {{ tweet.text_html | raw }} #} 
  {% for images in tweet.images %}
      {{ images.media_url }}
  {% endfor %}
    {{ tweet.created_at }}
    {{ tweet.retweet_count }}
    {{ tweet.favorite_count }}
{% endfor %}

SS Twitter Feed Roadmap

BENEFITS:

License

This SS Twitter Feed plugin for craft is open-sourced software licensed under the MIT license

Release it

Brought to you by SystemSeeders