Google Platforms Setup
Configure YouTube and Google Business Profile through the Google Cloud Console.
Prerequisites
- Google Cloud Project
- OAuth 2.0 credentials configured
- APIs enabled (see below)
APIs to Enable
In Google Cloud Console → APIs & Services → Library:
| API | Purpose |
|---|---|
| YouTube Data API v3 | YouTube publishing and analytics |
| Google My Business API | Google Business Profile posting |
| Google+ API | Basic profile info (deprecated but sometimes needed) |
Required Scopes
YouTube
| Scope | Purpose |
|---|---|
https://www.googleapis.com/auth/youtube | Full YouTube access |
https://www.googleapis.com/auth/youtube.upload | Upload videos |
https://www.googleapis.com/auth/youtube.readonly | Read channel info |
https://www.googleapis.com/auth/yt-analytics.readonly | Read analytics |
Google Business Profile
| Scope | Purpose |
|---|---|
https://www.googleapis.com/auth/business.manage | Manage business profile |
Callback URLs
https://api.tendsocial.com/api/social/accounts/callback/youtube
https://api.tendsocial.com/api/social/accounts/callback/google_businessSet in: Google Cloud Console → APIs & Services → Credentials → OAuth 2.0 Client → Authorized redirect URIs
Environment Variables
bash
GOOGLE_CLIENT_ID=your_client_id
GOOGLE_CLIENT_SECRET=your_client_secretOAuth Consent Screen Setup
- Go to APIs & Services → OAuth consent screen
- Select External user type (unless G Suite only)
- Fill in required fields:
- App name:
TendSocial - User support email
- Developer contact email
- App name:
- Add scopes listed above
- Add test users (for development)
Platform Limitations
YouTube
| Feature | Status |
|---|---|
| Video uploads | ✅ Supported |
| Shorts | ✅ Supported (via standard upload) |
| Community posts | ❌ Not available via API |
| Comments | ✅ Read/write supported |
| Analytics | ✅ Supported |
Google Business Profile
| Feature | Status |
|---|---|
| Posts | ✅ Supported |
| Photos | ✅ Supported |
| Reviews (read) | ✅ Supported |
| Reviews (reply) | ✅ Supported |
| Q&A | ⚠️ Limited support |
Verification Requirements
For production use with external users:
- OAuth consent screen verification required for sensitive scopes
- Submit verification request through Google Cloud Console
- Provide privacy policy URL
- May require security assessment for certain scopes
NOTE
YouTube API scopes are considered "sensitive" and require verification before publishing to external users.