rgz
rgz
CCConvex Community
Created by rgz on 3/18/2025 in #show-and-tell
Convex Panel
Yeah for development purposes mostly but if you have an application where your users might benefit from using this, you don't want to give them access directly to your dashboard, but they can have access to their data with their own dashboard. Still working some kinks out.
4 replies
CCConvex Community
Created by uzamaki21 on 3/18/2025 in #support-community
Create a physical backup file
There’s ways you can do it. If you give me a bit I can show you how I built a function to do so.
31 replies
CCConvex Community
Created by thewb on 3/15/2025 in #show-and-tell
Creating Real Time Game
Nice job! Diggin it.
7 replies
CCConvex Community
Created by terms on 3/13/2025 in #support-community
Dev and Build workflow
7 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Likewise!
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
The way that tiktok receives data, not sure.
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
🤷‍♂️
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Awesome
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Yeah I thought that might have been the case ;P
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Can you try this?
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
const upload = await (await fetch("https://open.tiktokapis.com/v2/post/publish/video/init/", {
method: "POST",
headers: {
"Authorization": `Bearer ${tiktokData.access_token}`,
"Content-Type": "application/json; charset=UTF-8",
"Accept": "application/json; charset=UTF-8",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
"Sec-Fetch-Mode": "cors"
},
body: JSON.stringify({
"post_info": {
"title": args.title,
"disable_duet": false,
"disable_comment": false,
"disable_stitch": false,
"video_cover_timestamp_ms": 0,
"privacy_level": "SELF_ONLY"
},
"source_info": {
"source": "PULL_FROM_URL",
"video_url": args.videoUrl
}
})
})).text();

console.log(upload);
const upload = await (await fetch("https://open.tiktokapis.com/v2/post/publish/video/init/", {
method: "POST",
headers: {
"Authorization": `Bearer ${tiktokData.access_token}`,
"Content-Type": "application/json; charset=UTF-8",
"Accept": "application/json; charset=UTF-8",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
"Sec-Fetch-Mode": "cors"
},
body: JSON.stringify({
"post_info": {
"title": args.title,
"disable_duet": false,
"disable_comment": false,
"disable_stitch": false,
"video_cover_timestamp_ms": 0,
"privacy_level": "SELF_ONLY"
},
"source_info": {
"source": "PULL_FROM_URL",
"video_url": args.videoUrl
}
})
})).text();

console.log(upload);
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
So it has to do with your access token
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Can you try this:
curl --location 'https://open.tiktokapis.com/v2/post/publish/video/init/' \
--header 'Authorization: Bearer ${tiktokData.access_token}' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data-raw '{
"post_info": {
"title": args.title,
"disable_duet": false,
"disable_comment": false,
"disable_stitch": false,
"video_cover_timestamp_ms": 0,
"privacy_level": "SELF_ONLY"
},
"source_info": {
"source": "PULL_FROM_URL",
"video_url": args.videoUrl
}
}'
curl --location 'https://open.tiktokapis.com/v2/post/publish/video/init/' \
--header 'Authorization: Bearer ${tiktokData.access_token}' \
--header 'Content-Type: application/json; charset=UTF-8' \
--data-raw '{
"post_info": {
"title": args.title,
"disable_duet": false,
"disable_comment": false,
"disable_stitch": false,
"video_cover_timestamp_ms": 0,
"privacy_level": "SELF_ONLY"
},
"source_info": {
"source": "PULL_FROM_URL",
"video_url": args.videoUrl
}
}'
19 replies
CCConvex Community
Created by coochie boy sniped you on 3/14/2025 in #support-community
What is up with "use node" fetch?
Have you tried passing this through postman?
19 replies
CCConvex Community
Created by terms on 3/13/2025 in #support-community
Dev and Build workflow
More info here on production builds: https://docs.convex.dev/production
7 replies
CCConvex Community
Created by terms on 3/13/2025 in #support-community
Dev and Build workflow
Hey terms, you should upload the entire convex folder.
7 replies