Fix and Optimize Spin to Wheel App

Job ID: 39024174

Budget: $30 – $250 USD

My Spin to Wheel app, purchased from Codecanyon and modified with some JS functions, requires urgent attention. The wheel isn't spinning, and there are multiple issues with the code that need to be fixed for the app to work properly.

Key Requirements:
- Debugging JavaScript errors, particularly on the Spin function
- Resolving API integration errors
- Fixing issues with WebPoints update

The app needs to integrate seamlessly with my Bubble.io website, where FMID, WebPoints, and Nickname are sourced. Each spin should correctly deduct 4 WebPoints, and if there are insufficient points, an automatic spin should occur, updating the user's WebPoints in real time.

The final result of the spin needs to be sent to a separate Game API to award gifts.

Ideal Skills and Experience:
- Proficient in JavaScript and debugging
- Experience in API integration
- Familiarity with Bubble.io
- Prior experience with game apps or similar projects is a plus
- Proficient in PHP and Node.js for Azure Web App management
- Able to work with GitHub for code editing

Please note that while the majority of the script is functioning, I require your expertise to get the wheel spinning and to rectify the existing errors.
Related categories: PHP JavaScript HTML Node.js Bubble Developer