Weibo Lucky Draw Tool

A personal web project

---

Description


This is an online tool for drawing users from Weibo posts. It is designed to help Weibo users randomly select users from their followers who have liked or reposted their posts.


---

About


Challenges & Solutions

Driven by my interest in building this tool and its potential to help other Weibo users, I decided to challenge myself. Without any prior experience in developing web apps, the biggest obstacle was figuring out how to get started. I had to rely entirely on self-learning to complete this project. While the backend was relatively straightforward, I struggled to connect it with the frontend. By seeking guidance from ChatGPT, I learned how to use Flask to enable communication between the two.

To make the tool publicly accessible, I needed to deploy it to a server, which required configuring the server environment and installing project dependencies. Once that was resolved, a new challenge arose: the callback URL for Weibo’s OAuth 2.0 authorization needed to use the HTTPS protocol. This meant configuring an SSL certificate for my server. I encountered repeated failures—neither tutorials nor assistance from LLMs provided a solution. Eventually, I consulted experienced developers online and learned that the issue stemmed from regional policies tied to my domain registration. Understanding these policies allowed me to overcome the problem, successfully deploy the tool, and release it after testing with the help of friends.

This experience demonstrated my resilience and adaptability in overcoming unfamiliar challenges. It highlighted my ability to independently learn new skills, such as web app development and server deployment, and to persist through repeated failures. It also showcased my resourcefulness in seeking help from various sources—whether it was consulting AI tools, researching policies, or reaching out to experienced developers—to find practical solutions and achieve my goals.

Contributions

This is a personal project. In this project, I:

---