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

Can't login #1

Closed
kozakl opened this issue Apr 20, 2017 · 15 comments
Closed

Can't login #1

kozakl opened this issue Apr 20, 2017 · 15 comments
Labels

Comments

@kozakl
Copy link

kozakl commented Apr 20, 2017

I can't login, I see this error

$ /c/Python36-32/python.exe pinder.py Traceback (most recent call last): File "pinder.py", line 3, in <module> app = PinderApp() File "C:\Users\Luke\Downloads\pinder-master\src\viewer.py", line 34, in __init__ self.start_session() File "C:\Users\Luke\Downloads\pinder-master\src\viewer.py", line 52, in start_session self.prof = self.session.profile File "C:\Python36-32\lib\site-packages\cached_property.py", line 26, in __get__ value = obj.__dict__[self.func.__name__] = self.func(obj) File "C:\Python36-32\lib\site-packages\pynder\session.py", line 22, in profile return Profile(self._api.profile(), self._api) File "C:\Python36-32\lib\site-packages\pynder\api.py", line 68, in profile return self._get("/profile") File "C:\Python36-32\lib\site-packages\pynder\api.py", line 47, in _get return self._request("get", url) File "C:\Python36-32\lib\site-packages\pynder\api.py", line 41, in _request raise errors.RequestError(result.status_code) pynder.errors.RequestError: 401

any idea, what the happen?

@dhharris
Copy link
Owner

Hi, I believe that error is due to one of the following:

  1. You have not previously authorized Tinder on Facebook
  2. You have two step verification enabled.

Unfortunately, the way the app is set up currently, you cannot log in if you have two step verification.
If this didn't solve your problem, please let me know the steps you took to produce the error and I will try to debug it.

@kozakl
Copy link
Author

kozakl commented Apr 20, 2017

Hello, unfortunately..

  1. Tinder is already authorized on Facebook (I use this on normal mobile app, and works fine)
  2. I have disabled two-factor authentication.

ver

Reproduce error is really easy.

log-in is fine
login

  1. not responding application
    not_response

  2. error in console
    error

really strange, I don't know what I'm doing wrong...

@dhharris
Copy link
Owner

dhharris commented Apr 20, 2017

It looks like the program is not able to get your profile from your Tinder session. Since it made it to this line

(line 51 in viewer.py)

self.session = t.Session(self.facebook_id, self.facebook_token)

it was able to authenticate your Facebook credentials, but for some reason the pynder library is having trouble fetching your profile. Looking at this issue from the pynder library, it seems like some users are having trouble with the newest version. Did you install the dependency using pip?

@dhharris dhharris added the bug label Apr 20, 2017
@Aimost
Copy link

Aimost commented May 11, 2017

Same error here.

@dhharris
Copy link
Owner

Are both of you running this on Windows?

@Aimost
Copy link

Aimost commented May 11, 2017

Yep, which one i should try?

@dhharris
Copy link
Owner

All of the testing I have done so far has been on a Mac, although I will have access to my Windows PC in a couple days when I'm back home. I can check it out then and see what is going on.

@kozakl
Copy link
Author

kozakl commented May 11, 2017

I tried run this app on my mac, but I have same error like on Windows..
here is screenshot...
screen shot 2017-05-11 at 11 00 55 pm

I tried this instruction https://gist.github.com/rtt/10403467#gistcomment-1846343
so I tried fill variable self.facebook_token to value response from facebook but first app is frozen for few seconds and after moment I get same error 401...

@dhharris
Copy link
Owner

Seems to me like an error in the pynder library

@kozakl
Copy link
Author

kozakl commented May 11, 2017

I think so... Can you write witch version on pinder you use? Maybe here is problem, I have newest version...

@dhharris
Copy link
Owner

I have version 0.0.11 installed using pip and running on python 3

@kozakl
Copy link
Author

kozakl commented May 12, 2017

Ok, works in 0.0.11 version of pynder.
But I have new problem, which version of geopy you use ?
Because I can't put a location, I get SSL error

screen shot 2017-05-12 at 9 00 45 am
cheers

@dhharris
Copy link
Owner

Glad that fixed the log in problem. I use version 1.11.0. Let me know if this works.

@kozakl
Copy link
Author

kozakl commented May 12, 2017

Nope.. I have another error...
screen shot 2017-05-12 at 4 27 25 pm

probably older version of pynder doesn't work correct with current Tinder API...

@dhharris
Copy link
Owner

dhharris commented Aug 5, 2019

Okay, so I finally got around to fixing login- see 34b6ccc. I think that tinder API is outdated though. I will make a new issue for that and close this one.

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

No branches or pull requests

3 participants