meister245 / tinder-token Goto Github PK
View Code? Open in Web Editor NEWPython library for generating access tokens for Tinder API, using Facebook or Phone authentication
License: MIT License
Python library for generating access tokens for Tinder API, using Facebook or Phone authentication
License: MIT License
I try to update the age filter, and it works only with first version of Tinder API, this link, https://api.gotinder.com/profile, if i use version2, (https://api.gotinder.com/v2/profile), i get 200 status response, but the filter it's not change in the profile, so i'm wondering if using the first version of API is somehow prejudicial on the tinder profile used or not,
and if there is a way to make it works on V2.
thanks
This is the code i send
{
"age_filter_min": 23,
"age_filter_max": 23
}
Hello all,
I think the code is not working anymore, probably a change in the last few months on fb side....
I believe the URL should work, maybe the issue is on the MOBILE_USER_AGENT ?
The error message isn't helpful : FB_AUTH_TOKEN = {'error': 'access token could not be retrieved. Check your username and password.'} I did check that both the username and password are fine of course !
Is it working still for everyone else ?
I am using the following code :
import re
import robobrowser
import requests
MOBILE_USER_AGENT = "Tinder/7.5.3 (iPhone; iOS 10.3.2; Scale/2.00)"
def get_access_token(email, password):
s = robobrowser.RoboBrowser(user_agent=MOBILE_USER_AGENT, parser="lxml")
s.open(FB_AUTH)
f = s.get_form()
s.submit_form(f)
f = s.get_form()
f["pass"] = password
f["email"] = email
s.submit_form(f)
f = s.get_form()
try:
s.submit_form(f, submit=f.submit_fields['CONFIRM'])
access_token = re.search(
r"access_token=([\w\d]+)", s.response.content.decode()).groups()[0]
return access_token
except requests.exceptions.InvalidSchema as browserAddress:
access_token = re.search(
r"access_token=([\w\d]+)",str(browserAddress)).groups()[0]
return access_token
except Exception as ex:
print("access token could not be retrieved. Check your username and password.")
print("Official error: %s" % ex)
return {"error": "access token could not be retrieved. Check your username and password."}
Facebook changed something on their end within the past month that breaks the authentication of your module. I am not well-versed enough in Facebook logins to help much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.