- Changed appid to appKey.
- Changed secret to appSecret for consistency.