For this home work I finally had to keep in very simple, so simple!

@Ana32104984

First It took me a while to set the things and be able to start working in something more creative.  I follow the notes until I have the Cities bot ready to be post. But I did not understand how to twitt it. I didn´t understand how the relationship between the sublime text and terminal works. A classmate explain me how to do it.

Then I started to work with a different json.  I decide to crete my own one with some words. It was an array with 10  “words” and 10 “communities”

I wanted to do a question that works like this:

What does “word” means to “community”?

Words: racism, dictatorship, poetry, nature, sex, freedom,luxury, rape, violence, old.

Communities: white people, africans, native americans, chinese, southamericans,  europeans, millenials, millionairs, middle class people.

The code were like this:

“what does” twittBotPaula [0][“word”] + “means to” +twittBotPaula[0][“community”]},

But it was not working. (I will try to make it work this days).

But after a long time trying I just give up and twitt:

“New York, New York”.

 

The json I did is this.

 

{
“description”: “Playing with twitter bots”,
“twittBotWC”: [
{
“word”: “racism”,
“community”: “white people”
},
{
“word”: “dictatorship”,
“community”: “africans”
},
{
“word”: “poetry”,
“community”: “native americans”
},
{
“word”: “nature”,
“community”: “afroamericans”
},
{
“word”: “sex”,
“community”: “chinesse people”
},
{
“word”: “freedom”,
“community”: “south american”
},
{
“word”: “luXury”,
“community”: “europeans”
},
{
“word”: “rape”,
“community”: “millenials”
},
{
“word”: “violence”,
“community”: “middle class people”
},
{
“word”: “old”,
“community”: “millionairs”
}
]
}