Copy overhaul + qr designs

This commit is contained in:
2026-07-27 17:54:59 +02:00
parent 033bc7e29d
commit 70d97aa970
144 changed files with 23107 additions and 1699 deletions

View File

@@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from 'next/server';
import { tiktokApi } from '@/lib/tiktok';
// Live read-only stats from the Display API. Requires the user.info.stats and
// video.list scopes accounts connected before the scope change must
// video.list scopes - accounts connected before the scope change must
// re-authorize via /api/tiktok/connect.
const USER_FIELDS = 'display_name,follower_count,following_count,likes_count,video_count';

View File

@@ -5,7 +5,7 @@ import { TIKTOK_BRAND, getValidTiktokTokens } from '@/lib/tiktok';
export async function GET(request: NextRequest) {
const adminKey = process.env.TIKTOK_ADMIN_KEY;
if (!adminKey) {
// Unlike /connect, this endpoint hands out live credentials never expose
// Unlike /connect, this endpoint hands out live credentials - never expose
// it without a configured key.
return NextResponse.json(
{ error: 'TIKTOK_ADMIN_KEY must be configured to expose TikTok status' },

View File

@@ -135,7 +135,7 @@ export async function POST(request: NextRequest) {
media_type: 'PHOTO',
// MEDIA_UPLOAD = draft in the creator's TikTok inbox (posting
// policy is upload/draft only) and only needs the video.upload
// scope QRMaster has no video.publish.
// scope - QRMaster has no video.publish.
post_mode: 'MEDIA_UPLOAD',
post_info: {
...(title ? { title } : {}),