Hello,
I'm french, and want to use Telldus API Explorer.
In common.php they are 2 vars to define :
define('KEY', '');
define('SECRET', '');
what KEY and SECRET is it?
on http://api.telldus.com/keys/showToken page they are 4 :
Public key: FE*****
Private key: ZU*****
Token: 2c*****
Token secret: a2****
When i use , my page return error :
HTTP_OAuth_Exception: Unable to connect to ssl://api.telldus.com:443. Error: stream_socket_client()
I want just to access list of devices with there Ids.
how can to do?
PS : Telldus Account API work fine.
thanks.
Unable to connect to ssl
Moderator: Telldus
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: Unable to connect to ssl
Read more about OAuth here:
http://hueniverse.com/oauth/
You need one key-pair for your application (defined in common.php) and a token bound to your user.
You can either hardcode the token och look at our example on how to fetch it programatically.
http://hueniverse.com/oauth/
You need one key-pair for your application (defined in common.php) and a token bound to your user.
You can either hardcode the token och look at our example on how to fetch it programatically.
Your ssl library problably lacks the root-certificate for our https-certificate. You can either add it or try connecting using http instead.Lecreole74 wrote:When i use , my page return error :
HTTP_OAuth_Exception: Unable to connect to ssl://api.telldus.com:443. Error: stream_socket_client()
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
-
- Posts: 2
- Joined: Fri Mar 17, 2023 9:45 am
Re: Unable to connect to ssl
Thanks,
I connecting using http ant work fine
I connecting using http ant work fine