Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow it to tweet GIFs #22

Open
kanyawest42 opened this issue Sep 14, 2019 · 3 comments
Open

Allow it to tweet GIFs #22

kanyawest42 opened this issue Sep 14, 2019 · 3 comments

Comments

@kanyawest42
Copy link

Is it possible to make changes to the code so that it'll support tweeting GIFs?

@joaquinlpereyra
Copy link
Owner

Hey kanya, impossible is nothing. As you see I'm not actively maintaining this anymore, feel free to fork it.

@krmidell
Copy link

Somebody who can kick me in the right direction to change the code to allow gif and mp4?

@joaquinlpereyra-iov
Copy link

Hello @krmidell

  1. So the bots apparently will try to select anything you put on the folder: https://github.com/joaquinlpereyra/twitterImgBot/blob/master/twitterbot.py#L60

  2. If I remember correctly the bot already supports GIFs, just drom em in the folder.

  3. I would expect video to work too, but if it doesn't, I would look in this function https://github.com/joaquinlpereyra/twitterImgBot/blob/master/bot/status.py#L19 to see if the Twitter API needs additional parameters or something like that.

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants