Giter Club home page Giter Club logo

Comments (11)

HelloTan avatar HelloTan commented on September 13, 2024 1

Okay, I got it @adw0rd

from instagrapi.

subzeroid avatar subzeroid commented on September 13, 2024 1

@mario-amazing I think so

Check it out for yourself please

from instagrapi.

adw0rd avatar adw0rd commented on September 13, 2024

@HelloTan publish a story and give me a link to it

from instagrapi.

HelloTan avatar HelloTan commented on September 13, 2024

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.

adw0rd avatar adw0rd commented on September 13, 2024

@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/

image

from instagrapi.

HelloTan avatar HelloTan commented on September 13, 2024

So when I write using the PIL module, will Instagram mention the article? I still don't understand the story performance??

from instagrapi.

adw0rd avatar adw0rd commented on September 13, 2024

@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.

HelloTan avatar HelloTan commented on September 13, 2024

Is there a module that reads the coordinates of the writing in the image?

from instagrapi.

adw0rd avatar adw0rd commented on September 13, 2024

@HelloTan When you place an writing on a picture, you know its coordinates
Or I don't understand you)

from instagrapi.

mario-amazing avatar mario-amazing commented on September 13, 2024

@adw0rd, could you please explain what x, y, width, height variables mean? Are they a percentage? And is the picture correct?
image

from instagrapi.

mario-amazing avatar mario-amazing commented on September 13, 2024

I found a solution, in the browser version of instagram you can customize the desired area

1

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.