- Print
shoplive.show
- Print
This page provides a guide for integrating the player page based on the shoplive.show domain provided by ShopLive into the client's website or mobile application (Web view).
While installation via the JavaScript SDK and the ShopLive plugin requires a landing page serviced by the client to install the player, the player provided through the shoplive.show page can be executed with a simple URL call without needing a separate landing page on the client's end.
Please refer to the information below for the URL and parameters to call the player provided by shoplive.show.
Player URL
URL parameters
Parameter | Description |
---|---|
| Customer access key information |
| Campaign key information to be played in the player |
| User auth data - Basic authentication(Simple auth) or Advanced authentication (JWT auth) token (For guest, |
| 1(Display) | 0(Not shown) |
| 1(Display) | 0(Not shown) |
Authentication settings (tk
parameter)
Simple authentication (For details)
After setting the user ID and userName as a JSON object, be sure to URL-encode when calling the player with the tk
parameter.
Example
JSON object
{
userId
: "USER_ID",userName
: "USER_NAME"}
Url encoded JSON object for
tk
parameter%7B%22userId%22%3A%20%22userID%22%2C%20%22userName%22%3A%22userName%22%7D
Be careful not to encode the URL twice!
JWT authentication (For details)
Generate JWT via encryption of the secret key on the customer's server and pass the generated token as the tk
parameter.
Example by URL format
Format | Example |
---|---|
Basic | https://www.shoplive.show/v1/player.html?ak={access_key}&tk={JWT_token}&ck={campaign_key} |
Player for guest user (without | https://www.shoplive.show/v1/player.html?ak=Lm9LJaufCztZXJ5gpNg2&ck=1c042f398773 |
Simple auth | |
JWT token | https://www.shoplive.show/v1/player.html?ak=Lm9LJaufCztZXJ5gpNg2&ck=1c042f398773&tk={JWT_TOKEN} |