Google Drive Picker - Developer Key is Invalid Error

后端 未结 4 1294
旧巷少年郎
旧巷少年郎 2020-12-05 10:11

I started to learn Google Drive Picker API and started with my localhost (I have created my client id and browser key for the domain http://localhost/

4条回答
  •  青春惊慌失措
    2020-12-05 10:55

    You must enable picker api:
    go https://console.developers.google.com/ select your project then click APIs & auth find Google Picker API and enable it.
    I add .setCallback(pickerCallback) to createPicker function and add new function (pickerCallback)
    complete code:

    
    
      
        
        Google Picker Example
    
       
    
      
      
        

    enter image description here

    enter image description here

提交回复
热议问题