Giter VIP home page Giter VIP logo

fb-instant-tools's Introduction

fb-instant-tools

Tool for uploading Facebook Instant Game bundle

oclif Version Downloads/week License

Usage

fb-instant-tools - package name and fb-instant is the binary. Using npx:

npx fb-instant-tools token APP_ID 'APP_SECRET' # retrieve a token
npx fb-instant-tools upload APP_ID 'ACCESS_TOKEN' # upload bundle ./Archive.zip

Or install as global dependency:

npm install --global fb-instant-tools

And then use fb-instant binary:

fb-instant token APP_ID 'APP_SECRET' # retrieve a token
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

fb-instant-tools's People

Contributors

slavshik avatar

Watchers

 avatar  avatar

fb-instant-tools's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.