Skip to content

A simple wrapper to get Twitter user timeline with cached results

License

Notifications You must be signed in to change notification settings

Awea/twitter-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterFeed

A simple wrapper to get Twitter user timeline with cached results.

Installation

composer require awea/twitter-feed

Usage

use \Awea\TwitterFeed\TwitterFeed;

// key, secret and tokens accessible on https://apps.twitter.com/ 
$twitter_feed = new TwitterFeed([
  'screen_name'         => 'user name',
  'consumer_key'        => 'consumer_key',
  'consumer_secret'     => 'consumer_secret',
  'access_token'        => 'access_token',
  'access_token_secret' => 'access_token_secret'
]);

$tweets = $twitter_feed->getUserTL();

About

A simple wrapper to get Twitter user timeline with cached results

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages