Connecting Accounts¶
Stargrazer supports 6 platforms: Facebook, Instagram, TikTok, YouTube, LinkedIn, and X.
Login Flow¶
- Go to Settings and find the Social Media Connections section
- Click a platform card (e.g., Instagram)
- The browser opens the platform's login page AND a cookie paste modal appears
- Log in to the platform in the browser
- Click the cookies extension icon (pinned in the toolbar)
- Export cookies in Netscape format
- Paste the cookies into the modal and click Import Cookies
What Happens After Import¶
- Cookies are parsed and saved to disk (
%APPDATA%/stargrazer/sessions/browser_profile/cookies/) - If the browser is running, cookies are injected immediately via CDP
- An auto keep-alive schedule is created to refresh the session before cookies expire
- The platform card turns green showing "Connected"
Session Persistence¶
All platforms share a single browser profile. Cookies persist across:
- Browser restarts
- App restarts
- System reboots
Purging a Session¶
To disconnect and re-login:
- Click the (i) info button on the platform card
- Click Purge Session
- The stored cookies are deleted
- Click the card again to reconnect