Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The script close himself after two seconds #11

Open
anonymous12345678910111213 opened this issue Sep 23, 2014 · 1 comment
Open

The script close himself after two seconds #11

anonymous12345678910111213 opened this issue Sep 23, 2014 · 1 comment

Comments

@anonymous12345678910111213

Hello,

i am trying to run the below script test3.js :

var tinder = require('tinderjs');
var client = new tinder.TinderClient();
var _ = require('underscore');
console.log('Trying to log...');
client.authorize(
"CAAGm0PX4ZCpsxxxxxxxxxxxxxxx",
"100007278xxxxxx",

function() {
console.log('log ok');
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 ;)");
        }
      });
    });
});

});


When i run it , i got:

C:\Documents and Settings\Utilisateur\node_modules\tinderjs>node test3.js
Trying to log...

C:\Documents and Settings\Utilisateur\node_modules\tinderjs>

Closed after two seconds, i got the facebook token using Charlesproxy to sniff my phone traffic using charles SSL crt file, and the fb user id using http://graph.facebook.com/myusername

Tinder works fine on my phone aswell on bluestacks android emulator,

i don't know what i can't get connect ? can you help me ??

Thanks you very much

Toto84

@anonymous12345678910111213
Copy link
Author

Hi again,

sorry it's working fine, i had version 1.0.6, and updated to 1.0.7 and now it's working ! :)

Thanks
cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant