Skip to content

Latest commit

 

History

History
169 lines (123 loc) · 4.98 KB

File metadata and controls

169 lines (123 loc) · 4.98 KB

Facebook Scheduler - Key File Locations

This document provides a comprehensive guide to all the important file locations used by the Facebook Scheduler application.

📁 Application Data Directory

Base Directory: ~/Library/Application Support/Facebook Scheduler/ Full Path: /Users/ss_home/Library/Application Support/Facebook Scheduler/


🔐 License Files

User License Key

  • Location: ~/.facebook_scheduler_license
  • Full Path: /Users/ss_home/.facebook_scheduler_license
  • Purpose: Contains the user's encrypted license data
  • Size: 640 bytes
  • Access: Read/write by the application
  • Note: Hidden file (starts with dot)

Public Key (for validation)

  • Location: dist/Facebook Scheduler.app/Contents/Resources/private/license_public.pem
  • Purpose: Used to validate user licenses
  • Size: 451 bytes
  • Access: Read-only, embedded in the app bundle

📊 Configuration Files

Group Configuration

  • Location: ~/Library/Application Support/Facebook Scheduler/group_config.json
  • Purpose: Stores Facebook groups, post text, schedules, and posting preferences
  • Size: ~2.8KB
  • Contains:
    • Group URLs
    • Post text content
    • Image paths
    • Schedule settings (days, times, number of posts)
    • Profile type (business/personal)

Scheduled Jobs

  • Location: ~/Library/Application Support/Facebook Scheduler/scheduled_jobs.json
  • Purpose: Stores active scheduled posting jobs
  • Access: Created dynamically by the application

🍪 Browser Data

Facebook Cookies

  • Location: ~/Library/Application Support/Facebook Scheduler/data/facebook_cookies.pkl
  • Purpose: Stores Facebook login session cookies
  • Format: Python pickle file
  • Access: Read/write by the application

📝 Log Files

Application Logs

  • Location: ~/Library/Application Support/Facebook Scheduler/logs/
  • Format: app_YYYYMMDD.log
  • Example: app_20250912.log
  • Purpose: Application activity, errors, and debugging information
  • Size: ~18KB (varies by usage)

Auto Post Logs

  • Location: ~/Library/Application Support/Facebook Scheduler/auto_post_log.txt
  • Purpose: Detailed logging of automated posting activities
  • Size: ~28KB
  • Contains: Post attempts, success/failure status, timestamps

🏗️ Build Files (Development)

Source Configuration Files

  • group_config.json: ./group_config.json (source)
  • last_schedule.json: ./last_schedule.json (source)
  • scheduled_jobs.json: ./scheduled_jobs.json (source)

App Bundle Resources

  • Location: dist/Facebook Scheduler.app/Contents/Resources/
  • Contains: All configuration files copied during build process

🔍 How to Access These Files

Method 1: Finder (GUI)

  1. Application Data:

    • Press Cmd + Shift + G in Finder
    • Type: ~/Library/Application Support/Facebook Scheduler/
  2. License File:

    • Press Cmd + Shift + G in Finder
    • Type: ~/.facebook_scheduler_license
  3. App Bundle:

    • Navigate to dist/Facebook Scheduler.app
    • Right-click → "Show Package Contents"
    • Go to Contents/Resources/

Method 2: Terminal Commands

# Open application data directory
open ~/Library/Application\ Support/Facebook\ Scheduler/

# View group configuration
cat ~/Library/Application\ Support/Facebook\ Scheduler/group_config.json

# View latest log file
tail -f ~/Library/Application\ Support/Facebook\ Scheduler/logs/app_$(date +%Y%m%d).log

# View license file
cat ~/.facebook_scheduler_license

# Copy license file to Desktop (to make it visible)
cp ~/.facebook_scheduler_license ~/Desktop/facebook_scheduler_license.txt

Method 3: Show Hidden Files

  • Finder: Press Cmd + Shift + . to toggle hidden files visibility
  • Terminal: Use ls -la to see all files including hidden ones

📋 File Permissions

  • Configuration Files: Read/write by application
  • Log Files: Append-only by application
  • License Files: Read-only (public key), Read/write (user license)
  • Cookie Files: Read/write by application

🚨 Important Notes

  1. Backup: Always backup configuration files before making changes
  2. Security: License files contain sensitive information
  3. Logs: Log files can grow large over time
  4. Cookies: Deleting cookie files will require re-login to Facebook
  5. Hidden Files: License files are hidden by default (start with dot)

🔧 Troubleshooting

If files are missing:

  1. Check if the application has been run at least once
  2. Verify directory permissions
  3. Check if the app is running from the correct location

If you can't see hidden files:

  1. Use Cmd + Shift + . in Finder
  2. Use ls -la in Terminal
  3. Copy files to Desktop for visibility

If configuration is lost:

  1. Check the source files in the project directory
  2. Restore from backup if available
  3. Reconfigure through the application GUI

Last Updated: September 12, 2025 Application Version: 1.0.0