Heyyy, nice tutorial, but you should try explaining more in detail the "how to make" (starting from scratch for exemple) a telegram bot. It felt it was more like a "how it works" video, anyway great video !
Thanks for watching guys! Be sure to leave a thumbs up if you enjoyed this video, and subscribe if you just here! How did you guys like the whole diagram thing? Should I do that in future videos?
I liked the diagram, you explain things in a clear and concise way but personally i felt the visuals also helped me.. thanks for continually posting solid content
Hey, this video is *_awesome_* but I would like to know how to really _start from scratch_ , I think this is more like a "how does everything work when making a bot"-video... But I like it very much and after these following questions, I will somehow still have made it so my bot (kind of) works: 1. (stupid question) What is my ngrok url? 2. How do I make the bot DM a user? 3. How do I look for the frequency of a message that a user sent? 4. How does the bot determine the type of chat (DM / group)? Thank you and awesome video!
i have been waiting for a video like this for so many months, i couln't understand anything by reading the documentation and just wound up procastinating this bot making work, thank you man
Good stuff. Python is a good language for bot development mainly due to the large number of good libraries it contains for bot development. I've got some tutorials on using a lesser known language called Crystal on my channel.
same reason why you should buy domain from hosting services for your new site because it is hosted on your machine and noone including telegram server can`t communicate with it via publicly available address. Once you setup ngrok it exposes your localhost and generates publicly available link.
hi, i made a tutorial. you can create your own bot without a domain or server. for beginners that will be the best! ua-cam.com/video/6xOuU_t3v1k/v-deo.html
Hey! This video was great and really informative! I made quite a lot of headway into making my bot before stumbling onto this video. And from what I can understand, I've implemented the bot in quite a similar manner to yours. The only difference being I didn't use webhooks and used get requests with query string parameters to send and receive updates to telegram. Can you explain what webhooks are and if they have any advantages over my method? I didn't use any backend framework like Flask cause I don't know how to, if that matters.
Thanks dude! I managed to run the bot, but I want to put him in a group and whenever anyone texts I want him to get her and if he has it! I want the bot to take the person's name, how can I do that ?
sure, depends on the size of your dataset, id start with linear regression, decision trees, and support vector machines, up to neural nets and see which gives you the best accuracy
I wanted to ask something about the computer science ... what can you do with it ? Which kind of work would you do ? Just a simple employee in a company ?
Develop a lot of things, the industry and the type of work you wanna do it vast. I love learning and doing things in Java but now that Python is taking over everything lately and it's mostly used for machine learning and AI. I'll have to start focusing on Python. You can do end number of things but you need to have a lot of knowledge for good income as there is serious competition too.
How can i set a auto welcome message and group rules to new joining members to the group. I saw many videos in UA-cam with bots (which are created by others), Is there any simply way to set a welcome messages with group rules with a facebook link with OWN BOT
Hey couls you please make a revised version of the J.A.R.V.I.S tutorial with the latest python as its quite hard to follow. If you could that would be helpful af as im a total beginner to coding thanks
did anybody add interactive buttons to the bot made such way? I want to add a button and if a user clicks on it it send to my server and then receive this value and run other methods
good job John ,But we need playlist of web hacking with python ; because you are very good instructor ; Please think about it ; And any one support my suggestion . like this comment and the main video , Thanks john
Thank you for the tutorial! In the ngrok terminal I keep getting "POST /webhook 404 Not Found" lines, so I removed "/webhook" from the config.py. It became "POST / 200 OK", but my Bot doesn't do anything... What may be the problem?
Good job! Could you do a video on making an Instagram bot with private mobile api wrapper? Features such as multithreading, proxy support, useragent/devices and cookies would be amazing. The bot itself can be very simple only login and check if account is valid.
hey ryan thanks man, ill probably do a few separate videos on things like proxy rotation and multithreading, i did an ig bot a few vids back but it doesn't wrap the actual api it automates the browser, you can definitely add things like proxy support and multithreading to that or are you looking for specifics on the ig api
@@JohnGFisher I'm super interested on anything python. Yea, i watched your last Ig vid and it was the best I've seen yet. However browser isn't as efficient as api requests which I mostly want to use. I'd love more videos on interacting with api's + multithreading. I was planning on making a bot using this: github.com/ping/instagram_private_api
when i restart my bot ngrok session it reads all the messages from the chat again, so it start spamming the outputs for all the commands ever sended, how i can solve this?
@@JohnGFisher DUDE LEARNING PYTHON AND WORKING ON MY RESUME MAN..BEEN GETTING PHONE INTERVIEWS! NO JOB LANDED YET! FINGERS CROSSED THOUGH BRUH AND TOES!
@@JohnGFisher MAN WE GOTTA GET A GIT REPO OR SOMETHING GOING...do a collaboration for a youtube comment bot or something like that....straight python...pure snake..lol...
Getting this error, not sure how to solve it: .\app.py returns: Serving Flask app "app" (lazy loading) Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. Debug mode: off 127.0.0.1 - - [04/Aug/2020 12:21:43] "←[35m←[1mPOST /webhook HTTP/1.1←[0m" 500 - [2020-08-04 12:21:43,576] ERROR in app: Exception on /webhook [POST] Traceback (most recent call last): File "C:\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app response = self.full_dispatch_request() File "C:\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception reraise(exc_type, exc_value, tb) File "C:\Python38\lib\site-packages\flask_compat.py", line 39, in reraise raise value File "C:\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request rv = self.dispatch_request() File "C:\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request return self.view_functionsrule.endpoint File ".\app.py", line 13, in index bot.parse_webhook_data(req) File "C:\Users~\telegram-bot\telegram_bot.py", line 37, in parse_webhook_data self.last_name = message['from']['last_name'] KeyError: 'last_name'
Apparently the code wasn't detecting the last name attribute. I just transformed the parts where "last_name" was mentioned into comments with # and it worked!
Looking for a telegram programmer to help build a bot that'll edit telegram message then forward to another group for proprietary reason. I am willing to pay for the service. Regards.
its a great help for me, i need your little help in this because getting an unpredictable error which is File "config.py", line 8 core.telegram.org/bots/setWebhook?url=b385fd6b.ngrok.io ^ SyntaxError: invalid syntax can you please help me in this? it will be kind help for me
yeah you want to add a conditional statement in the TelegramBot.action method that will make a call to this api or one similar, then respond respond with the text www.cricapi.com/how-to-use.aspx
@@abhinavraj1001 hi bro before doing such large project do some small project which helps you to make such large and complicated project and increase you programing knowledge
@@abhinavraj1001 bro copying others good not seems good you need to code yourself I think it will also help to increase your programming skills hope you understand
Heyyy, nice tutorial, but you should try explaining more in detail the "how to make" (starting from scratch for exemple) a telegram bot. It felt it was more like a "how it works" video, anyway great video !
Thanks for watching guys! Be sure to leave a thumbs up if you enjoyed this video, and subscribe if you just here! How did you guys like the whole diagram thing? Should I do that in future videos?
I liked the diagram, you explain things in a clear and concise way but personally i felt the visuals also helped me.. thanks for continually posting solid content
@@davidmagnusson7988 right on
thanks for the helpful info!! ever thought of creating your own shoe/sneaker bot? for footsites or shopify stores? or adidas, supreme, nike etc...
Jesus coming soon repent guys
Hey, this video is *_awesome_* but I would like to know how to really _start from scratch_ , I think this is more like a "how does everything work when making a bot"-video...
But I like it very much and after these following questions, I will somehow still have made it so my bot (kind of) works:
1. (stupid question) What is my ngrok url?
2. How do I make the bot DM a user?
3. How do I look for the frequency of a message that a user sent?
4. How does the bot determine the type of chat (DM / group)?
Thank you and awesome video!
i have been waiting for a video like this for so many months, i couln't understand anything by reading the documentation and just wound up procastinating this bot making work, thank you man
yo kaustubh thanks for watching my man
Pls dont stop upload video.. I realy enjoyed ur vid 😁
Windows 10 gives you an emoji selection / search window if you hit WIN + ;
Thank you for making amazing python videos! 🙂
Please upload more videos you are great dont stop uploading..
Good stuff. Python is a good language for bot development mainly due to the large number of good libraries it contains for bot development. I've got some tutorials on using a lesser known language called Crystal on my channel.
Wow :o
Keep it up
perfect :D
I don't have enough coding skills to pull this off but it was a fun watch.
hey nichini thanks for watching man!
How to make a telegram bot which can auto post from channel to channel
Pls Help!!!!
what is the purpose of the ngrok server? why can't the app server communicate directly with the telegram server instead?
same reason why you should buy domain from hosting services for your new site because it is hosted on your machine and noone including telegram server can`t communicate with it via publicly available address. Once you setup ngrok it exposes your localhost and generates publicly available link.
@@terminalthor8800 thanks for explaining that
hi, i made a tutorial. you can create your own bot without a domain or server. for beginners that will be the best! ua-cam.com/video/6xOuU_t3v1k/v-deo.html
Hey! This video was great and really informative!
I made quite a lot of headway into making my bot before stumbling onto this video. And from what I can understand, I've implemented the bot in quite a similar manner to yours. The only difference being I didn't use webhooks and used get requests with query string parameters to send and receive updates to telegram.
Can you explain what webhooks are and if they have any advantages over my method?
I didn't use any backend framework like Flask cause I don't know how to, if that matters.
thank you so much, still waiting for the instagram/upload, Thanks again
yeap, upload to instagram from telegram
Thanks dude! I managed to run the bot, but I want to put him in a group and whenever anyone texts I want him to get her and if he has it! I want the bot to take the person's name, how can I do that ?
i would be interested in finding out how to do this also if anyone can help us
@@dorinbuzilov95 Check my github, i made it github.com/DouSam/ but is in portuguese
@@dorinbuzilov95 If you do not understand, leave a comment there that I answer you and I try to help you
@@XgameXish Amazing and thank you, I will have a look now
Hey John! Do you think you have any tips/ideas on how to create a python code that uses data from running races to predict future race scores?
sure, depends on the size of your dataset, id start with linear regression, decision trees, and support vector machines, up to neural nets and see which gives you the best accuracy
I wanted to ask something about the computer science ... what can you do with it ? Which kind of work would you do ? Just a simple employee in a company ?
Develop a lot of things, the industry and the type of work you wanna do it vast. I love learning and doing things in Java but now that Python is taking over everything lately and it's mostly used for machine learning and AI. I'll have to start focusing on Python. You can do end number of things but you need to have a lot of knowledge for good income as there is serious competition too.
Amazing, short video for very fruitful info
How can i set a auto welcome message and group rules to new joining members to the group.
I saw many videos in UA-cam with bots (which are created by others),
Is there any simply way to set a welcome messages with group rules with a facebook link with OWN BOT
Hey couls you please make a revised version of the J.A.R.V.I.S tutorial with the latest python as its quite hard to follow. If you could that would be helpful af as im a total beginner to coding thanks
did anybody add interactive buttons to the bot made such way? I want to add a button and if a user clicks on it it send to my server and then receive this value and run other methods
good job John ,But we need playlist of web hacking with python ; because you are very good instructor ; Please think about it ; And any one support my suggestion . like this comment and the main video , Thanks john
hey @white shadow thanks man more hacking related stuff coming soon
@@JohnGFisher I Wait You 'Pure man '
Can you make a youtube videos downloader bot in telegram
Thank you for the tutorial!
In the ngrok terminal I keep getting "POST /webhook 404 Not Found" lines, so I removed "/webhook" from the config.py.
It became "POST / 200 OK", but my Bot doesn't do anything...
What may be the problem?
great video, I'll probably need to watch and follow along with it more than once to get it! Thanks for sharing dude!👍❤
how to make bot that sends TELEGRAM STICKERS as a reply ?
How to setup telegram bot.? Source code from github
Best video! Bro Will you continue?
for sure, what do you think of the whole diagram thing lol
how do i import flask?
i got error
this video is amazing......at making me sleep!
You really make me to explore
hey thanks for the video... i have a zip file of python files... uploader bot for telegram how do i convert it to actual bot?
hello i want you to setup me a telegrame bot i have one in a vedio how much please i can pay you by paypal or sothing you want
heroku can also be used right?
For sure
Good job! Could you do a video on making an Instagram bot with private mobile api wrapper? Features such as multithreading, proxy support, useragent/devices and cookies would be amazing. The bot itself can be very simple only login and check if account is valid.
hey ryan thanks man, ill probably do a few separate videos on things like proxy rotation and multithreading, i did an ig bot a few vids back but it doesn't wrap the actual api it automates the browser, you can definitely add things like proxy support and multithreading to that or are you looking for specifics on the ig api
@@JohnGFisher I'm super interested on anything python. Yea, i watched your last Ig vid and it was the best I've seen yet. However browser isn't as efficient as api requests which I mostly want to use. I'd love more videos on interacting with api's + multithreading. I was planning on making a bot using this: github.com/ping/instagram_private_api
@@ryan53521 yeah that looks dope, and sounds good ill definitely do some
How to make a url upload bot using Python ;
make this video
How to made a rename bot..?
Hi there! Question how do I set the host for the bot ? I would like to have it working 24/7 without using my pc as host
check out pythonanywhere.com, you can host the bot there for free
@@JohnGFisher ty!! btw nice tutorial :)
Thanks again and how are you bro..
doing good akash how you been bro
from telegram_bot import TelegramBot
how to install that library using pip?? what the command exactly?
if you need simple bot without special telegram library hi, ua-cam.com/video/6xOuU_t3v1k/v-deo.html
thats why many people got scammed for using telegram bot.
Спасибо
Hi bro when I try to login in Instagram with request module in python it gives sslcertificate error any solution??
try this: requests.get('example.com', verify=False)
should ignore ssl certificate errors
@@JohnGFisher thanks for reply 🙏🙏 I will try it
when i restart my bot ngrok session it reads all the messages from the chat again, so it start spamming the outputs for all the commands ever sended, how i can solve this?
hey soy, are you sending a 200 status code response to the telegram server? it will retry the message if it doesn't receive that, could be the issue
what the heck is this? Damn god i'm not english and that's very hard to understand.
John wassup dude...Where ya been?
yo circuit masters been chillin and studyin up bro how you been
@@JohnGFisher DUDE LEARNING PYTHON AND WORKING ON MY RESUME MAN..BEEN GETTING PHONE INTERVIEWS! NO JOB LANDED YET! FINGERS CROSSED THOUGH BRUH AND TOES!
@@circuitmasters5258 ayy good shit my dude keep it up
@@JohnGFisher MAN WE GOTTA GET A GIT REPO OR SOMETHING GOING...do a collaboration for a youtube comment bot or something like that....straight python...pure snake..lol...
Hi, is there a way to post daily in a group, a random image from a set of images, with Python?
Without the need of interaction?
You could use task scheduler. You don't need flask. Just a simple scipt with a sendMessage command
didn't help at all, good effort nonetheless . . .
hey man thx for sharing this but coding fucks me up and i dont have patience to get how it works im sending you a private msg i need ur help
Please start to the beginning
Getting this error, not sure how to solve it:
.\app.py returns:
Serving Flask app "app" (lazy loading)
Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
Debug mode: off
127.0.0.1 - - [04/Aug/2020 12:21:43] "←[35m←[1mPOST /webhook HTTP/1.1←[0m" 500 -
[2020-08-04 12:21:43,576] ERROR in app: Exception on /webhook [POST]
Traceback (most recent call last):
File "C:\Python38\lib\site-packages\flask\app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python38\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python38\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python38\lib\site-packages\flask_compat.py", line 39, in reraise
raise value
File "C:\Python38\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python38\lib\site-packages\flask\app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File ".\app.py", line 13, in index
bot.parse_webhook_data(req)
File "C:\Users~\telegram-bot\telegram_bot.py", line 37, in parse_webhook_data
self.last_name = message['from']['last_name']
KeyError: 'last_name'
Apparently the code wasn't detecting the last name attribute. I just transformed the parts where "last_name" was mentioned into comments with # and it worked!
John Connor from Terminator Three,, lol:ddd
Nice!
How can I contact with you?
Looking for a telegram programmer to help build a bot that'll edit telegram message then forward to another group for proprietary reason. I am willing to pay for the service. Regards.
Scrip login modul telethon sir
How do I deploy this?
hey john can I contact you via mail or smth? got some question if you have some spare time :)
hey anomaly sure john@codefreedom.io
Brother I want to contact with you ... You have telegram .. Please send me the ID
Oh.. programming...
How to download the file onto root bin? o.O
For Kali.
Sir can i add you in messenger?
hi, i made a tutorial. you can create your own bot without a domain or server. for beginners that will be the best!
Please help anyone
its a great help for me,
i need your little help in this because getting an unpredictable error which is
File "config.py", line 8
core.telegram.org/bots/setWebhook?url=b385fd6b.ngrok.io
^
SyntaxError: invalid syntax
can you please help me in this?
it will be kind help for me
Bro.. I want to create a cricket live score telegram. Can you plz help
yeah you want to add a conditional statement in the TelegramBot.action method that will make a call to this api or one similar, then respond respond with the text www.cricapi.com/how-to-use.aspx
@@JohnGFisher 🙄 I dont get it.. sorry 😔
@@abhinavraj1001 hi bro before doing such large project do some small project which helps you to make such large and complicated project and increase you programing knowledge
@@timelapse3478 Ok bro.. I didn't know how big it was. I thought with some minor edits i could do this. Anyway Thanks for letting me know.. 🤗
@@abhinavraj1001 bro copying others good not seems good you need to code yourself I think it will also help to increase your programming skills hope you understand
Olha eu achei muito top este soft deste cara aqui
ua-cam.com/video/z6n-K8WeJGw/v-deo.html - 8EnTkO3Y3S