Skip to content

Instantly share code, notes, and snippets.

@abronte
Created January 22, 2013 00:16
Show Gist options
  • Select an option

  • Save abronte/4590838 to your computer and use it in GitHub Desktop.

Select an option

Save abronte/4590838 to your computer and use it in GitHub Desktop.
forge.internal.call('browser.oauth', {url: "http://stocktwits.com", matchPattern: "stocktwits.com/symbol/ibm"});
forge.internal.addEventListener('browser.gotAuthCode', function(url) {
alert("Do something with "+url);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment