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

Test the code on the real bot account! #40

Open
ykdojo opened this issue May 20, 2022 · 9 comments
Open

Test the code on the real bot account! #40

ykdojo opened this issue May 20, 2022 · 9 comments

Comments

@ykdojo
Copy link
Owner

ykdojo commented May 20, 2022

I created a twittter account bot for this, but haven't tested the code on it yet.

https://twitter.com/imhereforyoubot

What's the best way to do it? Should I give the credentials to someone?

Also, what's the best platform for hosting the bot? Would it be maybe Replit - or something else?

@erikkristoferanderson
Copy link
Contributor

Replit has an 'always on' feature, but it's for paid accounts only.

I just found out about wyld.ml, which claims to have free virtual machines without the customer needing to put down a credit card. Naturally the machines have limited power, but we won't need much at all.

As for the best way to do it, I'm not sure.. I guess you could pick someone and give them the credentials.

@erikkristoferanderson
Copy link
Contributor

Afterward: I'd be willing to test out the code with your Twitter bot, if you like.

@ykdojo
Copy link
Owner Author

ykdojo commented May 20, 2022

That sounds great! Thank you. Should I just DM you the creds?

@erikkristoferanderson
Copy link
Contributor

Sure. I'm @ErikErikodes on twitter

@the-k-cmd
Copy link
Contributor

@ykdojo

To my understanding the twitter bot is based on Python.

We could link the Python document with UptimeRobot and a super-basic Django file, as Replit's free services do support an always on feature for websites.

This way it would be much cheaper, and we'd have a bit more power.

However, it also depends on how often you need to request information from Replit and the Python file, since from personal experience I know that the services tend to get temporarily delayed when overwhelmed with requests.

@ykdojo
Copy link
Owner Author

ykdojo commented May 20, 2022

Sure. I'm @ErikErikodes on twitter

Thanks! I followed you

@ykdojo
Copy link
Owner Author

ykdojo commented May 21, 2022

@the-k-cmd sure. putting it a basic django file might be ok... it would increase the complexity a little bit though

@erikkristoferanderson
Copy link
Contributor

I refactored the Twitter code, as well as the code that parses requirements.txt, because of the format change to requirements.txt. That is in PR #50

Currently the PR just prints the tweet instead of tweeting it, because without a bearer token, the tweepy Client gives a error: tweepy.errors.Unauthorized: 401 Unauthorized

@adityanarayanm095
Copy link

adityanarayanm095 commented May 22, 2022

@ykdojo What is the status of my PR?
I am new to open source contribution.

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