You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4
Original file line number
Diff line number
Diff line change
@@ -282,7 +282,7 @@ The executor needs to implement ``IRequestExecutor`` interface:
282
282
283
283
``DefaultRequestExecutor`` is used by default, and it is also a good starting point for Customization.
284
284
285
-
####Missing or Incorrect Request Params/Fields
285
+
####Missing or Incorrect Request Params/Fields
286
286
It is recommended to use setXXX() or requestXXXField() to construct a proper APIRequest, which prevents mis-spelling of parameter/field names. However, if you believe that some needed params/fields are missing from these methods, you can call:
287
287
288
288
```java
@@ -294,14 +294,14 @@ This also works if you believe the type of the param is not correct in SDK.
294
294
295
295
In this case, please help us make improvement by filing issues.
296
296
297
-
####Missing Fields in Class Definition
297
+
####Missing Fields in Class Definition
298
298
If you believe that certain fields are returned from server, but they are missing in class definition, then you can still access those fields by fetching it from raw response:
This situation can occasionally happen if new fields are added to server response while SDK is not up-to-date. We'll update the SDK periodically to include new fields.
303
303
304
-
####Ad-hoc APIRequest
304
+
####Ad-hoc APIRequest
305
305
Most of Marketing API can be found in SDK classes. If you don't find the one you want to access, it is possible to construct an Ad-hoc APIRequest:
306
306
307
307
```java
@@ -318,7 +318,7 @@ When constructing the APIRequest, you need to provide
318
318
* The parser for the expected response type. You can use null if it is not in the SDK, which will return APINodeList<APINode> when executed.
319
319
320
320
321
-
####FailedRequestException Troubleshooting
321
+
####FailedRequestException Troubleshooting
322
322
There are many possible causes for a failed request:
323
323
324
324
* Incorrect parameters are provided in the API request (check <ahref="https://developers.facebook.com/docs/graph-api"target="_blank">Graph API Docs</a>)
@@ -339,5 +339,10 @@ Here are some hints on troubleshooting:
339
339
* For temporary server issue, typically retry should work after a few seconds.
340
340
* If server persistently responds with "Unknown error," then it is potentially server bug.
341
341
342
+
## SDK Codegen
343
+
Our SDK is autogenerated from [SDK Codegen](https://github.com/facebook/facebook-business-sdk-codegen). If you want to learn more about how our SDK code is generated, please check this repository.
344
+
345
+
346
+
342
347
## License
343
348
Facebook Business SDK for Java is licensed under the LICENSE file in the root directory of this source tree.
0 commit comments