subzeroid / instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2024
https://hikerapi.com/p/bkXQlaVe
MIT License
4.22k stars 667 forks source link

"Link Sticker" of Story #1139

Closed sametcopur closed 1 year ago

sametcopur commented 1 year ago

Hi,

Firstly thanks for who contributed this amazing project.

I am trying to do a instagram bot which automaticall yshares stories with LINK sticker.

https://adw0rd.github.io/instagrapi/usage-guide/story.html in here, StoryLink works well, it adds link to story but only problem is there is no "link sticker".

this is what i mean: image

https://github.com/adw0rd/instagrapi/issues/644 here it explains how it stickers works and says check it with charles.

then i tried to do what this article says: https://adw0rd.com/2020/3/26/sniffing-instagram-charles-proxy/en/ and finally got something in charles.

image

in the end of article, author says if headers-accept contains "zstd" you can decompress then but i couldn't do it :/

for adding link with stickler to my story what should i do or where do i look.

idrizdi commented 1 year ago

@sametcopur knew how to add Link Sticker ?

adw0rd commented 1 year ago

@idrizdi https://adw0rd.github.io/instagrapi/usage-guide/story.html

sametcopur commented 1 year ago

@adw0rd it's add the link but just the link, there is no stickler. that is the problem.

check @kareysali at instagram. i shared a story.

adityaa-codes commented 1 year ago

Thats an Instagram App StoryEditor Feature and not the api feature, so you'll have to edit the image by yourself

juppcamper commented 1 year ago

Hey @sametcopur, trying to do the same. Did you find any solution yet? Also I'm confused because on Github it says StoryLink - Link Sticker" but in the documentation the sticker isn't mentioned

EDIT: Apparently this feature was available some time in the past https://github.com/adw0rd/instagrapi/issues/517

danielsantos852 commented 1 year ago

Good day, everyone!

Has anyone got more information on this issue?

I'm trying to make stories with link stickers as well and am facing the same issues (lack of documentation/examples of URL sticker use).

Any help will be immensely appreciated!

adw0rd commented 1 year ago

https://adw0rd.github.io/instagrapi/usage-guide/story.html

juppcamper commented 1 year ago

https://adw0rd.github.io/instagrapi/usage-guide/story.html

Hi adw0rd, I really appreciate your work, but this issue can't be clarified with a reference to the documentation. Alone the hint that link stickers need x and y coordinates and size information like hashtags is missing at all. Moreover, this results in the sticker remaining invisible (my workaround is to make it huge (e.g. width and height = 5)) so that it doesn't matter where the user taps. But answering the request with a link to the documentation is really not helpful.

adw0rd commented 1 year ago

@juppcamper Thank you very much for the comment, send your improvements to the documentation please, where you share your experience with StorySticker

amitsingh8899 commented 1 month ago

hi @adw0rd , can you help me understand how adding link feature works, currently both the links i.e charles and usage-guide are not opening.