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

Image Hosting Platform #4

Open
Piero24 opened this issue May 21, 2024 · 2 comments
Open

Image Hosting Platform #4

Piero24 opened this issue May 21, 2024 · 2 comments

Comments

@Piero24
Copy link
Owner

Piero24 commented May 21, 2024

          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 #3 (comment)

@Piero24 Piero24 mentioned this issue May 21, 2024
@Chry1911
Copy link

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
Copy link
Owner Author

Piero24 commented May 21, 2024

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.

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

2 participants