How to implement OTOCO(TP/SL) orders using API

I don’t have Facebook, sorry. What is it you are actually trying to achieve here? Are you wanting to create an order in Binance via the api that includes a TP/SL?

I am calling the Binance api to do that, but in order to add the TP/SL it requires two additional calls. All of the required values are sent as url parameters in each of the calls.

So if you look in each of the JSON parts for the trade, take profit and stop loss that you get via the network tab in developer tools you will see all of the parameters and their values you will need to construct each url to make each call with.