Sync a user's liked (followed) breweries into the cache
untappd_sync_brewery_likesSync a user's liked Untappd breweries into the local cache so they count as favorites; resumable passes avoid rate limits and remove unlikes after a full sync.
Instructions
Mirror the breweries a user "likes" on Untappd (user/brewerylikes — the app calls them "followings"; works for other users' public/friend accounts) into the local cache. Liked breweries then count as favorites with source "untappd" — in untappd_favorites_list, the favorite field on has_had / brewery_beers / venue_menu / top_not_had / trip_check results, and the prefer_favorites boost. Each sync is a full pass from the top (~50 breweries per call), adding new likes and — once the pass finishes — dropping unliked ones (a partial pass never deletes). Resumable: saves progress every page; run again until another_run_needed is false (reports cached/total and percent). Stops BEFORE the ~100 calls/hour rate limit (or cleanly on a 429) with stopped_for_rate_limit and rate_limit.resume_at. Only reads Untappd. Untappd has NO followed/favorite VENUE list, so venue favorites stay derived + manual. (brewery/info's follow_status is the signed-in account's, never another user's — this list is the way to see theirs.) Omit username for your own account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | No | Untappd username. Omit to use your own configured account (UNTAPPD_USERNAME). | |
| max_pages | No | Pages (~50 breweries each) to fetch this run (default 10, max 50). |