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

mainLoop never gets started after authenticating with facebook app. #10

Open
camharris opened this issue Jan 26, 2015 · 14 comments
Open

Comments

@camharris
Copy link

After authentication on port 8080 at "http://localhost:8080/login" the browser redirects me to "http://localhost:8080/fbtoken?#access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&expires_in=xxxxxx" which shows only a white page. At this point I'm assuming the proper authentication handshake has completed.

However the execution of the bot.mainLoop never gets started.
My script

var tinderbot = require('tinderbot');
var bot = new tinderbot();

bot.FBClientId = 'xxxxxxxxxxxxx';
bot.FBClientSecret = 'xxxxxxxxxxxxxxxxxxxxxxxxxx';

bot.mainLoop = function() {
  console.log("Login completed, app has started");

  bot.client.getRecommendations(10, function(error, data){
    _.chain(data.results)
      .pluck('_id')
      .each(function(id) {
        bot.client.like(id, function(error, data) {
          if (data.matched) {
           console.log("got a new match");
          }
        });
      });
  });

};

bot.live();
@Phoenix09
Copy link

I'm getting exactly the same problem

@tnastine
Copy link

same issue here. any solutions yet?

@insperatum
Copy link

+1

@wcalhoun
Copy link

Exact same problem!

@ghost
Copy link

ghost commented Mar 6, 2015

same issue here

@Ranafugaz
Copy link

same here

@lulz17
Copy link

lulz17 commented Jul 19, 2015

No solution since January? ...

Have the same problem here ..

@HubertKaluzny
Copy link

Issue is still present.

@jcontour
Copy link

Still an issue

@chriswise01
Copy link

Same here

@grennis
Copy link

grennis commented Oct 14, 2015

Same issue here. If you put logging into the tinder js module, you can see that the request to authenticate with tinder fails with "Access Denied". ( ~ tinder.js around line 50). Any ideas?

@Hodini
Copy link

Hodini commented Nov 30, 2015

Anyone here find a solution??

@oneuptim
Copy link

oneuptim commented Jan 1, 2017

Same issue Jan 2017 :/

@sipdbg2
Copy link

sipdbg2 commented May 23, 2017

same issue. may 2017

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