fbinstant-deploy
v1.0.1
Published
Deployer for Facebook Instant Games
Downloads
324
Maintainers
Readme
Deployer for facebook instant games
NPM package to help automate the deployment of facebook instant games.
The deploy() function returns a promise that will resolve if the package has been delivered to the facebook endpoint.
#installation
npm install --save-dev fbinstant-deploy
Usage
require("fbinstant-deploy").deploy(directory, access_token, app_id, comment);
Example
const instantDeployer = require("fbinstant-deploy");
instantDeployer.deploy("/some/dir/to/zip/", "access_token", "app_id", "some comment here").then(()=>{
console.log("Deployment successful!");
});