Contents

Publishing on WordPress Video Tutorials

Publishing on Facebook

Publishing on Facebook Facebook

Facebook is an online social network with over a billion users. This tutorial demonstrates how to add HTML animation to a Facebook page, and also how to create a Facebook Canvas.

You will first need to create some HTML animation, a game or an application.

Upload the HTML file and any media files to a web server.

Important! Facebook requires any external HTML pages to be hosted on a secure web server (HTTPS).


Adding HTML Animation to a Facebook Page

You will need a Facebook page, this is different from a Facebook account.


www.Facebook.com/about/pages

Follow the instructions to create a new page. We've created a blank page. You might already have a Facebook page for your business.


Adding HTML Animation to a Facebook Page FacebookPage

Next, create a Facebook app. You will need to register as a developer. This is free.


developers.facebook.com/apps

Create a new app. Choose www. Give the app a name, create an app ID and set the category to 'apps for pages'. Skip the quick start.


Adding HTML Animation to a Facebook Page FacebookNewApp

In the app dashboard you can manage all the app details, screenshots, analytics and images. Most of these settings are not needed, for now.


Adding HTML Animation to a Facebook Page FacebookAppSettings

In the settings menu, set a contact e-mail address. You can't make your app go live until you have set an e-mail address.

Choose 'Add Platform' and select 'Page Tab'.


Adding HTML Animation to a Facebook Page FacebookAddPlatform

The 'Secure Page Tab URL' is the location of the HTML animation you have created.

This must be hosted on a secure web server.

This also must be a server page. This is simple to do. Change the file extension of your HTML page from .HTML to .ASPX or .PHP depending on the type of web server you are using.

Set a name for the page tab and set an image.

Press 'Save Changes'.


Adding HTML Animation to a Facebook Page FacebookPlatformSettings

To add the page tab to your Facebook page, the following URL needs to be copied into a web browser. Replace YOUR_APP_ID with the ID of the app and replace YOUR_URL with the secure URL of the app.


https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL

For example:


https://www.facebook.com/dialog/pagetab?app_id=1234567890&redirect_uri=https://www.Hippani.com/Content/Files/Animations/Devices.aspx

www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL

Adding HTML Animation to a Facebook Page FacebookAddTab

Choose the correct page and press 'Add Page Tab'.

The tab containing your HTML animation has been added to the page. It will start in the 'More' menu. Press 'Manage Tabs' to make it more prominent.


Adding HTML Animation to a Facebook Page FacebookExampleTab

When you are ready, you can make the app live. Goto 'Status and Review' in the app dashboard. You need to do this before other poeple can see it.


Adding HTML Animation to a Facebook Page FacebookLive

Creating a Facebook Canvas

Facebook Canvas are full page apps, rather than an app within a tab.


developers.facebook.com/apps

Create a new app. Choose Facebook Canvas. Give the app a name, create an app ID and choose a category. Skip the quick start.


Creating a Facebook Canvas FacebookNewApp

In the app dashboard you can manage all the app details, screenshots, analytics and images. Most of these settings are not needed, for now.


Creating a Facebook Canvas FacebookAppSettings


In the settings menu, set a contact e-mail address. You can't make your app go live until you have set an e-mail address.

Choose 'Add Platform' and select 'Facebook Canvas'.


Creating a Facebook Canvas FacebookAddPlatform


The 'Secure Canvas URL' is the location of the HTML animation you have created.

This must be hosted on a secure web server.

This also must be a server page. This is simple to do. Change the file extension of your HTML page from .HTML to .ASPX or .PHP depending on the type of web server you are using.

Finally, Facebook requires a '?' to be added to the end of the URL.

Press 'Save Changes'.


Creating a Facebook Canvas FacebookCanvasSettings


View the app by copying the Canvas page URL into a web browser.


https://apps.facebook.com/0123456789

Creating a Facebook Canvas FacebookCanvasExample

Publishing on WordPress Video Tutorials