4 ms·
I spent about 30-45 minutes trying to get this to work out of the box. Not sure if It's because my Python is rusty or maybe my installs are screwy. Either way,
by markwaldron 10y ago
I spent about 30-45 minutes trying to get this to work out of the box. Not sure if It's because my Python is rusty or maybe my installs are screwy. Either way, In order to get this to work, I ended up curling the tinder API to get my token.
curl -v -X POST 'https://api.gotinder.com/auth' -H 'Content-Type: application/json' --data '{"facebook_token": "facebook_token_string", "facebook_id": "facebook_id_string"}'
With that I modified the python code to no longer POST to get the X-Auth-Token and just pasted it in there:
self.headers["X-Auth-Token"] = 'auth_token_string'
print("Authenticated to Tinder ")
self.authed = True
print self.authed
After that, everything worked fine!