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

learn more… | top users | synonyms

0
votes
1answer
81 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
14 views

When I run a program on my terminal it shows an error, but not on eclipse?

I'm a beginner to Java and I wrote this program. When I run the program on the terminal it gave me an error like: Error: Main method not found in class Rectangle, please define the main method ...
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, ...