GitXplorerGitXplorer
f

facebook-business-sdk-codegen

public
86 stars
55 forks
20 issues

Commits

List of commits on branch main.
Unverified
8eec5f2c5671a5a73e9d10c75e2b002c485d0195

Update Legit Phone Number Length to 16

sstcheng committed a month ago
Unverified
894f777f77b0463c72322eb2c7f5b85193eae616

PROMOTE_YOUR_PAGE sample added

committed 2 months ago
Unverified
69ba30ad63ee640046e1902b39a2b159606640ef

PROMOTE_YOUR_PAGE sample added

committed 2 months ago
Unverified
7df1040cc40670eeafad9cb8e8e739f2d6899ff4

PROMOTE_YOUR_PAGE sample added

committed 2 months ago
Unverified
079931bb7eab366ab34cae95d4608b22e70624a9

PROMOTE_YOUR_PAGE sample added

committed 2 months ago
Unverified
4ac8f048af689240be5e7225666b694243498873

PROMOTE_YOUR_PAGE sample added

committed 2 months ago

README

The README file for this repository.

Facebook Business SDK Codegen

Introduction

This project contains all the code to auto generate Facebook Business SDKs (php, python, nodejs, ruby, java). There are three parts of this project :

  • JSON schema representation of the Graph API endpoints.
  • Mustache template for 5 languages.
  • Codegen scripts.

Pre-requisites

Install Node.js

Install all dependencies by npm : npm install

Codegen SDK

npm run build && node lib/CodeGenerator.js <language>

Debug

During debug, if you want to compare with the generated SDK to our current SDK code, you can specific the output folder by using -o :

npm run build && node lib/CodeGenerator.js <language> -o outputDir

If you want to keep git config in outputDir, you can specific only cleanup source code by using -c , for example:

npm run build && node lib/CodeGenerator.js php -o ../facebook-php-business-sdk/ -c src/

License

Facebook Codegen for Business SDKs is licensed under the LICENSE file in the root directory of this source tree.