Skip to main content
2 of 2
The Script tag is for listing your app, not seeking support. Misc cleanup.

Stack Exchange API in Chrome extension

How I can connect my extension to the API? I tried to use this example code for connecting:

SE.init({ clientId: 1, key: '?', channelUrl: '?', complete: function (data) { alert('connected') } }); SE.authenticate({ success: function(data) { alert('ok') }, error: function(data) { alert('error') }, networkUsers: true }); 

Which value I should put in channelUrl? And how I can register app and get token key, if it will work locally?