2017 © Pedro PelĂĄez
 

library tuiter

Twitter archive manager

image

dotzecker/tuiter

Twitter archive manager

  • Monday, August 15, 2016
  • by rgomezcasas
  • Repository
  • 2 Watchers
  • 4 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Tuiter - Easy Twitter Archive Manager

Build Status Scrutinizer Code Quality Coverage Status SensioLabsInsight, (*1)

1. Installation

The recommended way to install it is through Composer. Run the following command in order to install it:, (*2)

composer require dotzecker/tuiter

2. Usage

First, download you Twitter archive by clicking "Request your archive" in https://twitter.com/settings/account., (*3)

The API is very simple and intuitive:, (*4)

use Tuiter\Tuiter;

// Let's load our archive
$tweets = Tuiter::fromArchive(__DIR__ . '/your/awesome/path/to/tweets.csv');

Now you are able to manage your tweets in a fluent way, for example:, (*5)

$unwantedTweets = $tweets->retweets()->before('2014-05-20')->get();

This is the list of available filters: * ->retweets($are = true) * ->replies($are = true) * ->before($date) * ->after($date) * ->between($startDate, $endDate) * ->contains($text, $contains = true) * ->containsInUrl($text), (*6)

3. Delete Tweets

In order to delete tweets from your timeline, the implementation is:, (*7)

use Tuiter\TweetDestroyer;

$destroyer = TweetDestroyer::withParams(
    'Consumer Key', 'Consumer Secret', 'Access Token', 'Access Token Secret'
);

foreach ($unwantedTweets as $tweet) {
    $destroyer->destroy($tweet);
}

The Versions

15/08 2016

dev-master

9999999-dev

Twitter archive manager

  Sources   Download

MIT

The Requires

 

The Development Requires

delete manager twitter backup archive tweets

21/01 2015

dev-develop

dev-develop

Twitter archive manager

  Sources   Download

MIT

The Requires

 

The Development Requires

delete manager twitter backup archive tweets

21/01 2015

v0.1

0.1.0.0

Twitter archive manager

  Sources   Download

MIT

The Requires

 

The Development Requires

delete manager twitter backup archive tweets