I will not describe how I came to the conclusion about writing an autoposter (bot) for Twitter, which would be engaged in motivational “posting”. The essence of the service is that any user added to the readers receives an motivational tweet every hour. (Who is interested in Twitter is @MotivatorForYou ).
This is just an example of how you can use twitter api to automate tweet writing. ')
So what was needed:
In order for our script to write tweets, it needs to be switched to the “Read and write” mode. To do this, go to "Settings" and select "Read and write". (Do not forget to save the changes by the button below)
Go back to “Details” and get 4 keys to work with api (they will need to be entered into our script): Consumer key, Consumer secret, Access token, Access token secret (to get the last two, you must click the button “Create my access token” )