I want to create like a website api endpoint that generates Canva for the info
For example it sends request to this url https://fastrestapis.fasturl.cloud/stalk/twitter?username=ryujinshihikaru Response: { "status": 200, "content": "Success", "result": { "userInfo": { "url": "https://x.com/RyujinshiHikaru", "id": "1801083625854898176", "name": "Ryujinshi Hikaru", "screenName": "RyujinshiHikaru", "location": "Indonesia", "description": "Aku Hika-San, kaisar naga muda. Bergabunglah untuk edukasi, kreativitas, dan hiburan. Jangan lupa like, share dan follow aku ya! Mari bersinar!", "followersCount": 9, "followingCount": 3, "friendsCount": 3, "likeCount": 2, "tweetCount": 2, "profileImageUrl": "https://pbs.twimg.com/profile_images/1801084273287720960/PVCpLr0s_normal.jpg", "website": { "url": "https://trakteer.id/ryujinshihikaru", "display_url": "trakteer.id/ryujinshihikaru" } }, "shadowBanInfo": { "unfollowed": false, "ghostBan": false, "noTweet": false, "notFound": false, "protect": false, "replyDeboosting": false, "searchBan": false, "searchSuggestionBan": false, "suspend": false } }, "creator": "Fast Rest API - FastURL" }
So you'd pick the important info in the response I've provided , you then used it to make a look alike Twitter pages profile modern and professionally done , So when they want to use the endpoint we want to create now by sending username , it send the name to this get url I sent now and fetch the info required and then use it to make me a lookalike Canva image that would show it string NAME OF WEBSITE IS Info-Canva
Loading...
The code returns the following error:
Error generating canvas: Failed to fetch Twitter data
at (/app/api/generate-canvas/route)
Revise the code to address the error.
I was previewing: /
Loading...
The code returns the following error:
API returned status 500:
at (/app/api/generate-canvas/route)
Revise the code to address the error.
I was previewing: /