
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Programmatic access to the Tinder API
$ npm install tinderjs
tinderjs is a simple node.js wrapper around the Tinder API. Below is a simple example which gets a list of nearby profiles and prints them out:
var tinder = require('tinderjs');
var client = new tinder.TinderClient();
client.authorize(
<fb user token>,
<fb user id>,
function() {
client.getRecommendations(10, function(error, data){
console.log(data.results);
});
});
});
Authorizes the TinderClient. You must call this before any other method.
fb token is a facebook user access token. You would acquire this by having your user log in using your applicationfb id is the id of the facebook usercallback is called when the request completesReturns information from tinder about your client, where you can find your user data and also globals (e.g: recs_size)
that allows you to interact where api timeouts and limits.
Once authorized, this property will be set the current profile's tinder user id.
Sends a message to a user.
user id is the user's id. This is obtained e.g via getRecommendationsmessage is the message to send.callback is called when the request completesLikes a user (swipes right).
user id is the user's id. This is obtained e.g via getRecommendationscallback is called when the request completesPass on a user (swipes left).
user id is the user's id. This is obtained e.g via getRecommendationscallback is called when the request completesGets nearby users
limit is how many results to limit the search tocallback is called when the request completesChecks for updates. The response will show you new messages, new matches, new blocks, etc.
callback is called when the request completesGets the complete history for the user (all matches, messages, blocks, etc.).
NOTE: Old messages seem to not be returned after a certain threshold. Not yet sure what exactly that timeout is. The official client seems to get this update once when the app is installed then cache the results and only rely on the incremental updates
callback is called when the request completesUpdates your profile's geographic position
longitude is the longitude of the new positionlatitude is the latitude of the new positioncallback is called when the request completesGet user information by id
user id is the user's id. This is obtained e.g via getRecommendationscallback is called when the request completesThe following example authorizes a client, gets some nearby profiles, likes all of them, and sends a message to any of the ones that match
var tinder = require('tinderjs');
var client = new tinder.TinderClient();
var _ = require('underscore')
client.authorize(
<fb user token>,
<fb user id>,
function() {
var defaults = client.getDefaults()
var recs_size = defaults.globals.recs_size;
client.getRecommendations(recs_size, function(error, data){
_.chain(data.results)
.pluck('_id')
.each(function(id) {
client.like(id, function(error, data) {
if (data.matched) {
client.sendMessage(id, "hey ;)");
}
});
});
});
});
});
MIT
FAQs
Programmatically access the Tinder dating service API
We found that tinderjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.