For this project I “finally” decided to make a twitter about a linguistic question. My native language is Spanish, so when I have to write in english I use to make mistakes with the words that has double letters. I never know which one is the double one. For example in “finally” I first tried with double “n”. As it looks bad I tried with the double “I”.
So this is a daily question for me.
For the bot I decided to keep this image because it´s part of the same process that I had had in this course, doing simple questions that are currently on my mind.
For loop for each word of the list.
If the word have a letter that is equal to the letter before: store that letter in a variable I create.
I knew that but not the sintaxis for that. I “finally” found some help and a classmate explain me this sintaxis. Event hough it is simple I understood a lot of thing in the process.
I could make it work in my computer in node, but I just realice it´s not working in the server. I has the same problem last week and I thought I had fixed it. But I did not. I will try to do it tomorrow morning.
Crontab in the server is like this.
I am also trying to upload the first twitter bot I create for this class, the program is not working yet. I had some problems. I hope I will have time tomorrow am.
I finally fixed the crontab nº, so now it must be running each 30 minutes.
I fixed the problem with the program, it was again the “” signs in the array.