You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a post endpoint. When this endpoint is hit with a JSON payload as shown below, it would post the tweet and save it to the DB. If the text is more than 208 characters, an error message is thrown. The response would be the tweet data from Twitter.
{
"tweet": "tweet text"
}
For now, the authentication for tweeting is going to be a generated token hard coded as an env variable AUTH_TOKEN
The text was updated successfully, but these errors were encountered:
Create the tweet endpoint
This is a post endpoint. When this endpoint is hit with a JSON payload as shown below, it would post the tweet and save it to the DB. If the text is more than 208 characters, an error message is thrown. The response would be the tweet data from Twitter.
For now, the authentication for tweeting is going to be a generated token hard coded as an env variable
AUTH_TOKEN
The text was updated successfully, but these errors were encountered: