XFileSharing Pro - Facebook mp3 play

Message
Author
RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

Facebook mp3 play

#1 Postby RockDiz » Jun 14, 2011 11:00 pm

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!

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

Re: Facebook mp3 play

#2 Postby ShareVolume » Jun 21, 2011 1:30 pm

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!
This is what I did, in main.html under regular meta data I added;

<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>

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

Re: Facebook mp3 play

#3 Postby RockDiz » Jun 26, 2011 2:13 pm

ShareVolume wrote:
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!
This is what I did, in main.html under regular meta data I added;

<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 :D
thanks!

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#4 Postby ShareVolume » Jun 26, 2011 4:19 pm

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.

amator
Posts: 72
Joined: Dec 01, 2010 6:51 pm

#5 Postby amator » Jul 04, 2011 11:49 am

Hey Alex / Support - it is possible to do with your script?

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#6 Postby RockDiz » Jul 05, 2011 8:32 pm

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.
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
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#7 Postby ShareVolume » Jul 06, 2011 12:10 am

Thats weird. I own a handful of websites and use this on all of them, including a website running on xfilesharing pro.

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#8 Postby RockDiz » Jul 06, 2011 9:13 pm

ShareVolume wrote:Thats weird. I own a handful of websites and use this on all of them, including a website running on xfilesharing pro.
hrmm, what's the FB like button code you have?
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>

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#9 Postby ShareVolume » Jul 07, 2011 2:48 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>

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#10 Postby RockDiz » Jul 07, 2011 8:30 pm

yeah it still doesn't workk..... :'(

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#11 Postby ShareVolume » Jul 07, 2011 9:22 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/

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#12 Postby RockDiz » Jul 07, 2011 10:15 pm

you think it might need this?

<meta property="fb:admins" content="USER_ID"/>

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#13 Postby ShareVolume » Jul 07, 2011 10:16 pm

I honestly don't use it, you can check out the source code I use on http://twitrax.com

ShareVolume
Posts: 11
Joined: Jun 21, 2011 1:28 pm

#14 Postby ShareVolume » Jul 07, 2011 10:17 pm

Here is my filesharingpro example; http://sharevolume.com/cmrdgernkmes

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm

#15 Postby RockDiz » Jul 08, 2011 4:25 pm

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.........