alright, so i have a like button from facebook.com on my download page and i would like the mp3s to be able to play in the facebook status. like when you like a mp3 on zippyshare or hulkshare.
how do you do this?
thanks!
XFileSharing Pro - Facebook mp3 play
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
Re: Facebook mp3 play
This is what I did, in main.html under regular meta data I added;RockDiz wrote:alright, so i have a like button from facebook.com on my download page and i would like the mp3s to be able to play in the facebook status. like when you like a mp3 on zippyshare or hulkshare.
how do you do this?
thanks!
<TMPL_IF song_url>
<meta property="og:title" content="<TMPL_VAR file_name> on YourSite.com" />
<meta property="og:description" content="<TMPL_VAR file_name> on YourSite.com" />
<meta property="og:audio" content="<TMPL_VAR site_url>/mp3embed-<TMPL_VAR file_code>.mp3" />
<meta property="og:audio:title" content="<TMPL_VAR file_name>" />
</TMPL_IF>
Re: Facebook mp3 play
ShareVolume wrote:This is what I did, in main.html under regular meta data I added;RockDiz wrote:alright, so i have a like button from facebook.com on my download page and i would like the mp3s to be able to play in the facebook status. like when you like a mp3 on zippyshare or hulkshare.
how do you do this?
thanks!
<TMPL_IF song_url>
<meta property="og:title" content="<TMPL_VAR file_name> on YourSite.com" />
<meta property="og:description" content="<TMPL_VAR file_name> on YourSite.com" />
<meta property="og:audio" content="<TMPL_VAR site_url>/mp3embed-<TMPL_VAR file_code>.mp3" />
<meta property="og:audio:title" content="<TMPL_VAR file_name>" />
</TMPL_IF>
yeah...
that didn't work for me, it shows the file info but it doesn't have the option to play the mp3 directly on faceboook. i think you need a fb app????
any help out there would be great
thanks!
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
I tried retyping those tags but now nothin shows up on face book when I click the like button. I've tried it on many new files and nothing shows up on facebook >_<ShareVolume wrote:Try going to a fresh file you have not previously shared. You don't need a FB app, just the correct meta tags. Sometimes Facebook cache's previously shared pages so even though you provided the correct meta tags the previous share is stored in the cache.
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
hrmm, what's the FB like button code you have?ShareVolume wrote:Thats weird. I own a handful of websites and use this on all of them, including a website running on xfilesharing pro.
this is what i have:
<iframe src="http://www.facebook.com/plugins/like.php?href=<TMPL_VAR site_url>/<TMPL_VAR file_code>&send=true&layout=standard&width=450&show_faces=false&action=like&colorscheme=dark&font&height=45" scrolling="no" frameborder="0" style=" padding-top:6px; border:none; overflow:auto; width:450px; height:35px;" allowTransparency="true"></iframe>
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
<iframe src="http://www.facebook.com/plugins/like.php?href=<TMPL_VAR download_link>&send=true&layout=standard&width=450&show_faces=false&action=like&colorscheme=dark&font&height=30" scrolling="no" frameborder="0" style=" padding-top:6px; border:none; overflow:auto; width:450px; height:30px;" allowTransparency="true"></iframe>
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
Hmm, I just checked out your site and everything seems to be set up right but like you said its not working. I cannot really find a reason why it is not working. Heres is documentation on it straight from Facebook, maybe it will help you.
https://developers.facebook.com/docs/opengraph/
https://developers.facebook.com/docs/opengraph/
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
I honestly don't use it, you can check out the source code I use on http://twitrax.com
-
- Posts: 11
- Joined: Jun 21, 2011 1:28 pm
Here is my filesharingpro example; http://sharevolume.com/cmrdgernkmes
ShareVolume wrote:I honestly don't use it, you can check out the source code I use on http://twitrax.com
you run twitrax with Arthur?? O_o
shoot, I'ma give it another shot then.........