Giter Club home page Giter Club logo

Comments (6)

itsManeka avatar itsManeka commented on September 13, 2024

Hello @Ch41r05 , how are you?

The sticker images are from the Instagram app, where the app assembles the image with its functionality when you are creating your story.

Instagrapi doesn't have the images, as it doesn't make sense to upload them with the module, it just brings the functionality.
Therefore, if you need the link image to appear you will have to do it yourself, manipulating the image you want to post by adding the link image of your choice.

In short, Instagrapi stickers will always come without an image, they will only come with their proper functionality.

from instagrapi.

Ch41r05 avatar Ch41r05 commented on September 13, 2024

Hello @itsManeka ,

Thanks for spending your time answering me! I understand that instagrapi doesn't have sticker images, what I was wondering about was how to process Instagram images so I can show them using instagrapi, since the guide doesn't have any examples and I have no idea on how to do it since I 'm new to this. Would it be possible to have this added to the guide? Or having some code snippet that lets me understand how to do that?

Thanks a lot

from instagrapi.

itsManeka avatar itsManeka commented on September 13, 2024

It is not possible to bring images from Instagram properly. You have to do it on your own.

Example: if you want to post a photo with a link, you will have to have the link image already in the photo, positioned at the same point as the sticker coordinates, or have the two images (the photo and the link image) and join them two through code (use the Pillow library, for example)

I personally don't think this should be in the Instagrapi documentation because it is not part of its functionality. The library is used to make requests, regardless of the image the user wants to post, this last part is up to the user.

from instagrapi.

Ch41r05 avatar Ch41r05 commented on September 13, 2024

@itsManeka thanks for the response, now I understand! What I'm wondering about now (maybe I'm missing something) is what are the StorySticker objects supposed to do since the sticker should only be merged into the base image. Thanks anyway for the explaination!

from instagrapi.

itsManeka avatar itsManeka commented on September 13, 2024

Your welcome!
I believe that stickers should have different classes due to their different functionalities (reactions, links, locations, etc.)
Most likely there are also properties with different names on the endpoints and, therefore, they should be separated.

If there are no more questions left, I believe the issue can be closed.

from instagrapi.

Ch41r05 avatar Ch41r05 commented on September 13, 2024

Thanks! Yes, I'll close the issue

from instagrapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.