Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors appear in the log #1513

Open
jsw7524 opened this issue Oct 13, 2019 · 5 comments
Open

errors appear in the log #1513

jsw7524 opened this issue Oct 13, 2019 · 5 comments

Comments

@jsw7524
Copy link

jsw7524 commented Oct 13, 2019

At first, I want to appreciate contributors of this tool, thanks for your hard work.

When I try to use docker image, I find it is no response in http://localhost:5940/.
Then, I check the log shown below, there are several errors in the log

https://gist.github.com/jsw7524/2fe1c3e9aeecbb27b6587c64f4ac1359

I think Tinder may change webpage layout, so this tool cannot run properly.
if that is true, could you please fix that?

@Gyvastis
Copy link

Gyvastis commented Mar 7, 2020

I'm trying to boot it and having the same issue. It's a bit unclear where exactly it is coming from. The tinder-wrapper uses the Tinder API directly, so it shouldn't be the cause of this.

@Gyvastis
Copy link

Gyvastis commented Mar 7, 2020

I have found the location of the issue. It's in the facebook token dependency.
https://github.com/hfreire/facebook-login-for-robots/blob/master/src/facebook-login-for-robots.js#L85

@Gyvastis
Copy link

Gyvastis commented Mar 8, 2020

https://github.com/Gyvastis/facebook-login-for-robots/blob/master/src/facebook-login-for-robots.js

Here's a working version. Just need to update the tests and make a PR and we should be good to go if @hfreire is responsive enough to merge and build the changes :)

@Gyvastis
Copy link

Gyvastis commented Mar 8, 2020

As a workaround for now we can mount the updated file as a volume.
wget https://raw.githubusercontent.com/Gyvastis/facebook-login-for-robots/master/src/facebook-login-for-robots.js
docker run -p "5940:3000" -e "FACEBOOK_USER_EMAIL=***" -e "FACEBOOK_USER_PASSWORD=***" -e "AWS_REGION=***" -e "AWS_ACCESS_KEY_ID=***" -e "AWS_SECRET_ACCESS_KEY=***" -e "ROLLBAR_API_KEY=***" -v ./facebook-login-for-robots.js:/opt/get-me-a-date/node_modules/facebook-login-for-robots/lib/facebook-login-for-robots.js hfreire/get-me-a-date

@Gyvastis
Copy link

Gyvastis commented Mar 8, 2020

Apparently there are more issues involved. After fetching userId & accessToken from Facebook it does not update it in the projects' database hence we don't see any details in the front-end (I assume that's what it happends as I can see the /channels endpoint returns invalid data for those values).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants