tinderjs / tinderjs

Node package providing programmatic access to the Tinder API
72 stars 17 forks source link

Opt-in for Tinder Groups #38

Open gwendall opened 8 years ago

gwendall commented 8 years ago

This feature doesn't seem to be available in all countries. However I was wondering: isn't there an API call available for anyone to turn it on right now ?

mayeaux commented 8 years ago

Haven't used that feature, haven't been on Tinder for a while. Maybe you want to sniff it out using Charles Proxy?

gwendall commented 8 years ago

I am not in one of the countries where it's available right now (US and Australia) and it can only be done via the app. I could try to spoof my location with updateLocation to get there and inspect the app through a proxy with the geolocation turned off on my phone but I think the app gets blocked when location is turned-off. Will keep you posted.

mayeaux commented 8 years ago

Yup sounds good. I'm in Canada so I wouldn't be able to sniff it out either. Hopefully someone here is US or Australia based.

gwendall commented 8 years ago

There you go. You need to do a POST request to api.gotinder.com/profile with { squads_discoverable: Boolean }

mayeaux commented 8 years ago

Awesome. Want to submit a PR for this guy?

gwendall commented 8 years ago

Here it is: https://github.com/tinderjs/tinderjs/pull/40

I also exposed the get/post/put/del methods to allow people experiment easily for this kind of API change. Let me know if you took them out by design and want me to submit another PR without it.