Which API code to use?

Moderator: Telldus

Post Reply
webmoney
Posts: 2
Joined: Fri Mar 17, 2023 9:45 am

Which API code to use?

Post by webmoney »

Newbie here, so please bear with me.

I've just downloaded Telldus Live API. In order to use this API, I need to use an API key and a API secret.

When registering for an API key, I get four different values:
- Public key
- Private key
- Token
- Token secret

My question is: Which one of these four keys should I use as "KEY" and "SECRET" in the common.php file?
micke.prag
Site Admin
Posts: 2243
Joined: Fri Mar 17, 2023 9:45 am
Location: Lund
Contact:

Re: Which API code to use?

Post by micke.prag »

Read more about OAuth and the usage of keys here:
http://hueniverse.com/oauth/guide/

OAuth only uses one keypair for the application. The token (and the token secret) is bound to your user and will be fetch automatically by the example application.
Micke Prag
Software
Telldus Technologies
Post Reply