Skip to content

Instantly share code, notes, and snippets.

View Ipseeta's full-sized avatar
🎯
Focusing

Ipseeta Priyadarshini Ipseeta

🎯
Focusing
View GitHub Profile
@ORESoftware
ORESoftware / read_SE_API.js
Last active July 14, 2017 09:43
StackExchange API Node.js
/**
* Created by amills001c on 9/15/15.
*/
var url = 'http://api.stackexchange.com/2.2/answers?order=desc&sort=activity&site=stackoverflow';
var http = require("http");
var zlib = require("zlib");
@raineorshine
raineorshine / _chrome-ext-auth-identity.md
Last active July 30, 2024 12:04
How to set up user authentication for a Chrome Extension using the Chrome Identity API

How to set up user authentication for a Chrome Extension using the Chrome Identity API

  1. Create a private key file, from which you can create the manifest key and Application ID, as detailed here: https://stackoverflow.com/questions/23873623/obtaining-chrome-extension-id-for-development
  2. Add the manifest key to "key" in manifest.json
  3. Create a new project in Google Developer Console https://console.developers.google.com/project
  4. Go to "APIs & auth > Credentials" and create new client id for a Chrome Application using the Application ID generated in step 3.
  5. Copy the Client ID to oauth2.client_id in the manifest.json

Deprecated?