diff --git a/composer.json b/composer.json index 2b40712..08bdb5b 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,6 @@ "mf2/mf2": "^0.4||^0.5", "ezyang/htmlpurifier": "^4.10", "indieweb/link-rel-parser": "^0.1.0", - "dg/twitter-php": "^3.0.0", "p3k/timezone": "^0.1.0", "p3k/http": "^0.1.0", "cebe/markdown": "^1.1.0", @@ -42,4 +41,4 @@ "scripts": { "test": "vendor/bin/phpunit" } -} \ No newline at end of file +} diff --git a/composer.lock b/composer.lock index ebf5f65..9016d24 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "1b65752cb999f79a63d1688f1bc2c7af", + "content-hash": "a5c4ee3f81d0a6720e964ea4a1e54d55", "packages": [ { "name": "cebe/markdown", @@ -70,51 +70,6 @@ }, "time": "2018-03-26T11:24:36+00:00" }, - { - "name": "dg/twitter-php", - "version": "v3.8", - "source": { - "type": "git", - "url": "https://github.com/dg/twitter-php.git", - "reference": "d9370c9759138200a77ca86abcb0c5ddfe857c68" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dg/twitter-php/zipball/d9370c9759138200a77ca86abcb0c5ddfe857c68", - "reference": "d9370c9759138200a77ca86abcb0c5ddfe857c68", - "shasum": "" - }, - "require": { - "ext-curl": "*", - "php": ">=5.4.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "David Grudl", - "homepage": "https://davidgrudl.com" - } - ], - "description": "Small and easy Twitter library for PHP", - "homepage": "https://github.com/dg/twitter-php", - "keywords": [ - "oauth", - "twitter" - ], - "support": { - "source": "https://github.com/dg/twitter-php/tree/v3.8" - }, - "time": "2019-02-08T16:20:01+00:00" - }, { "name": "ezyang/htmlpurifier", "version": "v4.16.0", diff --git a/controllers/Parse.php b/controllers/Parse.php index 237c2df..421de74 100644 --- a/controllers/Parse.php +++ b/controllers/Parse.php @@ -98,7 +98,6 @@ class Parse { $fetcher = new p3k\XRay\Fetcher($this->http); $fields = [ - 'twitter_api_key','twitter_api_secret','twitter_access_token','twitter_access_token_secret', 'github_access_token', 'token', 'accept',