CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Using OpenGraph / Facebook in Perl


New User

Nov 29, 2011, 8:37 AM

Post #1 of 1 (1817 views)
Using OpenGraph / Facebook in Perl Can't Post


I'm not sure if it is a big issue or not, but I'm trying to integrate OpenGraph / Facebook in my Perl-Page to enable
a "Like" Button which "provides" the correct data of my page like title, image etc. To make that sure I've read that
I have to use the OpenGraph Tags like<meta property="og:title" content="Smith hails 'unique' Wable legacy" /> <meta property="og:description" content="John Smith claims beautiful football is the main legacy of Akhil Wable's decade at the club. " /> <meta property="og:image" content="" />

But that's not all. I also have to use this kind of header and that is my problem:

<html xmlns=""

I'm using CGI.PM and the "header" function to create the following header: <html xmlns="" lang="en-US" xml:lang="en-US">
How can I tell Perl / CGI.PM to create a header like Facebook expect? Currently my Perl-Code looks like this print header(),
start_html(-title=>"$HTMLTitle", . . . Can anyone help me? Thank you very much Manuel


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives