Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Google Contacts API v3 Javascript sample
<script src=""></script>
<script src=""></script>
function auth() {
var config = {
'client_id': 'OAUTH_CLIENT_ID',
'scope': ''
gapi.auth.authorize(config, function() {
function fetch(token) {
url: '',
dataType: 'jsonp',
data: token
}).done(function(data) {
<button onclick="auth();">GET CONTACTS FEED</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.