473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

How to display description, title and image for Facebook sharing via meta tags ?

108 100+
This page is suposed to display a title ,description and image as I press the Compartir de facebook.I've used meta tags for the purpose ..However, they are not displayed. Anyone could guide me on how to make this work?

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#"
  3.       xmlns:fb="https://www.facebook.com/2008/fbml"
  4.      >
  5. <head>
  6.         <meta property="og:title" content="Smith hails 'unique' Wable legacy" /> 
  7. <meta property="og:description" content="John Smith claims beautiful football 
  8.             is the main legacy of Akhil Wable's decade at the club. " /> 
  9. <meta property="og:image" content="http://www.onjd.com/design05/images/PH2/WableAFC205.jpg" />
  10.          <meta property="og:video" content="http://example.com/awesome.swf" />
  11.         <meta property="og:video:height" content="640" />
  12.         <meta property="og:video:width" content="385" />
  13.         <meta property="og:video:type" content="application/x-shockwave-flash" />
  14.         <meta property="og:video" content="http://example.com/html5.mp4" />
  15.         <meta property="og:video:type" content="video/mp4" />   
  16.         <meta property="og:video" content="http://example.com/fallback.vid" />
  17.         <meta property="og:video:type" content="text/html" />
  18.  
  19. <title>Untitled Document</title>
  20.  
  21. <a name="fb_share" type="icon_link" 
  22.    share_url="YOUR_URL">Compartir en Facebook</a> 
  23. <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"
  24.         type="text/javascript">
  25. </script>
  26. </body>
  27. </html>
Sep 20 '11 #1
3 4203
Rabbit
12,516 Expert Mod 8TB
It would help to see the code you're using.
Sep 20 '11 #2
phpuser123
108 100+
Just a look at this link : jsfiddle.net/ZShEM
Sep 20 '11 #3
Rabbit
12,516 Expert Mod 8TB
I don't like to visit sites I haven't heard of, could you post the code here?
Sep 20 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

19
by: Christian Hvid | last post by:
Hello groups. I have a series of applet computer games on my homepage: http://vredungmand.dk/games/erik-spillet/index.html http://vredungmand.dk/games/nohats/index.html...
2
by: scorp7355 | last post by:
I was wondering if there is some other way to turn autocomplete off besides using "autocomplete=off", using a meta tag or something similar. It would be great if there is some way to turn it off...
4
by: Tim::.. | last post by:
Can someone please tell me why the following dynamic refresh doesn't work! Thanks Inline code... <!----- dynamically filled META REFRESH element -----> <meta id="mtaRefresh" runat="server" />...
21
by: karen987 | last post by:
I have a news website, with asp pages. It has publishing software which allows you to add articles in a database, and then calls them up from links etc. I have added dynamic meta tags in 2 parts. The...
4
by: karen987 | last post by:
I want to draw out records from the database, and use them in my meta tags. I only want to use one record, which is called "TITLE", and i want to use this in the "title", "keywords", and...
6
by: docbook.xml | last post by:
I have the following in the XHTML 1.0 Strict page: <meta http-equiv="Content-Type" content="text/html;charset=utf-32" /> However W3 validator complains that "The character encoding specified in...
2
by: BASSPU03 | last post by:
I used the Common Dialog API to store file paths on my form's underlying table. These paths are displayed in a textbox that I can click to open the selected file. Having stored the file paths in...
2
by: ranjeshh | last post by:
How do I display a jpeg image using c..Please gude me as I m new to image processing..I would appreciate if someone could give me a working code with explanation
7
by: rinsa | last post by:
hi..i have a database named abc and a table named xyz.....in the table i have fields such as id no:,name,address,profession...i need one more field that displays the image of the person along with...
2
by: santhanalakshmi | last post by:
Hi, I am running Apache and the Active Perl. In Apache, CGI folder, i had one JPEG image. I wants to display this JPEG image in my browser as the header. use CGI qw(:all); print...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.