#๐ i am a beginner attempting to make a twitte monitoring using me little knowledge of python and ai
176 messages ยท Page 1 of 1 (latest)
@peak pine
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
What does twitter posts have to do with solana and coins?
Sounds like two completely different projects.
twitter bot keep track of the accout of a peorson i give the username of as these peple launches there own token time to time and drop a specific of there coin
if ur new im going to end it all ๐ข
using which we can buy it
how long u been coding for
not that much just knows the basic
A few things... using GPT to generate the code is going to lead you to a lot of frustration: you're trying to do something moderately difficult, and GPT will lead you to a dark hole and abandon you.
Twitter's APIs are going to be a problem, there's some limits, but the docs are https://docs.x.com/x-api/getting-started/important-resources
bro he's learning, is it the recommended way, no, but still don't need to be so rude
? omgg what
not this again
Sorry, I had to delete that message. You pasted your API keys
Hey, don't jump in someones help thread and drop memes and stuff. Let them ask their questions and get answers.
thats no issue i can dump these keys
not even gonna say anything else but alright โ
ik how this goe
goes
brother did you get what i am trying to do with the code ?
or else i can explain it again
Didn't even look, I saw the API keys and deleted.
You can drop it in this chat, just without api keys
!paste
If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.
i actually can't figure out i have stuck in a loop of errors and trying to solve them by asking chat gpt and gating a completlly new error
Could you send the errors
Traceback (most recent call last):
File "C:\Users\y29ga\memebot3\meme2.py", line 12, in <module>
from solana.transaction import Transaction
ModuleNotFoundError: No module named 'solana.transaction'
And while that other person was being rude for no reason, in my experience if chatgpt cannot solve an error after like 1 or 2 iterations it likely wont be able to figure it out
this is the last error it is showing
โ
oh thanks brother i am really new i just did basic things while i was learing from a cource on youtube
Just looking at the solana docs and github I don't see solana.transaction anywhere, so there's a chance that doesn't really exist
actually I just found a reference to it on stackoverflow
and btw only reason i said that is bc i used chat gpt in the past and its addictive but not worth it
Maybe in a bit, I'm just reading through the docs
ok
The solana-py github has a branch called "deprecate-transaction" so sounds like it's a deprecated feature
so what does that mean ?
solana.transaction isn't supported/doesn't exist anymore
let me see what the alternative is now
ok
actually
I wouldn't use any of this code, tbh
It doesn't seem like it's even using Transaction
I'd start fresh from current solana docs, use their examples, if you're actually going to trade real $$
That is a fair point lol
can you guys do that ?
@peak pine you have some basic experience coding, correct?
What I'm saying is: What you're trying to do is not something you should do, not if you don't know how the code works /etc.
Otherwise, you're entirely likely to throw money out the window.
Is there a testing network you can use?
in other words that doesn't use real money
I got to go soon so I can't help for much longer, but break your problem into mini problems, don't try to solve it all at once. I.e. monitoring tweets and purchasing
Solana Testnet
How important is it to buy it instantaneously?
so i should first foccus of one aspect of the bot ?
very
because its the game of seconds
Alright
and brother from where can i start learing python online any cource you reccamend ?
!res
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
Ok so here's what I'm thinking
1.) If you have real money linked up to this, make sure you have low limits of money set while testing, and keep those limits even when you finish the project, just maybe set them higher. Do not allow it to spend more money then you're comfortable losing
2.) Figure out how to use the solana test network, until you're confident it will work, you do not want to be spending real money
3.) When you make a purchase try to log information about what led to the purchase, when something goes wrong you don't want to be poking around in the dark trying to figure out where it went wrong, you want to be able to locate the issue.
4.) Break this problem into multiple problems, monitoring the tweets is completely different then making purchases, there's no reason they should be intertwined.
And also one more
5.) Remember if you can make money off this, other people will be trying to make money off this. I hope this doesn't come off as rude, but 6 days of coding is very little, when making money is in the mix, people with years more coding experience will throw all they have at it. Expecting to have something extremely profitable is setting yourself up to be disappointed.
And actually one more thing:
When you use APIs such as twitters API, there's almost always limits, whether a hard limit which is impossible to get around, or softer limits which you can get around, but for a cost
it actually used a third party method insted of twitter api
Still you'll likely hit a limit of some sort, such as a http 429
ohk ohk
And that leaves another thing then, those other methods could stop working, make sure if it's not able to get data it doesn't do anything weird.
?
or have i catched a tail of dog which is even out of your knowledge
just asking
Do I have knowledge to make this bot completely?
means what do you think can you make this bot if you make it from start ?
I think I could figure it out, but I'd have to do research on Solana, and twitter APIs
Not really, sorry. I'm juggling a bunch of projects along with school and college applications ๐ญ
ohh no problem
but if you or someone you know has time and want to work on it pls do
it will be a great help
Do you want to know how to code in python? If so this is honestly an okay starting point once you go through the basics/intermediate parts of it
yes i want to know how to code in python
Not really sorry, only person I would know is currently working on a bunch of projects too
ohk bro no issues
Then go through and try to learn it, as far as coding languages go, python is one of the easiest to learn, and very versatile.
Ohk bro
If you spent like 2-3 hours a day, within a few weeks you can likely make this project.
Is course on udmy good ?
I'm honestly not sure, I taught myself through a lot of googling and youtube videos, but I wouldn't recommend that method at all.
!res
The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.
I'm gonna be honest I'm not completely sure how good those resources are, but that's what most people on here recommend, and I know a few people who have learned through them, so it's definitely not a bad place to start.
I believe all of these are free, not sure though
Or rather these are:
https://www.pythondiscord.com/resources/?payment-tiers=free
We're a large, friendly community focused around the Python programming language. Our community is open to those who wish to learn the language, as well as those looking to help others.
No this are just links to the websites
Yeah, all of which are different things to learn
yes
start off with the automate the boring stuff one, that's what I've seen people do
ok
The most important thing is, no matter the resource you use you're going to struggle at times, don't just skip ahead, make sure you learn whatever it is.
There's certainly a bunch of people that can, but it might be challenging to find someone who can and has the time to do it.
ohk ohk
Also if I had time, I still would feel weird about making a project like this for someone, it's risking someone else's money
and if you find someone willing to you need to make sure they know what they're doing and aren't going to make naive mistakes which can cost you money
ohk got it
bro where are you from
you are a nice guy
New York, US
ohh nice
you?
I remember struggling when I was learning so try to pay it back lol
nice
Not yet, senior year of high school
whats you age bro
17
18 in 2 days
me in 5 months
ay
its funny 18 is when you're considered an adult in the US, but like nothing changes except like more responsibilities ๐
Not sure how much changes in India
Yeah not as amazing as it sounded when I was 12 lol
nothing changes just you get license lol
Ah I was able to get my license last year
Anyways, I got to go for a bit, if you have any questions make one of these channels or if you want go ahead and DM me, I enjoy helping people
thankx bro
But I would definetly recommend learning Python, as I said it's really versatile and relatively easy to learn, I figured out the basics when I was like 12
Ofc
bro i will definitely learn python i really enjoy it but due to schooling and all i did not din for quit a time
and i was gonna start from this month
but needed this bot so used chat gpt
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.