如何在Facebook应用程序中添加画布和安全的画布URL [英] How to add canvas and secure canvas URL in Facebook application
问题描述
设置>>添加平台>>网站
我下面的选项
添加画布和安全的画布网址?
画布和安全画布网址仅适用于Facebook上的应用程序。您的应用程序(如果您在网站平台上)对画布网址没有任何用处。
Facebook上的应用程序加载到Canvas
Page的Canvas部分。画布在Facebook上的空白画布在
上运行您的应用程序。您可以通过提供一个Canvas
URL来填充画布,该URL包含构成应用程序的HTML,JavaScript和CSS。
当使用您的应用程序的用户请求Canvas页面时,我们会在该页面上的iframe中加载
Canvas URL。这导致您的应用程序
显示在标准的Facebook chrome中。
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?
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.
这篇关于如何在Facebook应用程序中添加画布和安全的画布URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!