Implementing a chat button on TECHNICAL PAPER

Similar documents
Create a cool image gallery using CSS visibility and positioning property

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

A designers guide to creating & editing templates in EzPz

Introduction to HTML5

Dreamweaver: Portfolio Site

Dreamweaver CS3 Lab 2

ADOBE 9A Adobe Dreamweaver CS4 ACE.

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

Vebra Search Integration Guide

Chapter 6. Using Frames in a Web Site

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

TRAINING GUIDE. Rebranding Lucity Web

Basics of Page Format

HTML Overview. With an emphasis on XHTML

HTML, XHTML, and CSS 8/21/2011. Chapter Objectives. Chapter 4. Chapter Objectives. Chapter Objectives

Dreamweaver CS5 Lab 4: Sprys

Modify cmp.htm, contactme.htm and create scheduleme.htm

Deccansoft Software Services

Lab 4 CSS CISC1600, Spring 2012

COMSC-031 Web Site Development- Part 2. Part-Time Instructor: Joenil Mistal

How the Internet Works

Bookmarks to the headings on this page:

First, create a web page with a submit button on it (remember from creating forms in html?):

IMY 110 Theme 11 HTML Frames

Build Site Create your site

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

I Can t Believe It s Not

Title: Dec 11 3:40 PM (1 of 11)

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

Table Basics. The structure of an table

Getting Started with Eric Meyer's CSS Sculptor 1.0

COMSC-031 Web Site Development- Part 2

Using CSS for page layout

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

What is XHTML? XHTML is the language used to create and organize a web page:

Figure 1 Forms category in the Insert panel. You set up a form by inserting it and configuring options through the Properties panel.

Styles, Style Sheets, the Box Model and Liquid Layout

Web Publishing Basics I

Live Guide Co-browsing

Wireframe :: tistory wireframe tistory.

CSS Positioning Using Expression Web Style Tools

Dreamweaver CS4. Introduction. References :

Building Your Blog Audience. Elise Bauer & Vanessa Fox BlogHer Conference Chicago July 27, 2007

Web Publishing Intermediate 2

How to set up a local root folder and site structure

Integrating Facebook. Contents

Dreamweaver CS5 Lab 2

IBM Forms V8.0 Custom Themes IBM Corporation

Let's take a look at what CSS looks like in Dreamweaver using the "Embedded" coding which is the styles are within the html code and not separate.

Table of content. Creating signup form Associating automation tools to signup form Signup form reports...42

Semantic Web Lecture Part 1. Prof. Do van Thanh

Overview of the Adobe Dreamweaver CS5 workspace

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

FORMS. The Exciting World of Creating RSVPs and Gathering Information with Forms in ClickDimensions. Presented by: John Reamer

Micronet International College

CS134 Web Site Design & Development. Quiz1

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc

This document explains how to obtain a direct link from within an existing Facebook page to the hotel s booking

DocuSign PowerForms User Guide

JSN PageBuilder 3 Configuration Manual Introduction

Guidelines for doing the short exercises

XHTML & CSS CASCADING STYLE SHEETS

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Part 4: Creating a Drill-down Interface

Positioning in CSS: There are 5 different ways we can set our position:

Creating a Navigation Bar with a Rollover Effect

Advanced Dreamweaver CS6

The Marketer s Guide to. Responsive Design

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

CREATING A BUTTON IN PHOTOSHOP

Header. Report Section. Footer

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Lesson 1 using Dreamweaver CS3. To get started on your web page select the link below and copy (Save Picture As) the images to your image folder.

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

Web Design, 5 th Edition

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

FrontPage 2000 Tutorial -- Advanced

Navigation. Websites need a formalized system of links to allow users to navigate the site

introduction to XHTML

ORB Education Quality Teaching Resources

Here are a few easy steps to create a simple timeline. Open up your favorite text or HTML editor and start creating an HTML file.

HTML and CSS COURSE SYLLABUS

JavaScript (5A) JavaScript

Pinterest. Contents. Create Pinterest buttons and widgets that you can add to your WebShop

How to Use Moodle's Text Editor

Adobe Dreamweaver CC Tutorial

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Independence Community College Independence, Kansas

Lava New Media s CMS. Documentation Page 1

Introduction to Dreamweaver CS3

What do we mean by layouts?

How to Customize Support Portals

Dreamweaver 101. Here s the desktop icon for Dreamweaver CS5: Click it open. From the top menu options, choose Site and New Site

ThingLink User Guide. Andy Chen Eric Ouyang Giovanni Tenorio Ashton Yon

Layout with Layers and CSS

CIS 228 (Fall 2011) Exam 2, 11/3/11

Website Development (WEB) Lab Exercises

Assignments (4) Assessment as per Schedule (2)

ADOBE DREAMWEAVER CS4 BASICS

Transcription:

Implementing a chat button on TECHNICAL PAPER

Contents 1 Adding a Live Guide chat button to your Facebook page... 3 1.1 Make the chat button code accessible from your web server... 3 1.2 Create a Facebook application that references the code... 4 2 Troubleshooting... 7 2.1 Check your URL... 7 2.2 Error messages from your server... 7 2.3 Scroll Bars... 7 Last updated: May 2016

