Skip to content

lb-phone

Requires lb-phone ≥ 1.5.0. Token type: Media (one token covers video, image and audio).

  1. Open lb-phone/config/config.lua and set all three upload methods:
Config.UploadMethod.Video = "Fivemanage"
Config.UploadMethod.Image = "Fivemanage"
Config.UploadMethod.Audio = "Fivemanage"
  1. Open lb-phone/server/apiKeys.lua and paste your Spawnbase media token in all three slots:
API_KEYS = {
Video = "YOUR_MEDIA_TOKEN",
Image = "YOUR_MEDIA_TOKEN",
Audio = "YOUR_MEDIA_TOKEN",
}
  1. Restart lb-phone (ensure lb-phone).

Verify: take a photo and record a short video in the phone — both appear in the Spawnbase dashboard under Files. If uploads fail with a 401 in the phone’s console output, the token is a Logs token or has a typo; it must be a Media token.

Drop-in copies of both files ship in sdk/integrations/lb-phone/.