Comments (11)
Okay, I got it @adw0rd
from instagrapi.
@mario-amazing I think so
Check it out for yourself please
from instagrapi.
@HelloTan publish a story and give me a link to it
from instagrapi.
https://www.instagram.com/stories/rbot_tanysz/2457448261122185634/
See dude, I have mentioned you, but there is no writing at all
my code
cl.photo_upload_to_story(
"dasdawdsd.jpg",
"Hello @adw0rd",
mentions=[StoryMention(user=usernamenya, x=0.49892962, y=0.703125, width=0.8333333333333334, height=0.125)],
links=[StoryLink(webUri='https://google.com')]
)
from instagrapi.
@HelloTan you must place the text on the picture itself, instagram also does
See https://github.com/adw0rd/instagrapi/blob/master/instagrapi/story.py#L86
and result https://www.instagram.com/stories/dhbastards/2457451983137977288/
from instagrapi.
So when I write using the PIL module, will Instagram mention the article? I still don't understand the story performance??
from instagrapi.
@HelloTan Write text as picture to dasdawdsd.jpg and mark at the same coordinates StoryMention(user=usernamenya, x=0.49892962, y=0.703125, width=0.8333333333333334, height=0.125)
from instagrapi.
Is there a module that reads the coordinates of the writing in the image?
from instagrapi.
@HelloTan When you place an writing on a picture, you know its coordinates
Or I don't understand you)
from instagrapi.
@adw0rd, could you please explain what x, y, width, height
variables mean? Are they a percentage? And is the picture correct?
from instagrapi.
I found a solution, in the browser version of instagram you can customize the desired area
![1](https://private-user-images.githubusercontent.com/9537753/290659914-6383ef8e-2666-41c1-a5b3-16d2399ed33e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMDU2ODQsIm5iZiI6MTcyNTIwNTM4NCwicGF0aCI6Ii85NTM3NzUzLzI5MDY1OTkxNC02MzgzZWY4ZS0yNjY2LTQxYzEtYTViMy0xNmQyMzk5ZWQzM2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDFUMTU0MzA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MDU1OTkzNWE3OGY0MTUxYjIyMzUwNGYwYzA1NjExZmEwNDU4NmVmNmM2ZjJjZjI3YzY1YzA0YTg3YjhlM2FhMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.MqJQKmGtQnl7fRGni7WJHac_QXQFlrTC15BeCKbxa7g)
from instagrapi.
Related Issues (20)
- [feature request] broad cast channels HOT 1
- [BUG] DM direct_media_send/direct_send not working HOT 1
- [BUG] trying to follow user HOT 1
- Exception "Login Required" When Setting Account Status to Private After Automated Interactions
- [BUG] photo_upload and photo_upload_to_story fails when logged in via sessionid HOT 5
- ADD POSSIBILITY TO ADD MUSIC ON NOTE
- How to load all followers' names from an account that has almost 1k
- Reacting to a direct message
- Is there a way to list the posts I liked? HOT 2
- [BUG]Even though I use the logout() function, the user is not logged out.
- AttributeError: 'Client' object has no attribute 'signup' HOT 8
- [BUG] Instragrapi not handling Reels.
- Signup function gets interrupted by Instagram HOT 13
- [BUG] DEDICATED RESIDENTIAL proxy doesn't work as mentioned
- [BUG] user_info_v1 gives status 404: Endpoint /v1/users/XXXXXXXX/info/ does not exist
- [BUG]login unsuccessful
- [BUG] user_medias function returns no results
- [BUG]Instagram Full Name not changing
- [BUG] comment_count, like_count, and play_count is invalid
- Upload reels without them appearing in the main feed
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.