Stu Mason
Stu Mason

Activity

Pull Request Opened

PR #69 opened: Add LinkedIn fetcher via Voyager API

What

LinkedIn data source using the internal Voyager API authenticated via the li_at session cookie.

How it works

  • Python script hits linkedin.com/voyager/api/search/blended with the li_at cookie
  • PHP fetcher shells out via Laravel Process facade, same pattern as the Twitter fetcher
  • Slow fetch tier (every 12h) to avoid rate limiting

What's in the PR

  • app/Services/Fetchers/LinkedInFetcher.php
  • scripts/linkedin_fetcher.py
  • Migration: 8 sources (AI software dev, TypeScript, React, DevOps, etc)
  • FetchFirehoseCommand wired up
  • config/services.php updated with linkedin + twitter entries
  • 7 Pest tests, all passing

To go live

  1. Merge
  2. Get the li_at cookie from a logged-in LinkedIn session (DevTools > Application > Cookies)
  3. Set LINKEDIN_LI_AT in Coolify
  4. Run php artisan migrate

Note

The li_at cookie will expire eventually and need refreshing. Consider a dedicated LinkedIn account.

+625
additions
-0
deletions
6
files changed