1 Adding a Live Guide chat button to your Facebook page This document describes how you can add a chat button that you implemented in Live Guide to your Facebook page. The chat button is added using an iframe application 1 that you create using Facebook Developer Application and requires that you are familiar with HTML. Adding the chat button consists in two overall steps: Make the Live Guide code from the Code builder page available from a publicly accessible web server. The code can include the chat button as well as the proactive chat code so proactive chat will also be available. Create a Facebook application that references the code. These steps are described in detail in the following sections. 1.1 Make the chat button code accessible from your web server 1. Create a standard HTML file and copy code from the Live Guide Code builder page into the file. Log in to the Live Guide Administration module and on the Setup menu, click Code builder. Below is a very simple but working example with comments to indicate where you should place the Live Guide code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> < html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> < head> < style type="text/css"> body { width:520px; margin:0; padding:0; border:0; } < /style> < meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> < /head> < body> < div id="container"> <!-- Netop Live Guide Chat Button Tag --> <!--COPY THE CODE FROM THE CODE BUILDER PAGE CHAT BUTTON TAG--> <!-- Netop Live Guide Chat Button Tag --> < /div> 1 An iframe application allows you to embed an external Web page in your Facebook Page tab; the iframed Web page can use standard HTML, CSS, and JavaScript like any other Web page does. 3

<!-- Netop Live Guide Monitor Tag --> <!--COPY THE CODE FROM THE CODE BUILDER PAGE MONITOR TAG--> <!-- Netop Live Guide Monitor Tag --> < /body> < /html> 2. Save the file in a publicly accessible folder on your own web server, for example www.yoursite.com/facebook/myapp/index.html 1.2 Create a Facebook application that references the code 1. Install Facebook Developer Application. To create a Facebook application you need to install the Facebook Developer Application. Do this by logging in to Facebook and then go to this URL: http://facebook.com/developers If this is the first time you install the Developer Application, you will see the Request for Permission dialog: Click the Allow button to go on. 2. Click the Create New App button: 3. Give your App a name, optionally type a namespace and select web hosting and then click the Continue button: 4

4. Enter the security phrase and then click Submit. 5. Set options and save your changes. There are quite a few options you can set to make your application work exactly the way you want it to. The ones below are the basic ones necessary to get your application up and running: Settings > Basic > Basic Info section: Give your App a name that is short and descriptive. This name will appear on your list of Apps on your developer page. In the same section, select a Category to describe the function of your application, for example App for Pages. Settings > Basic > (edit icon) and Settings > Auth Dialog > Logo: Create and select suitable icons; note that the small one will show in Facebook in the left-column navigation. If you do not create your own icons, you will get the default ones. Settings > Basic > Page Tabs section: enter information about the location where you stored your application file: Page Tab Name Page Tab URL Will appear on the sidebar of your Facebook page. It can be up to 16 characters in width. The complete path, including file name, of the file that should be loaded first when the Tab is loaded into your Facebook page. This is the URL of the file you created in section 1.1. 5

Secure Page Tab URL The complete path, including file name, of the file that should be loaded first when the Tab is loaded into your Facebook page if the visitor is accessing Facebook over a Secure connection (https://facebook.com). 6. Install your iframe application on your Facebook page. Once you are satisfied with your application, you can add it to your Facebook page. Type this URL: http://www.facebook.com/dialog/pagetab?app_id=your_app_id&next=your_url where YOUR_APP_ID and YOUR_URL must be replaced by your own App ID and your URL that you can find on the Settings > Basic page 2. This opens the Add Page Tab page: Click the Choose Facebook Pages list to find the page that you want to add the tab to and click the Add Page Tab button. Your new iframe App is now accessible from your Facebook page. It should look something like this: If the tab is not visible, you can change this by adding it to your favorites: Click the arrow: 2 The color coding is for easy reading only. 6

Click the plus sign and then the application name: 2 Troubleshooting Below are a few troubleshooting suggestions if you do not see your custom page in Facebook. 2.1 Check your URL Make sure that the URL you set for your iframe is correct. Try accessing it directly, via your browser, instead of via your Page tab. Bad URL addresses are the most common problem. If the URL to the Web page or image you want in your iframe Page tab is incorrect, the tab will not. You can also test the validity of your URL by right-clicking the area where your iframed content should be and then select "This Frame: Open Frame in new window" or something similar (each browser presents this option a little differently). 2.2 Error messages from your server If your server returns an error when Facebook tries to load the HTML page into the iframe, you may need to change the file extension from.html to.php or.aspx (depending on the server platform you are using). When Facebook loads the iframe, they do a POST to the index page in order to pass some data to your application and it looks like some servers are set up to not allow a POST to a file with the.html extension 2.3 Scroll Bars If your iframe content causes a horizontal scroll bar to appear, something is causing the width to exceed 520 pixels, which is the maximum that Facebook allows. We recommend adding some CSS (either inline as shown below or in your separate CSS file) to remove margin, padding, and border from elements by default. Many browsers add spacing around certain elements by default which can cause the scrollbars to appear unexpectedly. <style type="text/css"> body { width:520px; margin:0; padding:0; border:0; } < /style> 7