piroor / tweet.sh

Twitter client written in simple Bash script
MIT License
237 stars 47 forks source link

./tweet.sh tw -m 919166902479581184 hello : "Could not authenticate you." #8

Closed markcross closed 3 years ago

markcross commented 7 years ago
mark@work:~/tweet.sh$ ./tweet.sh upload ~/Downloads/IMG_20171011_121407_small.jpg 
{"media_id":919166902479581184,"media_id_string":"919166902479581184","size":748629,"expires_after_secs":86400,"image":{"image_type":"image\/jpeg","w":4160,"h":3120}}
 mark@work:~/tweet.sh$ ./tweet.sh tw -m 919166902479581184 hello
 {"errors":[{"code":32,"message":"Could not authenticate you."}]}

:-)

markcross commented 7 years ago

This was solved by @moisesalvarez commented on Jul 8 when reporting https://github.com/piroor/tweet.sh/issues/5

Line 1000 fixes it with

media_params="media_ids $OPTARG"