ios - How can I get Google contact list from swift 3? -


i'm trying contact list swift 3? i've try following url contacts google i've got 401. that's error.. please me how solve it.

https://www.google.com/m8/feeds/contacts/default/full/?access_token=[token]&alt=json&callback=? 

try this:

if uiapplication.shared.canopenurl(_your_url_) {                 uiapplication.shared.open(_your_url_, completionhandler: { (success) in                     print("success") // prints success                 })             } 

Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -