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

How to add stickers? #644

Closed
misterpeople opened this issue Apr 20, 2022 · 8 comments
Closed

How to add stickers? #644

misterpeople opened this issue Apr 20, 2022 · 8 comments

Comments

@misterpeople
Copy link

I cant find a way to add stickers with this lib, can someone help?

@adw0rd
Copy link
Contributor

adw0rd commented Apr 20, 2022

You have to draw your own sticker (as it is done in the Instagram app)
And instagrapi will help you mark up the metadata for your sticker (link area and more) - StorySticker
https://adw0rd.github.io/instagrapi/usage-guide/story.html

@adw0rd
Copy link
Contributor

adw0rd commented Apr 20, 2022

To understand what data needs to be sent via StorySticker, you need to look in Charles

@adw0rd adw0rd pinned this issue Apr 20, 2022
@Borgerod
Copy link

Hey @adw0rd, Me and Misterpeople are working on a bot together. More specifically what I think he meant by that was;

  1. how do you add polls and slidebar to a story-upload? As shown below:
    278869468_662309635055408_7871368504280949950_n

  2. Also, what do you mean by "draw your own sticker"?
    I don't think I can create my own poll-sticker from scratch then make the API recognize my homemade-sticker as the poll-
    sticker?

  3. Lastly, whenever I want to upload a photo-story and use storybuilder to add @mentions or #hashtags; then the photo-story gets converted into a video-clip where the text is flashing on the screen, is it supposed to do this or am I doing something wrong? I would like for it to not be a mp4 but remain a jpg. Here's an example on how it looks like:

video-1650458697.mp4

@adw0rd
Copy link
Contributor

adw0rd commented Apr 20, 2022

@Borgerod you can install Charles and see how to do it

How the instagram app does it:

  1. Creates a photo or video story with the desired stickers and sends it to the instagram server
  2. Sends markup so that the sticker can be clicked

I hope you understand my explanation

@adw0rd
Copy link
Contributor

adw0rd commented Apr 20, 2022

Lastly, whenever I want to upload a photo-story and use storybuilder to add @mentions or #hashtags; then the photo-story gets converted into a video-clip where the text is flashing on the screen, is it supposed to do this or am I doing something wrong? I would like for it to not be a mp4 but remain a jpg. Here's an example on how it looks like:

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

@adw0rd
Copy link
Contributor

adw0rd commented Apr 20, 2022

Also, what do you mean by "draw your own sticker"?
I don't think I can create my own poll-sticker from scratch then make the API recognize my homemade-sticker as the poll-
sticker?

Install charles and see how it works

@Borgerod
Copy link

Thank you for the reply, I'll come back with an update once I've tried it out!

@murilobellatini
Copy link

@Borgerod Have you guys tried it out ?

By the way I got rid of the blinking on a local project, could that become a PR? @adw0rd

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

No branches or pull requests

4 participants