Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: instagram url parameters #40

Merged
merged 1 commit into from
Jul 4, 2022
Merged

fix: instagram url parameters #40

merged 1 commit into from
Jul 4, 2022

Conversation

atz-spe
Copy link
Contributor

@atz-spe atz-spe commented Jul 4, 2022

Fix:
La requête dans la fonction getUserId() ne fonctionnait plus suite aux modifications portées par Instagram.
L'ajout du paramètre &__d=dis permet l'exécution du programme comme prévu.
Il semblerait qu'Instagram s'attende désormais à ce qu'il ne soit pas vide.

Proof:
=> https://www.instagram.com/valdsullyvan/?__a=1

for (;;);{
    "__ar": 1,
    "error": 1357004,
    "errorSummary": "Désolé, une erreur s’est produite.",
    "errorDescription": "Essayez de fermer, puis d’ouvrir à nouveau la fenêtre de votre navigateur.",
    "payload": null
}

=> https://www.instagram.com/valdsullyvan/?__a=1&__d=dis

"logging_page_id": "profilePage_1223854394",
    "show_suggested_profiles": false,
    "graphql": {
        "user": {
            "biography": "@echelon.records \nBilletterie Vald Tour 2022 🔽",
[...]

Ref: https://stackoverflow.com/a/72675083/14288283

@megadose megadose merged commit 730c9a5 into megadose:master Jul 4, 2022
@atz-spe atz-spe deleted the fix-request branch July 4, 2022 22:16
Copy link

@emonnaim emonnaim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It returns "User not found or rate limit".
Could you kindly assist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants