Follow

I'm trying to pair a service with my Latch account using the script in PHP SDK. But I'm not succeeding, what am I doing wrong?

First of all, you have to take into account that the Latch SDK uses the Curl library, so it has to be enabled in your HTTP server (php.ini file). The approach you are taking is correct: $api = new Latch($appId, $secretKey); $response = $api->pair($token); You have to obtain an application ID and secret key from https://latch.elevenpats.com in the developers area, and the pairing token has to be generated with your mobile application (it’s a temporary code). If you have any other problem with this SDK, please provide the PHP error output.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk