PHP code example of percipiolondon / craft-tweet-feed
1. Go to this page and download the library: Download percipiolondon/craft-tweet-feed library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
percipiolondon / craft-tweet-feed example snippets
{% set tweets = craft.tweetfeed.tweets(3,'author_id,context_annotations','&exclude=retweets,replies&user.fields=id') %}
{% for tweet in tweets %}
<div>
<h3>{{- tweet | urlify | raw -}}</h3>
</div>
{% endfor %}