Open zceolrj opened 8 years ago
try this `if (Meteor.isServer) { Meteor.methods({ checkTwitter: function () { this.unblock(); return Meteor.http.call("GET", "http://search.twitter.com/search.json?q=perkytweets"); } }); }
//invoke the server method if (Meteor.isClient) { Meteor.call("checkTwitter", function(error, results) { console.log(results.content); //results.data should be a JSON object }); }`
try players = new MysqlSubscription('allPlayers');
players.push(); players.shift();
players.changed();