Follower/following lists come back empty (query_hash GraphQL returns no edges)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- api
Línea de trabajo
Start from getFollowersOrFollowingGenerator, which still calls graphql/query/?query_hash=37479f2b8209594dde7facb0d904896a (followers) and 58712303d941c6855d4e888c5f0cd22f (following). Read doesUserFollowMe, which already calls /api/v1/friendships/<userId>/followers/ with the x-ig-app-id header, and reuse that request plus next_max_id→max_id paging. Done when follower/following lists return non-empty edges while unfollowNonMutualFollowers, unfollowAllUnknown, unfollowOldFollowed and listManuallyFollowedUsers still iterate all pages — choose page size and pacing carefully to avoid human checkpoints.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Follower/following lists come back empty (query_hash GraphQL returns no edges)
Version: 1.11.16 (macOS, arm64)
What happens
Since 1.11.16 the profile lookup works again (thanks for the GraphQL fix!), but the bot then finds nobody to follow. The follower list request for a target account returns the follower count, but an empty list and has_next_page: false:
{"data":{"user":{"edge_followed_by":{"count":6269,"page_info":{"has_next_page":false,"end_cursor":null},"edges":[]}}},"extensions":{"is_final":true},"status":"ok"}
So followUserFollowers finishes the target immediately without following anyone. No error is logged, so it looks like the bot is working.
Cause
getFollowersOrFollowingGenerator still uses the old graphql/query/?query_hash=... queries:
- followers:
37479f2b8209594dde7facb0d904896a - following:
58712303d941c6855d4e888c5f0cd22f
Instagram now answers both with "edges": []. The following query is used by unfollowNonMutualFollowers, unfollowAllUnknown, unfollowOldFollowed and listManuallyFollowedUsers, so those likely see an empty list too.
Possible fix
The Followers/Following dialog on instagram.com loads its lists from /api/v1/friendships/<userId>/followers/?count=12&search_surface=follow_list_page (and /following/?count=12), paginated with next_max_id → max_id. doesUserFollowMe already relies on that endpoint. Fetching it from the page with the x-ig-app-id header works in a local patch, but you probably know best what page size and pacing are safe here.
Possibly related
Our account got a "confirm you're human" checkpoint after a run that paged through a large following list via that endpoint (12 per page, a few seconds between pages, during unfollowOldFollowed). It may be unrelated, but it seems worth knowing before choosing page size and pacing.
- Lenguaje dominante
- TypeScript
- Estrellas
- 696
- Forks
- 103
- Merge medio
- 4 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mifi/SimpleInstaBot
-
Bot does not runAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
mifi/SimpleInstaBot#330 · 1 comentario ·
-
Failed to run errorAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
mifi/SimpleInstaBot#322 · 3 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
mifi/SimpleInstaBot#312 · 3 comentarios · 1 reacción ·
-
macOS Sequoia?Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
mifi/SimpleInstaBot#310 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
mifi/SimpleInstaBot#305 · 7 comentarios ·
Todos los issues de mifi/SimpleInstaBot
Issues similares
-
批量图谱关联的备份应排除Obsidian索引Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
logancyang/obsidian-copilot#3753 ·
Los mantenedores suelen responder en 1 día
-
area: presentation severity: important
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
voithos-labs/aragonite#763 ·
Los mantenedores suelen responder en 2 días
-
fix(cursor): align Grok 4.7 context window to 256k/500k and drop unsupported max effort tierAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
diegosouzapw/OmniRoute#17386 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
💡 [Feature] Add an option to hide the empty screen background illustration (Distraction-Free)Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 72/100
super-productivity/super-productivity#10982 · 1 comentario ·
Los mantenedores suelen responder en 1 día