GitXplorerGitXplorer
f

facebook-business-sdk-codegen

public
86 stars
55 forks
20 issues

Commits

List of commits on branch main.
Unverified
716fca21a6b9e6a713168639a870787a594a3510

Update AdCreativeFeatureDetails Fields

sstcheng committed 2 days ago
Unverified
e0c84ffb1a31352abb16a57ea7541faf20180a45

Raise descriptive IllegalArgumentException when zipcode is -

aascii-dev committed 8 days ago
Unverified
8ef024c2873d0c372fb3f2593665767390bc6c10

Update EndpointDecodeDict

sstcheng committed 20 days ago
Unverified
5bc9c8c90a0d14dfccc11c3287c7a2417b9a4a84

Auto-generated API spec changes

committed 20 days ago
Unverified
a5717ba8487c46e2ed6c89099359a89e4be92ba2

Make Java SDK's DELETE call put params in the body of the request

committed a month ago
Unverified
bb3a6051816ad5aeab08ad681a1cb46cdc082a39

Resolve Undefined Symbol in __init__.py

sstcheng committed a month 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.