-
Notifications
You must be signed in to change notification settings - Fork 44
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
Failing to retrieve images from Twitter #10
Comments
Currently it just displays telegram webview whenever a tweet has an image or a video. It doesn't work every time and it's a very naive approach. I will reimplement that in a different way when I rewrite the bot. |
Thank you for the help, @dracarys18 |
Still need to think about this. I don't know what's the current media size limit in twitter. But Bot API has 50MB limit for sending the media.So might not be a good idea to send a whole file as the current implementation works well |
my telegram bot is not yet pulling tweets from twoitter |
Can you provide the logs that you are getting and the steps you followed to deploy the bot? |
Building on the Heroku-20 stack-----> Using buildpack: emk/rust-----> Rust app detected-----> Checking for new releases of Rust stable channelinfo: checking for self-updates rustup unchanged - 1.25.1info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu unchanged - rustc 1.62.0 (a8314ef7d 2022-06-27)info: checking for self-updatesinfo: using existing install for 'stable-x86_64-unknown-linux-gnu'info: default toolchain set to 'stable-x86_64-unknown-linux-gnu' stable-x86_64-unknown-linux-gnu unchanged - rustc 1.62.0 (a8314ef7d 2022-06-27)-----> Building application using Cargo Compiling tweet_bot v0.1.0 (/tmp/build_2d8bb7ad)warning: associated function is never used: This is the log. The steps I followed are below. I cloned your repository. And when I checked my telegram bot it had not yet started |
Or can I get an updated version of the code or a step by step video, please |
First off, thank you for the amazing bot!
Everything is in working order, however, I notice Tweets which include images are not appearing with the image in our Telegram channel.
Is there a setting to include images? One example from the Manchester United sample group below shows images working.
Thanks
The text was updated successfully, but these errors were encountered: