tweecool / tweecool
Simple API to get the latest feed from twitter
1.0.0
2014-08-17 18:40 UTC
Requires
- php: >=5.2.0
This package is not auto-updated.
Last update: 2024-04-23 05:07:53 UTC
README
With Composer
add the following in the composer.json
:
{ "require": { "tweecool/tweecool": "1.0.0" } }
and then in your PHP file:
<?php require_once __DIR__ . '/vendor/autoload.php'; use Tweecool\Tweecool; $tweecool = Tweecool::get('tweecool', 3); foreach($tweecool->tweets as $tweet){ echo $tweet->text; }
Without Composer
<?php require_once '/PATH/TO/Tweecool.php'; use Tweecool\Tweecool; $tweecool = Tweecool::get('tweecool', 3); foreach($tweecool->tweets as $tweet){ echo $tweet->text; }