Giter VIP home page Giter VIP logo

Comments (6)

piroor avatar piroor commented on September 2, 2024

The command ./tweet.sh upload just uploads specified image to the network storage. To post a tweet with images, you need to extract media_id from the result of ./tweet.sh upload and specify it via the -m option of ./tweet.sh post or ./tweet.sh reply.

from tweet.sh.

alonzoperry avatar alonzoperry commented on September 2, 2024

Understood. So here's the output of that attempt.

./tweet.sh upload wilber-big.png
{"media_id":954206267744006149,"media_id_string":"954206267744006149","size":35207,"expires_after_secs":86400,"image":{"image_type":"image/png","w":300,"h":224}}

./tweet.sh tw -m 954206267744006149 Gimp
{"errors":[{"code":32,"message":"Could not authenticate you."}]}

Everything works just fine. Thanks again for releasing this tool.

from tweet.sh.

ramotswa avatar ramotswa commented on September 2, 2024

I'm getting this "Could not authenticate you" error too. I have tried the line change as suggested by #8 , but that hasn't worked for me.

from tweet.sh.

alonzoperry avatar alonzoperry commented on September 2, 2024

Ramotswa,

Oddly enough, your comment helped me fix it on my end. I made the change to line 1000 from #8 and now images are working for me. Thanks

from tweet.sh.

ramotswa avatar ramotswa commented on September 2, 2024

from tweet.sh.

piroor avatar piroor commented on September 2, 2024

Files couldn't be uploaded due to my fault, and the problem should be fixed with 565657b.

from tweet.sh.

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.