如何在 Dreamweaver MX v6.0 设计的网站上放置“赞”框/按钮?

发布于 2024-12-01 10:51:08 字数 475 浏览 1 评论 0原文

基本上我想在网站上放置一个“喜欢”按钮,以便该网站的粉丝可以喜欢该网站的 Facebook 页面。

当我单击按钮时,“赞”按钮页面不会提供代码,只是显示“只有经过验证的开发人员才能添加为此应用程序的列出开发人员。有关详细信息,请参阅 www.facebook.com/help/?faq=17580”。这是一个常见错误吗?

编辑:现在使用“赞”框,但更喜欢“赞”按钮。 点赞框页面为我提供了 iframe 和 XFBML 代码。抱歉,我是一名 n00b,但我如何将其中任何一个添加到我的网站上?我试过插入>使用所有四种脚本类型(Javascript、JS 1.1、JS 1.2 和 VBScript)编写脚本并将其粘贴到那里,但它们不会在预览中显示。将代码放在页面底部的“返回顶部”按钮下。当我查看在线版本的代码视图时没有显示? 希望它确实简单明了,但任何帮助都会很棒。 同样,网站是使用 Dreamweaver MX 6.0 设计/更新的。

Basically i'd like to put a like button on the website so that fans of the site can like the websites Facebook page.

The Like button page doesn't give me the code when i click the button, just says "Only verified developers can be added as listed developers of this application. Read www.facebook.com/help/?faq=17580 for details." Is this a common error, or?

EDIT: Using Like box now, but would prefer Like button.
And the like box page gives me the iframe and XFBML codes. Sorry for being a n00b, but how do i add either one onto my site? I've tried Insert > Script and pasted it in there, using all four script types (Javascript, JS 1.1, JS 1.2 and VBScript but they don't show in the preview. Placed the code under the 'back to top' button at the bottom of the page. Not showing up when i look at code view of the online version though?
Hopefully its something really easy and obvious, but any help would be great.
Again, site is designed/updated with Dreamweaver MX 6.0.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

满天都是小星星 2024-12-08 10:51:08

我没有太多使用 Dreamweaver 的经验 - 但实现 facebook 社交插件(例如“赞”按钮)非常简单。您所要做的就是复制并粘贴从此链接生成的 XFMBL 。将 URL 粘贴到“喜欢的 URL”字段并单击“获取代码”后,您应该会获得要使用的正确代码...
您可以将此代码放置在您希望它出现的任何位置 - 如果您希望“赞”按钮位于页脚中,只需将其粘贴到那里...
该代码片段实际上加载了 facebook javascript sdk 并将您的点赞按钮放置在页面上的 iframe 内...
您不能将“赞”按钮代码放在不同的元素中 - 如果可能的话,人们可以通过在按钮上写一些不同的标签来欺骗您喜欢他们的页面 - 例如。 “返回顶部”:)

这应该相对简单地实现。如果您仍然遇到困难 - 为什么不尝试打开一个仅包含所需 HTML 标签和类似按钮代码的新 HTML 文件...

希望这会有所帮助!
祝你好运!

I dont have that much experience with Dreamweaver - but implementing the facebook social plugins (eg. Like button) is very simple. All you have to do is copy and paste the XFMBL you generate from this link. Once you paste your URL into the "URL to Like" field and click "get code" you should get the correct code to use...
You place this code wherever you want it to appear - if you want the like button to be in the footer just paste it there...
The code snippet actually loads the facebook javascript sdk and places your like button inside an iframe on your page...
You can not place the like button code inside a different element - if that were possible people could trick you into liking their page by writing some different label on the button - eg. "Back to top" :)

This should be relatively simple to implement. If you are still having dificulties - why not try opening a new HTML file containing only the required HTML tags and the like button code...

Hope this helps!
Good luck!

浮云落日 2024-12-08 10:51:08

出现错误是因为,就像消息中所说的那样,您不是经过验证的开发人员。
为了成为经过验证的 Facebook 开发者,您需要一个经过验证的 Facebook 帐户,并具有信用卡或电话号码验证。

如果您打算使用更多 Facebook 的插件和应用程序,我建议您尽快验证您的帐户,因为这样您就可以完全访问他们的开发人员工具

The error appears because, just like it says in the message, you are not a verified developer.
In order to be a verified Facebook developer, you need a verified Facebook account, with a credit card or a phone number verification.

I'd suggest you verify your account as soon as you can if you plan to use more of Facebook's plugins and apps, since it will give you full access to their developer tools

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文