Piero24 / TelegramBot-AmazonOffers

Receive alerts for the most irresistible Amazon offers straight to your Telegram, courtesy of our bot.
https://linktr.ee/webofferte
Apache License 2.0
2 stars 1 forks source link

Image Hosting Platform #4

Open Piero24 opened 1 month ago

Piero24 commented 1 month ago
          ok now is working i need only the last thing, here:

`############################ IMAGE STORAGE API KEY ############################

FIRST API KEY

UP_IMG_KEY = "FIRST_API_KEY"

BACKUP API KEY

UP_IMG_KEY_2 = "SECOND_API_KEY"`

what should we wear? what service?

Originally posted by @Chry1911 in https://github.com/Piero24/TelegramBot-AmazonOffers/issues/3#issuecomment-2121823288

Chry1911 commented 1 month ago

I'm trying to understand your bot, beacuse i'm a developer too, and i have a bot similar. Only difference is the type of message we send. So i want to know ho to add the images like the template you have created and put on you github readme. Nice job for this bot

Piero24 commented 1 month ago

Glad you like it. Let's say that this publication is a reduced version of the bot, actually what you see here has many more modifications to choose the title, bullet points, and especially to select which products to send or not. Anyway, as mentioned here, there are many different APIs that you can use. One of the most popular is imgur. These are a couple of useful links that can help you set up the APIs:

link 1 link 2

Unfortunately, I can't go into more detail about the method I used personally, but to do it, you just need to use this function to upload the image to imgur and then return the image link, so the bot will automatically use it as the image to send to the channel.