julien-c / Circular

An open source Buffer app clone
http://circular.io
MIT License
1.03k stars 193 forks source link

Unknown Twitter API error #74

Open tyweb2 opened 6 years ago

tyweb2 commented 6 years ago

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

Gyvastis commented 6 years ago

+1

ftrotter commented 6 years ago

+1

jb0gie commented 5 years ago

+1

jb0gie commented 5 years ago

WHEN FIX..NEED

motermouth15 commented 5 years ago

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?

tyweb2 commented 5 years ago

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.