tags:

views:

24

answers:

0

I am building an app for a client that is a Flash based MP3 player. I would like users to be able to load and share the app with in the facebook news feed just like they do with the Youtube player (witch is a swf).

I have read all the documentation on how to do this and have set up a .php file that has all the vars needed for loading.

One problem that I am running into is that when the link is shared I do not get the icon that actually loads the swf into the feed. Rather it navigates to the shared link page.

I noticed that you have to get your domain white listed by facebook. The client that I am testing for already has there domain white listed as they have another app that loads into the facebook feed just fine.

Here is the code that I am using.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"&gt;
<head><meta content="text/html;charset=UTF-8" http-equiv="content-type" />
        <title>Awesome sharing music app</title>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <meta name="title" content="title goes here" /> 
        <meta name="description" content="description goes here" /> 
        <link rel="image_src" href="http://myclienturl.com/main.png" /> 
        <link rel="video_src" href="http://myclienturl.com/main.swf"/&gt;
        <meta name="video_height" content="120" /> 
        <meta name="video_width" content="320" /> 
        <meta content="application/x-shockwave-flash" name="video_type" />

</head>
<a name="fb_share" href="http://www.facebook.com/sharer.php?u=http://mydomainname.com/wherepageishosted/"&gt;&lt;/a&gt; <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</html>

The important thing to note is the share.php page is hosted on my domain and I am pulling the swf from the clients domain. In theory this should work. I think?

Anyone have any thoughts or solutions for me to try?