Facebook 应用程序域设置
我们正在开发沙箱,试图为我们的网站设置类似 facebook 的按钮。像个白痴一样,我将沙箱 URL 设置为域名。问题是:一旦我这样做了,还有回头路吗?我尝试重置域,但似乎没有成功。
而且,这是一个相关的问题:如果我只是去制作一个“like”按钮(iFrame 版本),它会吐出一个 app_id 作为代码的一部分。如果该 app_id 未连接到带域的实际应用程序,那么在我们将其移至 QA 服务器然后投入生产后,它还能工作吗?或者,一旦我们在沙箱上进行了测试,将沙箱建立为它的域,然后我们回到开始的地方?
一旦代码进入质量检查阶段,我们就无法更改代码,这只是糟糕的形式......那么我该怎么办?
we were working on our sandbox trying to get the facebook like button set up for our site. Like an idiot, I set our sandbox URL as the domain. Here's the question: is there any going back once I've done this? I tried to reset the domain but it doesn't seem to have taken.
And, here's a related question: if i just go and make a like button (iFrame version) it spits out an app_id as part of the code. If that app_id isn't hooked up to an actual application w/domain, will it work after we move it to our QA server and then on to production? Or will it, once we've tested on our sandbox, establish the sandbox as it's domain and then we're back where we started?
We can't change code once it moves on to QA, it's just bad form...so what do I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看此链接:
一旦您设置了 og:url 属性,该属性是您的域的规范 url,同时也是您的画布 url,您将完成
以下示例:
Check out this link:
once you set up og:url property which is the canonical url of your domain at the same time your canvas url, you will be done
Here example: