How to add canvas and secure canvas URL in Facebook application

Dipak picture Dipak · Jan 26, 2014 · Viewed 39.7k times · Source

I am trying to develop Facebook tutorial "Friends Smash" but I got stuck in a big problem it does not shows any option for adding canvas and secure canvas URL in

Settings >> Add Platform >> Website

I am getting below options

How can I add canvas and secure canvas URLs?

Answer

Lix picture Lix · Jan 26, 2014

Canvas and secure canvas URLs are only relevant for applications that are on Facebook. Your application (if you're on the "website" platform) doesn't have any use for canvas URLs.

An exerpt from the documentation talking about canvas applications:

Apps on Facebook are loaded into the Canvas section of the Canvas Page. The Canvas is quite literally a blank canvas within Facebook on which to run your app. You populate the Canvas by providing a Canvas URL that contains the HTML, JavaScript and CSS that make up your app. When a person using your app requests the Canvas Page, we load the Canvas URL within an iframe on that page. This results in your app being displayed within the standard Facebook chrome.