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

MINIMUM_VERSION_REQUIRED error #206

Open
chickenfresh opened this issue Mar 6, 2019 · 1 comment
Open

MINIMUM_VERSION_REQUIRED error #206

chickenfresh opened this issue Mar 6, 2019 · 1 comment

Comments

@chickenfresh
Copy link

chickenfresh commented Mar 6, 2019

Hello, I'm trying to use Pynder and on /auth, with properly generated fb token, it responds with following error:
{ "code": 403, "error": "minimum client version enforced#MINIMUM_VERSION_REQUIRED", "error_no": 40304 }
I'm guessing that my headers are outdated for tinder, here they are:


HEADERS = {
    "Content-Type": "application/json; charset=utf-8",
    "User-Agent": USER_AGENT,
    "Host": API_BASE,
    "os_version": "1935",
    "app-version": "371",
    "platform": "android",  # XXX with ios we run in an error
    "Accept-Encoding": "gzip"
}

is there any fix?

@swiftraccoon
Copy link

swiftraccoon commented Mar 21, 2019

There is! Simply pass only the XAuthToken; drop everything else. I just hard-coded XAuthToken because I didn't intend on trying to update this repo (not sure if owner is still around). For example:
class TinderAPI(object):

def __init__(self, XAuthToken=None, proxies=None):
    XAuthToken = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'

def auth(self, XAuthToken, blah): return

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