With all the talk going around with Chat GPT and the latest development with AI. I decided to spend some time looking at using the API to create a very small MVP. The aim was to spend a couple of hours building a app. Where a user provides a URL and then selects from a list of predefined tones from the site, the site would then generates the tweet on that link with the chosen tone.
By default Laravel when logging a user into a website the session time is set to 120 minutes. They may be instances where you need this increased. As with most things in Laravel Its straight forward to do.
I’m going to go through the steps I use to set up a Laravel application in Runcloud. I’m going to assume that you already have a server instance setup and you are familiar with both Runcloud and Envoyer.
I stumbled across a great application called Rollbar which logs application error in a variety of languages such as Php, Perl, Javascript and Ruby to name but a few. It also has integration with Trello, Slack and Github.
Sending out automated tweets is really easy for a Laravel using the CodeBird package. I’ve wrote a quick guide how to do this which you may find useful for you site.