Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. logo_path – link to your logo. Preferably in svg format. The logo should occupy the entire height of the image without indentation above and below.
    Format: logo_path=LINK_TO_YOUR_LOGO

  2. menu_items – additional fields in the menu.
    Format: menu_items=JSON.stringify([{ title: string }])

  3. do_not_show_info_about_app – do not show the menu item “About the application“.
    Format: do_not_show_info_about_app=1

  4. original_url – link to the page. Links for redirecting from posts in social networks.
    Format: original_url=link_to_your_web_site

  5. twitter_mention – mention your twitter account.
    Format: twitter_mention=@your_twitter_mention

  6. facebook_app_id – Account ID that is mentioned in the facebook post when sharing. The default account is Wizart.

  7. back_button_background - the background of the Back button.
    Format: back_button_background=#ffffff

  8. back_button_icon_color - the icon color inside the Back button.
    Format: back_button_icon_color=#ffffff

Integration example:

Code Block
const fittingRoomEndpoint = server_address
  + '/fitting-room'
  + '?api_token=' + api_token
  + '&bba=true'
  + '&logo_path=LINK_TO_YOUR_LOGO'
  + '&menu_items=' + JSON.stringify([])
  + '&do_not_show_info_about_app=0'
  + '&twitter_mention=@your_twitter_mention'
  + '&original_url=LINK_TO_YOUR_WEB_SITE'
  + '&facebook_app_id=facebook_app_id'
  + '&back_button_background=#ffffff'
  + '&back_button_icon_color=#ffffff'
;

4. Save and move all the changes into the work environment of the client’s website.

...