With the rise of social media platforms, the landscape of digital marketing has undergone significant transformations. More and more brands and individuals are utilizing social media for both product or service promotion. Platforms like X have become crucial spaces for businesses to showcase their products and engage with potential customers. However, the overcrowded social media space makes it challenging for brands to stand out and effectively reach their target audience. While various data analytics tools are available in the current market, they still require experienced professionals for analysis and creativity in marketing, thereby increasing human resource and time costs. Moreover, existing solutions might not fully meet the unique and real-time promotional needs faced by different good categories in the highly competitive and ever-changing environment.
To address this market pain, we have developed PostCraft, a data-driven tweet feature and text recommendation and generation system. The system aims to provide efficient and intelligent marketing solutions for both individuals and businesses. Postcraft comprises three main components: Tweets Feature Recommender, Image Content Recommender, and Tweet Optimizer. This system integrates multiple machine learning algorithms, NLP techniques, various recommendation algorithms, and LLM tools to establish a comprehensive platform. By analyzing current market trends and key components of popular posts, Postcraft facilitates tweet feature recommendation, tweet content optimization and generation, as well as image content recommendations for tweets.
In terms of performance validation, we sent out 180 tweets from 100 accounts, with 90 generated by PostCraft and 90 by ChatGPT. We use viewing count within a 3-day period as metrics. Using a t-test and assuming equal means for both methods' outcomes, at a significance level of 0.05,we obtained a p-value of 0.0346 and a t-statistic of 2.1293. Therefore, we reject the hypothesis and conclude that tweets generated by PostCraft significantly outperformed those generated by ChatGPT . This finding strongly supports the outstanding performance of our system in social media tweet generation.
PostCraft has been deployed on a website, enabling users to conveniently access it online. It utilizes Flask as the application framework, HTML/CSS/JavaScript for frontend development to create an intuitive user interface, and Python as the backend to generate recommendations requested through Flask.
Official Full Name | Student ID (MTech Applicable) | Work Items (Who Did What) | Email (Optional) |
---|---|---|---|
Liu Siyan | A0285857H | Model Design and construction, Back-end developent and Integration, Data collation, cleansing and preliminary analysis, Practical validation, Documentation and Figures | [email protected] |
Lin Zijun | A0285897Y | Front end development, Front end and back end Integration, Deployment, User Guide | [email protected] |
Lai Weichih | A0285875H | Data collection and crawling, Back-end development, Documentation | [email protected] |
Fang Ruolin | A0285983H | Business analysis, Data collection and crawling, Documentation | [email protected] |
Market Research; Demo https://youtu.be/1lRf8VBaKcI
System Design; Technical explanation of use cases https://youtu.be/of07CCpwa1s
Refer to appendix <Installation & User Guide> in project report at Github Folder: ProjectReport
Since our application is already deployed on Heroku cloud platform, you can simply use Postcraft by using a browser and nothing else.
Open a browser (Chrome for example).
Type in https://postcraft-ff142951a5f2.herokuapp.com/ and hit enter
download pre-built virtual machine from http://bit.ly/iss-vm
start iss-vm
open terminal in iss-vm
$ git clone https://github.com/SYannL/X-Tweet-Feature-Recommendation-and-Text-Generation-System/ProjectCode/POSTCRAFT
$ source activate iss-env-py3
(iss-env-py2) $ cd .\POSTCRAFT
(iss-env-py2) $ python run.py
Go to URL using web browser http://127.0.0.1:5000/
$ sudo apt-get install python-clips clips build-essential libssl-dev libffi-dev python-dev python-pip
$ pip install pyclips flask flask-socketio eventlet simplejson pandas
$ cd .\POSTCRAFT
$ python run.py
Go to URL using web browser http://127.0.0.1:5000/
Refer to project report at Github Folder: ProjectReport
Refer to Github Folder: Miscellaneous
This Machine Reasoning (MR) course is part of the Analytics and Intelligent Systems and Graduate Certificate in Intelligent Reasoning Systems (IRS) series offered by NUS-ISS.
Lecturer: GU Zhan (Sam)