How to add canvas and secure canvas URL in Facebook application

心已入冬 提交于 2019-12-23 09:35:06

问题


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?


回答1:


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.




回答2:


Click add Platform and then you can add your canvas url and secure canvas url.



来源:https://stackoverflow.com/questions/21362242/how-to-add-canvas-and-secure-canvas-url-in-facebook-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!