GithubHelp home page GithubHelp logo

tinder_pro's People

Contributors

craftfortress avatar tranhungt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tinder_pro's Issues

How to set location?

The location is set by default to the last login location on Tinder, so how do you override it to set the location for a latitude and longitude?

Unable to send_message

First of all, thanks for this great Job !

I'm currently trying to send_message after a match but it's doesn't seem to work...

tinder.like(result._id, function (err, res, body) {
                liked++;
                if (body.match) {
            console.log(result.name + ' ' + result._id);
            tinder.send_message(result._id, "Hello world!\n", function(err, res, body){
                console.log(err + ' ' + res + ' ' + body);
            });

                    matches++;
                }
}

Have you already encountered this problem ?

Thanks !

Simple script to auto like the masses

I wrote this simple auto liker implementing the tinderjs api wrapper, wanted to share it with you guys :)

var FACEBOOK_ID = "facebook id obtained with charles method"

var FACEBOOK_TOKEN = "facebook token obtained with charles method"

var DISTANCE = '100'; //miles

var TinderPro = require('tinder_pro')
var tinder = new TinderPro()

var liked = 0;
var maxLikes = 1000;
var matches = 0;

tinder.sign_in(FACEBOOK_ID, FACEBOOK_TOKEN, function (err, res, body) {
    tinder.update_search_distance(DISTANCE, function() {
        recursivelyLike(tinder);
    });
});

function recursivelyLike(tinder) {
    tinder.get_nearby_users(function(err, res, body) {
    var results = body.results;

        results.forEach(function (result) {
            tinder.like(result._id, function (err, res, body) {
                liked++;
                if (body.match) {
                    matches++;
                }
                console.log('Liked ' + result.name + ', it was ' + (body.match ? '' : 'not') + ' a match');
                if(liked > maxLikes) {
                    console.log('=== FINISHED ===');
                    console.log('Liked: ' + liked + ', matched: ' + matches);
                    process.exit(0);
                }
            }); 
        }); 
        recursivelyLike(tinder);            
    });
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.