Questions about usage of the Stack Exchange API in client-side browser JavaScript.

learn more… | top users | synonyms

0
votes
1answer
79 views

Javascript SDK channelUrl for local development

I am trying to get started with the Javascript SDK. I am developing on a web server on my local machine. I get a channelUrl-related error when calling SE.init. My code: SE.init({ clientId: ...
0
votes
1answer
154 views

Best way to calculate total badge count in Javascript?

I'm using Javascript and JSONP and want to find-out a user's total badge-count (i'm not using any libraries). At first I naively added up the badge counts individually, but some user's have no ...
0
votes
0answers
7 views

How to call editor commands from the outside?

When initialised, the SE editor instantiates CommandManager: this.run = function () { if (panels) return; // already initialized var commandManager = new CommandManager(hooks, ...