Comments (6)
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.
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.
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.
@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.
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.
Thanks! Yes, I'll close the issue
from instagrapi.
Related Issues (20)
- Scheduled posts for creator (professional) accounts
- [feature request] Batch Password Modification Function
- UKNOWN response: challenge_resolve, challenge_resolve_simple, handle_challenge_result
- When Sign Up feature will be added ?
- List of current_follow_requests HOT 1
- Unsend_Message Feature
- Media likers using GraphQL
- Question: user_medias() able to get range?? Are there any methods to getting ranges of media? HOT 1
- [BUG] not uploaded reels in cron
- Only use the api to upload video to instagram? HOT 1
- login not working[BUG] HOT 3
- [BUG] Empty response message when using `signup` HOT 2
- Media insights is not working. getting null values
- new release date? HOT 1
- Convert account to business account HOT 1
- Check Content-Length after download media
- how to get live(or strem) key from instagram?
- Upload Reels with music from instagram library
- [BUG]Status 201 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instagrapi.