dilame / instagram-private-api

NodeJS Instagram private API SDK. Written in TypeScript.
MIT License
6.02k stars 1.14k forks source link

Error with Chat Sticker in Stories #1253

Open MathisSnikpic opened 4 years ago

MathisSnikpic commented 4 years ago

Bug Report

Read the Notes and fill out the form.

Form

Put an [x] if you meet the condition, else leave [ ].

Requirements

Description

A specific description of your bug, so it's understandable to anyone. If you have pictures or videos to upload, please add a link like this: [title](url).

Hi, I encounter an error when publishing stories with the chat sticker. I've reproduced the given example but I still get the same error. Here is the portion of the code, the stickerbuilder is already declared and the .build() comes after. The login works properly, even publishing stories with other stickers work fine apart from the countdown one. chat is the argument I pass to the function, it looks like this: { "text" : "Happy new year", "x" : 0.5, "y" : 0.5, "width" : 0.6, "height" : 0.6 }

Code

Add a meaningful section of your code here. If you are using TypeScript replace js with typescript.


StickerBuilder.chat({
                    text: chat.text,
                    x: chat.x,
                     y: chat.y,
                    width: chat.width,
                    height: chat.height
                }),

Error and Output

If you've got an error put it here. You can get the stacktrace in the most environments using Error.stack (MDN Docs).

error: IgResponseError: POST /api/v1/media/configure_to_story/ - 400 Bad Request; Server got invalid interactive
evecimar commented 3 years ago

Same error in here!