fb-instant-tools
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i fb-instant-tools

Weekly Downloads

2

Version

0.0.10

License

MIT

Unpacked Size

11.6 kB

Total Files

12

Last publish

Collaborators

  • slavshik