SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Facebook like button will not display my page title!!!

    For some reason my page title will not display correctly, only the default page title I am just getting this



    (visit http://www.clearcreekvillas.com/meadgate.PNG )

    The facebook code I am using is as follows:

    <head>
    <!-- Facebook Code Start-->
    <meta property="og:title" content="<?php echo mysql_result($result, 0, 'Title'); ?> - <?php echo mysql_result($result, 0, 'Forname'); ?> <?php echo mysql_result($result, 0, 'Surname'); ?>" />
    <meta property="og:type" content="non_profit" />
    <meta property="og:url" content="http://www.meadgatechurch.org.uk/admin/lander.php?dllike=103&sndmbr=<?php echo $_REQUEST['sndmbr']; ?>" />
    <meta property="og:site_name" content="Meadgatechurch.org.uk" />
    <meta property="og:image" content="../images/<?php if ($rows2==0){ echo "cross.jpg"; } else { ?><?php echo mysql_result($result2, 0, 'Image');?><?php } ?>" />
    <meta property="fb:admins" content="511026980" />
    <!-- Facebook Code End-->
    </head>

    <body>
    <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=222842624408511&amp;xfbml=1"></script><fb:like href="http://www.meadgatechurch.org.uk/admin/lander.php?dllike=103&sndmbr=<?php echo $_REQUEST['sndmbr']; ?>" send="true" width="450" show_faces="false" font="arial"></fb:like>
    </body>

    I cannot see where I am going wrong as this code is working perfectly elsewhere on my site

    Hope you can help

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Aug 2003
    Location
    Southern California
    Posts
    4,686
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    - Ted S


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •