This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Facebook Like Button help with Dreamweaver CS5?
04-28-2014, 04:45 AM
Post: #1
Facebook Like Button help with Dreamweaver CS5?
Hello all. I'm following these instructions http://developers.facebook.com/docs/refe...gins/like/ to add an XFBML like button to my website in Dreamweaver CS5. I paste the generated java code under my body heading and I paste my link in the location I want. Nothing shows where I paste the link, just an empty space. You probably need more information to troubleshoot this but can you try your best to give me a few suggestions on what I may be doing wrong. As always, I appreciate your help.

Ads

Find all posts by this user
Quote this message in a reply
04-28-2014, 04:51 AM
Post: #2
 
<!-- Facebook information -->
<meta property="og:description" content="Your slogan" />
<meta property="og:title" content="Your Title" />
<meta property="og:type" content="company" />
<meta property="og:url" content="Your business URL.html" />
<meta property="og:image" content="http://www.Your domain.com/img/logo.jpg" />
In your head section:

<meta property="og:site_name" content="Business title" />
<meta property="fb:admins" content="your #" />
<meta property="og:street-address" content="address" />
<meta property="og:locality" content="city" />
<meta property="og:region" content="state" />
<meta property="og:postal-code" content="zip" />
<meta property="og:country-name" content="USA" />
<meta property="og:email" content="email" />
<meta property="og:phone_number" content="phone #" />

in your page, preferrably tucked into its own td:

<div id="fb-root"></div><script src="http://connect.facebook.net/the URL;xfbml=1" type="application/javascript"></script><fb:like href="http://www.the URL.html" send="true" layout="button_count" width="100" show_faces="true" font=""></fb:like>

Facebook should be able to generate the meta tags for your head section and the javascript for your body section. Make sure you get those META tags. It sounds like you already got the javascript.

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)