0.0.10 • Published 3 years ago

fb-instant-tools v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

fb-instant-tools

Tool for uploading Facebook Instant Game bundle

oclif Version Downloads/week License

Usage

Using npx:

$ npx fb-instant-tools upload APP_ID 'ACCESS_TOKEN'

Or as global dependency:

$ npm install --global fb-instant-tools
$ fb-instant upload APP_ID 'ACCESS_TOKEN' -f path/to/game-bundle.zip -C "Some notes about the bundle"

Or as internal dependency within your package.json script.

You can also use fb-instant token APP_ID APP_SECRET to generate the access token.

Commands

fb-instant token ID SECRET

Generates facebook upload token

USAGE
  $ fb-instant token ID SECRET

ARGUMENTS
  ID      App id
  SECRET  App secret

OPTIONS
  -h, --help  show CLI help

See code: src/commands/token.ts

fb-instant upload APP_ID ACCESS_TOKEN

Uploads asset to the facebook hosting

USAGE
  $ fb-instant upload APP_ID ACCESS_TOKEN

ARGUMENTS
  APP_ID        App id
  ACCESS_TOKEN  App access token

OPTIONS
  -C, --comment=comment  Comment to be added
  -f, --file=file        Path to zip file
  -h, --help             show CLI help

See code: src/commands/upload.ts

0.0.10

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago

0.0.0

3 years ago