Just wanted to leave a big THANK YOU, this series helped me alot setting up my first twitter bot (for a daily tweet with lines from my fav rapper) ... will watch your javascript videos, too.
I had the same problem and switched from Heroku to AmazonEC2 now (see the next video), it works with (s)FTP and keeps the bot up with "Forever" ... hopefully this one will work
apologies, did you make sure it was a worker process? Some more here: shiffman.github.io/A2Z-F15/week9/heroku.html Heroku is kind of a pain so I might look for another solution.
If you are creating the Procfile file with Notepad++ (or a similar editor) , make sure to Encode it as UTF-8 as opposed to UTF-8 including BOM (or any similar option) since the BOM options add extra characters to the beginning of the file and cause Heroku to ignore the Procfile file
just a little note for anyone who got the "worker" does not appear as the video the 'p' char in Procfile must be in capital case only to be read by the server.
couldn't deploy my app into heroku but i am still pumped up after this tutorial thanks codingtrain for your awesome videos never lose your enthusiasm and keep uploading more videos
That. is. an. excellent. job. Knew all about Heroku and had come across a Procfile being mentioned in several tutorials, but that is so simple, it's brilliant.
I was trying to upload some bot to hosting for the last 20 hours with 0 results. Then I watched this video and an hour later it was working perfectly. Thank you :DDDDDDDDD
this one video solved a problem that I've been struggling with for a week. You just helped someone who's been doing JS for about two weeks deploy his first app
Dude i was struggling since 3 weeks to deploy my discord bot on live server so that it works 24/7, and u solve that problem in just 15min ur a living legend !!
I'm trying to do this too, but i get the same error over and over again : *** Please tell me who you are.Run git config --global user.email "you@example.com" git config --global user.name "Your Name"to set your account's default identity. Omit --global to set the identity only in this repository. Do i have to Login in git or log in in heroku again? Hope, that anyone can help me Greatings ~Rex
Thank you so much for all these tutorials. Not sure if this is a silly question or not but can all the bots you demonstrate (follow bot, tweet bot, replier bot, etc) be rolled into the same bot.js when written and deployed or do they have to be done separately? I notice you delete the code and write over it when moving onto explaining how to create the next bot.
Wow,that amazing. i love this cloud stuff. i've always wanted to do a bot, these are nice ones. it charges now, but it still let me put it in and run it, then had time to see it and turn it off with out getting charged. only $7 month, that's amazing and exciting. really having a lot of fun with this and the npm's xD free to try it quick it looks like xD
I want to display the results of the get request and put the tweets up on a web page. How do i go about? Would I need Angular JS or can I just display the data on html using simple jquery? Also, brilliant series!
i have two app one is for staging and one for production purpose ,Both have different config vars. Staging config var connect to test salesforce account and Production connect to login.salesforce account .When i click on promote to production button,all changes in staging does go to production but also my config var from stagging goes to production and get connect to the test salesforce account.Can you guys figure out why this is happening. Even is their something i am missing
For a Facebook messenger bot, must the process also be worker, or web? With your videos i've managed to get a really good understanding of this sample bot I made from copying some code from some place on medium. But I noticed that for my messenger bot, it has web as its process in the procfile. I assumed it would need to be worker because it's just a bunch of code behind the scenes that generates responses as well as takes in messages, but I assume the reason it's web is because it does function on a web interface live? Asking just so I can know, no other actual reason. I could probably live life not knowing but i'd like to figure it out. Loving these videos, again.
+Alex Peña If it is hosting web pages, i.e. has an interface that users interact via the browser, then it will need to be a web process. It could also have a worker process associated with it too (I think), but it really depends on how it is written. Would love to see a link to the example code, maybe I'll try to do a video on facebook messenger bots?
+Daniel Shiffman I'm by no means necessarily experienced in making bots. It's an entire learning experience for me still, but here's the code to my bot. github.com/MrCodeCollector/Harvey-Bot For messenger bots you need a Facebook page for the bot to generate keys and what not for the API. You should ABSOLUTELY do a video on this. I already understand a lot of the code simply by watching this twit bot series. You're explanations are literally the best.
Hello, I was following this video until i got to "git add ." and got the following permission errors: error: open (AppData/local/comms/unistoreDB/USS.jtx) Permission denied error: unable to index AppData/local/unistore/USS.jtx fatal: adding file failed. There no tutorial that explicitly address this problem. What does one do if one get an error message that the "git add ." point? I would appreciate help. Thanks.
Hey, thanks for this. Nice moves! Back a while you showed us how to use Node to call a Processing app which produced an image you could then post to twitter with a bot. Can this be deployed to Heroku in this way? or was there some other obstacle (because processing assumes/needs an actual display to work)?
I'm getting an error from my heroku bash, when trying to post an image using './processing-java' "Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:236) at processing.app.ui.Toolkit.(Toolkit.java:93) ... 5 more" was hoping you could help point me in the right direction to understand a way around it? I tried installing the java buildpack on heroku but then it said it was incompatible so i nixxed that.. Any help would be appreciated!! TY
is there a way for the merger sponge processing sketch to run on heroku and tweet an image once an hour? i can do it on my own pc, no problem, but to have it run on heroku i would need to have processing installed over there, am i wrong?
+BaconKwagga i have not been able to get node + java to run on heroku, try ec2 like in the next video (i know it's a pain and confusing!). (or digital ocean or cloud9 maybe?)
Good Videos. I need help with step by step solution to solving "git add ." permission errors: error: open (AppData/local/comms/unistoreDB/USS.jtx) Permission denied error: unable to index AppData/local/unistore/USS.jtx fatal: adding file failed. There no tutorial that explicitly address this problem. What does one do if one get an error message that the "git add ." point? I would appreciate help. Thanks
I have an image bot that is trying to post images of bokeh generated with processing.(@bokehrobot) However, when I followed these steps exactly, it posts the same image every 20 seconds. Is this because there needs to be a screen simulated for processing to render an image correctly? Should I use a different service than Heroku? Thanks!
I can't seem to get into "worker" mode! I created the procfile as you showed and followed the steps. Everything works fine but the "worker" mode doesn't seem to appear. What file type should I save as? I am on windows if that helps
someone had fixed the SIGTERM / error 143 issue? i dont want to put my credit card on amazon yet, but it seems i'll have to, if i want my bots working. ps thanks Dan!
Hello Shiffman, i followed all your videos but i need to know about Direct messages.. i am able to send direct messages and also receive response from twitter bot but stuck in endless loop and twitter api again respond back with same request. Can you please guide me how to cater this?
+Zaka Ul Haque you've got to make sure it's a tweet sent to you but not by you, something like: function tweetEvent(tweet) { var reply_to = tweet.in_reply_to_screen_name; // Check to see if this was, in fact, a reply to you if (reply_to === 'yourusername') { // Get the username and content of the tweet var name = tweet.user.screen_name; var txt = tweet.text; // Tweet back a reply? } } More here: shiffman.github.io/A2Z-F15/week9/notes.html
Did anyone else get this after committing? *** Please tell me who you are. Run git config --global user.email "you@example.com" git config --global user.name "Your Name" to set your account's default identity. Omit --global to set the identity only in this r
Someone teach me this OR kill me . Going to blow my brains out if I don't learn this soon . Been tormented for far too long... this is also pretty much the last skill I have to learn
Amazing tutorials, even three years after initial recording. Thank you for incredible free content :).
Exactly what I was looking for, even after 2 years this video is the only one that actually solved my problem!
Just wanted to leave a big THANK YOU, this series helped me alot setting up my first twitter bot (for a daily tweet with lines from my fav rapper) ... will watch your javascript videos, too.
I'm so glad to hear, thank you!!
I had the same problem and switched from Heroku to AmazonEC2 now (see the next video), it works with (s)FTP and keeps the bot up with "Forever" ... hopefully this one will work
apologies, did you make sure it was a worker process? Some more here: shiffman.github.io/A2Z-F15/week9/heroku.html Heroku is kind of a pain so I might look for another solution.
Hey Yоutube ! *GET Unlimitеd Followers Permanent to yyour Twitter Account* now => twitter.com/dbe5e861f7695cacc/status/789420521322524672 15 8 Heroku Deployment Twitter Bot Tutorial
I use tweetattackspro details plus.google.com/u/0/115747088185550025111/posts/15Ao2ZvyVNX
If you are creating the Procfile file with Notepad++ (or a similar editor) , make sure to Encode it as UTF-8 as opposed to UTF-8 including BOM (or any similar option) since the BOM options add extra characters to the beginning of the file and cause Heroku to ignore the Procfile file
just a little note for anyone who got the "worker" does not appear as the video
the 'p' char in Procfile must be in capital case only to be read by the server.
Niiiiice! Thank you. If you by mistake pushed the "procfile", just do a push without the procfile, and then re-add it named "Procfile" and push that
Thanks man.
You saved my valuable time that I was going to spend on Google
couldn't deploy my app into heroku but i am still pumped up after this tutorial thanks codingtrain for your awesome videos
never lose your enthusiasm and keep uploading more videos
I love your videos and personality, such a genuine and fun person. You are the best!
You teach so tenderly, and I need to learn that.
Great job, daniel and team!
That. is. an. excellent. job. Knew all about Heroku and had come across a Procfile being mentioned in several tutorials, but that is so simple, it's brilliant.
This dude! He is amazing! He teaches in a fun and understandable way. Well done!
I was trying to upload some bot to hosting for the last 20 hours with 0 results. Then I watched this video and an hour later it was working perfectly. Thank you :DDDDDDDDD
what kind of bot? :)
Thanks for your help! Even after six years, it still works. Now my laptop can go to sleep after a while haha, you are the best!
Daniel, thank you so much for your video tutorials and have a happy new year!
Btw, I like your installing dance :)
this one video solved a problem that I've been struggling with for a week. You just helped someone who's been doing JS for about two weeks deploy his first app
Thank you so much for making this series! Your teaching style is fun and easy to follow--just made my first twitter bot btw :D
Dude i was struggling since 3 weeks to deploy my discord bot on live server so that it works 24/7, and u solve that problem in just 15min ur a living legend !!
Thanks, man! You're very motivating and enthusiastic about what you do.
I pushed my Discord bot to Heroku from this tutorial, thank you.
yay, congrats!
I'm trying to do this too, but i get the same error over and over again :
*** Please tell me who you are.Run git config --global user.email "you@example.com"
git config --global user.name "Your Name"to set your account's default identity.
Omit --global to set the identity only in this repository.
Do i have to Login in git or log in in heroku again?
Hope, that anyone can help me
Greatings
~Rex
okay, I'm really sorry for being so stupid..
I have just created an github account and settet the global Settings. Now it works.
Have a great day
~Rex
Thats wht i thought after learning this.. "I am going to build a discord bot"
Good old times of free heroku deployment
i knew heroku but not so well , thanks , it helped me to run chat bot
MAN! I love your energy!!
, and really BIG THANKS for all of this , i reallly learned alott ! THANK YOU!
Woo hoo hoo It's working man. You are awesome Mr Shiffman :)
You are an excellent teacher, Thank you for making a positive impact in my life :)
You are a legend :) thank you so much!
Best youtube coding channel, bar none! Thanks!!
Hi Daniel, you're awesome. Thanks for your awesome tutorials. You're the best!
I'm loving your videos! Just found this one after watching the git ones... could you maybe add links to the git series in the description?
Learned a lot. Fantastic series
thank you!
Thank you for the awesome tutorials. Loved it totally.
less than 1K likes? this deserves more!
You remind me of Adam Savage :D Great video, subscribed.
For any users having trouble saving the Procfile, try saving the file as *all type rather than .txt.
wow !!!! are u god ??
no just a disciple ;)
Hello Dan, What happened to the video 15.7? Please get it back. Thanks for all your awesome work @Thecodingraing
Awesome tutorial, aged well because the setup was almost identical 2 years down the line.
Wow!
Thank you so much for creating this tutorial!
can i run something that uses "processing-java"?
Bro u save me, i was just breaking my head with that web error requesting a port, that worker thing saved me
Thank you for this awesome tutorial.
It was a great tutorial. Thanks
Will you be able to make the deployment videos for the node.js api example
Your series help me always
You have my respect ❤️👍
Thanks for this, man. My first Node.js app :)
Yay, congrats!
Thank you so much for all these tutorials. Not sure if this is a silly question or not but can all the bots you demonstrate (follow bot, tweet bot, replier bot, etc) be rolled into the same bot.js when written and deployed or do they have to be done separately? I notice you delete the code and write over it when moving onto explaining how to create the next bot.
Thanks a lot, this helped me!
Wow,that amazing. i love this cloud stuff. i've always wanted to do a bot, these are nice ones. it charges now, but it still let me put it in and run it, then had time to see it and turn it off with out getting charged. only $7 month, that's amazing and exciting. really having a lot of fun with this and the npm's xD free to try it quick it looks like xD
Professor from The money heist teaches here!!!!
You're a life saver!!
good series, but I suggest filling time when you have to do it with something more useful and interesting than mock dancing
good vibes
Thank you so much!
How come he managed to do everything successfully without setting up any buildpack??
Hi! :3 What happened to the video 15.7? Would u mind bringing it back :3 ty
once I had everything uploaded and the Procfile correct and I ran it, the console on Heroku says it cant find the Twit module. any help?
daniel i just wanna say thank you!
Hey, I have added the Procfile but still I am not getting the worker option at my heroku dashboard. Any particular reason?
Same thing has happened to me. I have no worker version after adding the Procfile file
have you typed
git add .
git commit -m "adding the proc file"
git push heroku master
i have this problem , but i have to do the push to the master but the worker options isnt there :(
can't have the worker appear either despite writing Profile with a P
sir how to change herokudns.com to herokuapp.com in custom domain
My dynos aren't appearing, even though I have a Procfile worker. Is it because I the checkout size is too big?
can you upload a database to heroku?
U fucking rock men !!!
Where do I pay?
Thanks for the awesome video
I want to display the results of the get request and put the tweets up on a web page. How do i go about? Would I need Angular JS or can I just display the data on html using simple jquery? Also, brilliant series!
Nice. Thank you!
How do I hide my Twitter keys from GitHub but not Heroku?
i have two app one is for staging and one for production purpose ,Both have different config vars. Staging config var connect to test salesforce account and Production connect to login.salesforce account .When i click on promote to production button,all changes in staging does go to production but also my config var from stagging goes to production and get connect to the test salesforce account.Can you guys figure out why this is happening. Even is their something i am missing
Thanks!
Hi sir please tell ous is heroku is free , or it may be charged after adding card information
For a Facebook messenger bot, must the process also be worker, or web? With your videos i've managed to get a really good understanding of this sample bot I made from copying some code from some place on medium. But I noticed that for my messenger bot, it has web as its process in the procfile. I assumed it would need to be worker because it's just a bunch of code behind the scenes that generates responses as well as takes in messages, but I assume the reason it's web is because it does function on a web interface live?
Asking just so I can know, no other actual reason. I could probably live life not knowing but i'd like to figure it out. Loving these videos, again.
+Alex Peña If it is hosting web pages, i.e. has an interface that users interact via the browser, then it will need to be a web process. It could also have a worker process associated with it too (I think), but it really depends on how it is written. Would love to see a link to the example code, maybe I'll try to do a video on facebook messenger bots?
+Daniel Shiffman I'm by no means necessarily experienced in making bots. It's an entire learning experience for me still, but here's the code to my bot.
github.com/MrCodeCollector/Harvey-Bot
For messenger bots you need a Facebook page for the bot to generate keys and what not for the API. You should ABSOLUTELY do a video on this. I already understand a lot of the code simply by watching this twit bot series. You're explanations are literally the best.
I need help, I have my own discord bot made with java. how would I host that for free
Hello, I was following this video until i got to "git add ." and got the following permission errors:
error: open (AppData/local/comms/unistoreDB/USS.jtx) Permission denied
error: unable to index AppData/local/unistore/USS.jtx
fatal: adding file failed. There no tutorial that explicitly address this problem. What does one do if one get an error message that the "git add ." point? I would appreciate help. Thanks.
Hey, thanks for this. Nice moves! Back a while you showed us how to use Node to call a Processing app which produced an image you could then post to twitter with a bot. Can this be deployed to Heroku in this way? or was there some other obstacle (because processing assumes/needs an actual display to work)?
+Dave Webb D'oh, should have waited for the next video on EC2 deployment. The answer is right there.
+Dave Webb hah, no worries!
what if you DO have errors, though
How to install aptfile on heroku?
can you help it says in herokus console that twit does not exist
I'm getting an error from my heroku bash, when trying to post an image using './processing-java'
"Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:236)
at processing.app.ui.Toolkit.(Toolkit.java:93)
... 5 more"
was hoping you could help point me in the right direction to understand a way around it?
I tried installing the java buildpack on heroku but then it said it was incompatible so i nixxed that.. Any help would be appreciated!! TY
When I only have the worker dyno it gives me an error because theres no web dynos
help :O
Heroku restarts apps every 24 hours. Can that be prevented?
is there a way for the merger sponge processing sketch to run on heroku and tweet an image once an hour? i can do it on my own pc, no problem, but to have it run on heroku i would need to have processing installed over there, am i wrong?
+BaconKwagga i have not been able to get node + java to run on heroku, try ec2 like in the next video (i know it's a pain and confusing!). (or digital ocean or cloud9 maybe?)
Its says mis-cased Procfile but Procfile is correct
Good Videos. I need help with step by step solution to solving "git add ." permission errors:
error: open (AppData/local/comms/unistoreDB/USS.jtx) Permission denied
error: unable to index AppData/local/unistore/USS.jtx
fatal: adding file failed. There no tutorial that explicitly address this problem. What does one do if one get an error message that the "git add ." point? I would appreciate help. Thanks
I have an image bot that is trying to post images of bokeh generated with processing.(@bokehrobot)
However, when I followed these steps exactly, it posts the same image every 20 seconds. Is this because there needs to be a screen simulated for processing to render an image correctly? Should I use a different service than Heroku? Thanks!
What if I want it to run only once per day
change the interval with simple math
I can't seem to get into "worker" mode!
I created the procfile as you showed and followed the steps. Everything works fine but the "worker" mode doesn't seem to appear. What file type should I save as?
I am on windows if that helps
you have to save the Procfile with no extension on it. that's what i did, and it worked for me
Pablo Javier I did the same. But didn't work!
Then I created three Procfiles diff files with .Js, .Json, and no extension.
then it worked
is there a way to render the output of the p5js script on sampleurl.herokuapp.com? I'd like to display tweets on a webpage.
please!! can you make a tuto for your "installing dance"?
You are the BEST
Thanks for watching!
I wanna upload a bat file what do I do then?
Thank youuuuuuuuuuu.
someone had fixed the SIGTERM / error 143 issue? i dont want to put my credit card on amazon yet, but it seems i'll have to, if i want my bots working. ps thanks Dan!
Ther screen is very blurry
Is Heroku free? And will it automatically end the process if I only have my bot set to tweet once a day?
Did you figure out the answer ? I just started my bot today and i'm asking myself the same questions ^^
Hello Shiffman, i followed all your videos but i need to know about Direct messages.. i am able to send direct messages and also receive response from twitter bot but stuck in endless loop and twitter api again respond back with same request. Can you please guide me how to cater this?
+Zaka Ul Haque you've got to make sure it's a tweet sent to you but not by you, something like:
function tweetEvent(tweet) {
var reply_to = tweet.in_reply_to_screen_name;
// Check to see if this was, in fact, a reply to you
if (reply_to === 'yourusername') {
// Get the username and content of the tweet
var name = tweet.user.screen_name;
var txt = tweet.text;
// Tweet back a reply?
}
}
More here: shiffman.github.io/A2Z-F15/week9/notes.html
+Daniel Shiffman Thanks Shiffman, it did the trick, much appreciated :)
PS: I like your enthusiasm.. Keep it up! :)
+Zaka Ul Haque glad to hear!
do this for a node.js server
does not work
Does this also work with a Python bot?
It should!
It did! Thanks a lot :)
Did anyone else get this after committing?
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this r
you need to set up GitHub repository for that and it will be ok. follow this video th-cam.com/video/J_Clau1bYco/w-d-xo.html
my .py crashed
Damn you coolio
Someone teach me this OR kill me . Going to blow my brains out if I don't learn this soon . Been tormented for far too long... this is also pretty much the last skill I have to learn
4:45