đź“· Upload Foto ke Google Drive

Pengaturan awal (sekali saja)
  1. Buka console.cloud.google.com, buat project baru.
  2. Menu APIs & Services → Library, aktifkan Google Drive API.
  3. OAuth consent screen: pilih External, isi nama aplikasi, tambahkan email Anda di Test users.
  4. Credentials → Create Credentials → OAuth client ID, tipe Web application.
  5. Di Authorized JavaScript origins, isi alamat tempat halaman ini di-host (harus https://, atau http://localhost).
  6. Salin Client ID lalu tempel di kolom bawah.

Foto dikecilkan di perangkat Anda sebelum diunggah. Hasil disimpan sebagai JPEG.