Circular icon indicating copy to clipboard operation
Circular copied to clipboard

Unknown Twitter API error

Open tyweb2 opened this issue 6 years ago • 6 comments

I am getting Unknown Twitter API error when I try to login. Seems like this is an issue. Any Idea why?

tyweb2 avatar Jul 16 '18 12:07 tyweb2

+1

Gyvastis avatar Sep 03 '18 18:09 Gyvastis

+1

ftrotter avatar Sep 07 '18 16:09 ftrotter

+1

jb0gie avatar Oct 18 '18 16:10 jb0gie

WHEN FIX..NEED

jb0gie avatar Oct 26 '18 21:10 jb0gie

Hello- I'm just wondering if there is an update on this at all. From what I can tell, the program is completely un-usable until this is fixed?

motermouth15 avatar Jan 28 '19 17:01 motermouth15

This project is dead. Had a friend look at it. Here's his feedback.

Ton of errors,Also tried changing this: public function __construct(\MongoCollection $collection, \Psr\Log\LoggerInterface $logger) //original to this: //public function __construct(\MongoDB\Collection $collection, \Psr\Log\LoggerInterface $logger) in: /var/www/html/folder/api/vendor/altmetric/mongo-session-handler/src/MongoSessionHandler.php

I've tried a few things. I don't think there is an easy solution. The Mongo Driver has been refactor for PHP 7 and the app itself rely on the older driver. We would have to change a lot of third party code to make it work.

For example. public function __construct() { // $m = new MongoClient; $m = new MongoDB\Driver\Manager("mongodb://localhost:27017"); // $m = new MongoDB\Client("mongodb://localhost:27017");
$logger = new Psr\Log\NullLogger; parent::__construct($m->circular->sessions, $logger);

    }

The driver gets created properly but "parent::__construct($m->circular->sessions, $logger);" fails because the driver does not have a property "circular".

I don't think it is a sustainable solution to patch the code as any OS update could overwrite libraries...

Maybe use a older version of LAMP or install the app in a more self contained manner.That's the one thing I don't like about bundled app, it is not easy to control the dependencies.

Here is a link to someone who was working on a docker image. https://github.com/julien-c/Circular/issues/70 Unfortunately, the docker file is incomplete. The dude is facing the same issue that we have.

tyweb2 avatar Jan 28 '19 17:01 tyweb2