Be a Supporter!

Meta Tags & Facebook

  • 455 Views
  • 2 Replies
New Topic Respond to this Topic
Fallin-Again
Fallin-Again
  • Member since: Aug. 24, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Meta Tags & Facebook 2011-11-02 12:09:20 Reply

Hey guys, yesterday I started doing the meta tags for open graphics on facebook to show a default image, and to load videos when shared. The problem is when I share a video it wont play (right clicking says the video failed to load). The general URL i try to share for testing is http://www.ividsonline.com/videop/1 . Here is my code:

<meta property="og:image" content="http://www.ividsonline.com/<?php echo($pic_link); ?>"/>
<meta property="og:title" content="<?php echo($artist.' - '.$title); ?>"/>
<meta property="og:type" content="movie"/>
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video" content="<?php echo($full_link); ?>" />
<meta property="og:video:width" content="640" />
<meta property="og:video:height" content="360" />

yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea yea

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to Meta Tags & Facebook 2011-11-02 20:41:08 Reply

I guess we're not familiar with Facebook integration here. I mean, not that familiar. Explain some more, give us some links etc

Astronomic
Astronomic
  • Member since: Nov. 3, 2011
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to Meta Tags & Facebook 2011-11-04 05:23:20 Reply

http://developers.facebook.com/docs/open graph/

At the very bottom it covers how to integrate video.

If everything checks out there, check how you're handling the video code.