Skip to content

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:

APIPurpose
YouTube Data API v3YouTube publishing and analytics
Google My Business APIGoogle Business Profile posting
Google+ APIBasic profile info (deprecated but sometimes needed)

Required Scopes

YouTube

ScopePurpose
https://www.googleapis.com/auth/youtubeFull YouTube access
https://www.googleapis.com/auth/youtube.uploadUpload videos
https://www.googleapis.com/auth/youtube.readonlyRead channel info
https://www.googleapis.com/auth/yt-analytics.readonlyRead analytics

Google Business Profile

ScopePurpose
https://www.googleapis.com/auth/business.manageManage business profile

Callback URLs

https://api.tendsocial.com/api/social/accounts/callback/youtube
https://api.tendsocial.com/api/social/accounts/callback/google_business

Set 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_secret
  1. Go to APIs & Services → OAuth consent screen
  2. Select External user type (unless G Suite only)
  3. Fill in required fields:
    • App name: TendSocial
    • User support email
    • Developer contact email
  4. Add scopes listed above
  5. Add test users (for development)

Platform Limitations

YouTube

FeatureStatus
Video uploads✅ Supported
Shorts✅ Supported (via standard upload)
Community posts❌ Not available via API
Comments✅ Read/write supported
Analytics✅ Supported

Google Business Profile

FeatureStatus
Posts✅ Supported
Photos✅ Supported
Reviews (read)✅ Supported
Reviews (reply)✅ Supported
Q&A⚠️ Limited support

Verification Requirements

For production use with external users:

  1. OAuth consent screen verification required for sensitive scopes
  2. Submit verification request through Google Cloud Console
  3. Provide privacy policy URL
  4. May require security assessment for certain scopes

NOTE

YouTube API scopes are considered "sensitive" and require verification before publishing to external users.

TendSocial Documentation