Inspiration
I realized that many businesses advertise and market via social media. Knowing this, I also saw that some of these smaller businesses were spending outrageous amounts on ads and getting very little engagement in return. I felt that there was something I could do about it.
What it does
This Twitter API tool uses a username to access that targeted user's previously posted/liked tweets and then rewrite a general advertising message to increase engagement with said targeted users.
How I built it
I used Visual Studios to utilize Twitter APIs and openAI APIs. I wrote code to feed the Twitter APIs the username and get the user ID and then feed that user ID into other Twitter APIs to access that user ID's previously liked/posted tweet. I then wrote code to feed this information into an openAI API which rewrote a generic marketing message to maximize engagement from the targeted user.
Challenges I ran into
One of the most difficult challenges I had to solve was the integration of the openAI API. I was having the most trouble with its request body because the API was unable to understand its prompt. After much trial and error, I was able to locate the problem and fix it.
Accomplishments that I'm proud of
I am particularly proud of this because it was one of my first big projects without outside assistance. I am glad that I was able to problem-solve my way through this project and come out on top.
What I learned
I learned how to utilize tools such Postman to help integrate APIs such as the openAI and Twitter APIs - something I also learned while building this project (how to use APIs).
What's next for Twitter Marketing Tool
I plan to develop a UI for this tool and make it more user-friendly and interactive. Once I am happy with where the tool is, I plan to show this tool to some businesses for beta-testing.
Built With
- chatgpt
- java
- json-translator
- maven
- openai-apis
- postman
- twitter-apis
- visual-studio
Log in or sign up for Devpost to join the conversation.