Open capeh opened 8 years ago
it is pretty hard becouse u need to add tokens to ur feeder so every bot get a token and token only last for about 2 hour so u also need to make a auto token genaretor its hard but i am finally done with my code i dont share sry
Not hard
Pff easy... LVL 1 NEEDED IN JS
//auth_token request example
var AgarioClient = require('../agario-client.js'); //Use next line in your scripts //var AgarioClient = require('agario-client'); //Use this in your scripts
var account = new AgarioClient.Account();
//Login through facebook on http://agar.io/ and copy cookies c_user,datr,xs from http://www.facebook.com/ here account.c_user = '1000xxxxxx795'; account.datr = 'q0F5VlxxxxxxxxxxXEJDC'; account.xs = '200:OPXxxxxxxxMw:2:1450787324:-1';
//Request token account.requestFBToken(function(token, info) { if(token) { console.log('Got new token: ' + token); console.log('Now you can set it in client.auth_token and connect'); console.log('Token will expire in ' + ( account.token_expire-(+new Date) ) + 'ms'); }else{ console.log('Failed to get token!'); if(info.error) console.log('Request error: ' + info.error); if(info.res && info.res.statusCode) console.log('HTTP code: ' + info.res.statusCode); if(info.res && info.res.headers && info.res.headers.location) console.log('Redirect: ' + info.res.headers.location); if(info.data) console.log('HTML: ' + info.data); } });
Where to put? And is it possible with multiple?
Sendt fra min iPhone
Den 26. mar. 2016 kl. 20.27 skrev Hassan notifications@github.com:
Pff easy... LVL 1 IN JS
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Please someone
Sendt fra min iPhone
Den 26. mar. 2016 kl. 21.47 skrev Wartoz notifications@github.com:
//auth_token request example
var AgarioClient = require('../agario-client.js'); //Use next line in your scripts //var AgarioClient = require('agario-client'); //Use this in your scripts
var account = new AgarioClient.Account();
//Login through facebook on http://agar.io/ and copy cookies c_user,datr,xs from http://www.facebook.com/ here account.c_user = '1000xxxxxx795'; account.datr = 'q0F5VlxxxxxxxxxxXEJDC'; account.xs = '200:OPXxxxxxxxMw:2:1450787324:-1';
//Request token account.requestFBToken(function(token, info) { if(token) { console.log('Got new token: ' + token); console.log('Now you can set it in client.auth_token and connect'); console.log('Token will expire in ' + ( account.token_expire-(+new Date) ) + 'ms'); }else{ console.log('Failed to get token!'); if(info.error) console.log('Request error: ' + info.error); if(info.res && info.res.statusCode) console.log('HTTP code: ' + info.res.statusCode); if(info.res && info.res.headers && info.res.headers.location) console.log('Redirect: ' + info.res.headers.location); if(info.data) console.log('HTML: ' + info.data); } });
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
plz