cant show a dialog gapi.drive.share.ShareClient -


code lines:

gapi.auth.authorize({ client_id: clientid, scope: scopes, immediate: false},  function (authresult)  { gapi.client.load('drive', 'v2', function () {      gapi.load('drive-share', function () {   var client = new gapi.drive.share.shareclient(key);     client.setitemids([pathid]);     client.showsettingsdialog();       }); }); } 

it shows error message instead of sharing dialog:

sorry, sharing unavailable @ time. please try again later 

in message box.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -