Please refer to my tutorial on adding Static FBML to your Facebook Fan Page for details on adding Static FBML to your Facebook Fan Page. This tutorial shows you how to add a Flickr slideshow, created from one of your “Sets” in your Flickr account, to a Static FBML Application Tab.
PLEASE NOTE: If you can’t get it working, make sure:
- The URLs to both the activation image (imgsrc) and the slideshow are correct. You can test them by pasting the URL into your browsers address bar and accessing the image or video channel directly. If you can’t access them via this method, your URL is incorrect.
- You have closed the <fb:swf> tag, with </fb:swf>. If the tag isn’t closed, it won’t work.
- All quotes are closed. It doesn’t matter if they’re single (‘) or double (“), but they must match and they must be closed (width=’xxx’ or width=”xxx” – NOT width=’xxx or width=”xxx or width=”xxx’ ).
Embedding your Flickr Slideshow in Static FBML
Embedding a Flickr Slideshow / Set in your Facebook Static FBML Application Tab is fairly straightforward. Here’s how it’s done:
Create a Flickr Set
If the Set that you want to be the slideshow is already created, skip to Step 4. If you need to first create the Set that will be the Flickr slideshow…
After logging in to your Flickr account….
1) Click on “Organize & Create”:


2) Drag the photos you want in the “set” to the canvas area. When you have added all the pictures you want to have in this Set, click “Add to Set” and select “New Set”.

3) Give the new set a name:

and then click the blue “Save” button:

You will be returned to a screen that shows all your sets.
4) Click on the name of the Set you just created, or the one you want to be the slideshow.
On the left side, at the bottom click on “Open set page”:

On the next screen, click on “Slideshow” in top right area:

Click the “Share” button:

You will see a screen in the upper left:

Under “Grab the Embed HTML” click “Copy to clipboard.”
Creating the FBML Code for your Flickr Slideshow
The code copied to your clipboard will look similar to this:
<object width="400" height="300"> <param name="flashvars" value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2Fshow%2F&page_show_back_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2F&set_id=72157623420342861&jump_to="></param> <param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param> <param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&lang=en-us&page_show_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2Fshow%2F&page_show_back_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2F&set_id=72157623420342861&jump_to=" width="400" height="300"></embed></object>
From that code you want to extract values to place in the FBML to embed the slideshow in your Static FBML page. The above code, when rendered in your FBML, will look like this:
<fb:swf
swfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc='http://www.flickr.com/apps/slideshow/show.swf?v=71649'
imgsrc='http://URL-TO-ACTIVATION-IMAGE' width='400' height='300'
flashvars='offsite=true&lang=en-us&page_show_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2Fshow%2F&page_show_back_url=%2Fphotos%2F42973480%40N05%2Fsets%2F72157623420342861%2F&set_id=72157623420342861&jump_to=' width='400' height='300'
/>As you can see, you’re just copying into the FBML tag fb:swf the values for the URL to the .swf object, the dimensions, and the “flashvars”.
“URL-TO-ACTIVATION-IMAGE” is the image that must be uploaded to a Web-accessible server that is clicked to enable the slideshow.
Take this code and paste it into your Static FBML box.



#1 by mark hadden - March 19th, 2010 at 13:16
Hey
I tried this today and cant get it to work on firefox at all. The slideshow works in IE and Safari but not firefox. I also cant get the first image, which is based on my fliuckr page, to display in any browser. Any ideas?
here is the link: any help appreciated.
http://www.facebook.com/pages/Mark-Hadden-Photography/293595711387?v=app_4949752878&ref=ts
mark
#2 by admin - March 19th, 2010 at 13:53
I’m seeing your slideshow with Firefox on Mac (v 3.5.8). I also checked Firefox on XP and Vista and your slideshow works just fine.
#3 by Jan Cibulka - April 1st, 2010 at 17:35
Hi, I have the same problem too, the first “activation image” did not show…
#4 by Kawhshalya Herath - March 30th, 2010 at 01:13
I think you still haven’t noticed but there must be a correction.
“Grab the Embed URL” must be replace with “Grab the Embed HTML”
thanks for your posts here.they really helped me a lot! i owe you a beer!
#5 by admin - March 30th, 2010 at 07:02
Oops! Thanks for the heads-up on the typo! I think we’re even.
#6 by Drew Templeton - April 6th, 2010 at 13:40
I tried to get this to work but haven’t been able to have any luck. The image shows up but when you click on it nothing happens..Here’s a link to my Facebook and to my code that I embedded. Any help would be appreciated.
Faceboo- http://www.facebook.com/pages/Chicago-IL/Grind-Online-Paintball-Magazine/219038770629?v=app_4949752878&ref=ts
#7 by timware - April 7th, 2010 at 08:01
Drew: No code, so I can’t help. Make sure to surround code in the <code>…</code> tags.
#8 by Charlie - April 10th, 2010 at 18:01
Anyone know how to embed a slide.com slideshow using static FBML?
#9 by timware - April 11th, 2010 at 09:40
Most Web services that host videos and photos offer a means to embed your videos/photos in Web pages. You just need to get the embed code and then utilize the same FBML tag – <fb:swf> – to embed in your Static FBML page, using the instructions here.
#10 by Kawshalya Herath - April 21st, 2010 at 19:25
I’ve made my FBML fan page for Kursk State Medical University!
also include a slide from photobucket! it works 100%.
http://www.facebook.com/pages/Kursk/Kursk-State-Medical-University/268845056776?v=app_4949752878
#11 by John - July 7th, 2010 at 12:38
Kawshalya,
Any chance you could share the code you used to do your photobucket slide show? I can figure it out for flickr, but much prefer the look of the photobucket product.
#12 by timware - July 8th, 2010 at 17:57
I’ve created a tutorial on how to embed a Photobucket slideshow in a Static FBML tab. Check it out!
#13 by Chris - April 22nd, 2010 at 05:27
I tried do make an Slideshow with a Group. But i get the error message that flickr isn’t find pictures. What is the Problem?
#14 by timware - April 22nd, 2010 at 07:25
As clearly stated in my post about Static FBML, you can add FBML (via the Static FBML app) to fan pages ONLY. Sorry.
#15 by John Nordell - April 29th, 2010 at 13:28
Hyperarts – Thanks so much. You did it again. I started with embedding a YouTube video on my FB page Welcome Tab. Today, I added a Flickr Slideshow. Thank you. Thank you. – John
http://www.facebook.com/johnnordell?v=app_4949752878
#16 by Alexandra - May 14th, 2010 at 04:16
URL-TO-ACTIVATION-IMAGE” is the image that must be uploaded to a Web-accessible server that is clicked to enable the slideshow.
I have tried everything to put in the imgsrc tag, but nothing seems to work. Not sure what I’m doing wrong?
#17 by timware - May 14th, 2010 at 07:53
I can’t provide any help if you don’t provide the code you’re using.
#18 by StrategicGuru - May 14th, 2010 at 13:32
I’m trying to get the following slideshow from Flickr to work on our facebook page:
<fb:swfswfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc='http://www.flickr.com/apps/slideshow/show.swf?v=71649'
imgsrc='http://strategicguru.com/wp-content/uploads/2010/05/play.jpg' width='500' height='375'
flashvars='offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fstrategicguru%2Fshow%2Fpage_show_back_url=%2Fphotos%2Fstrategicguru%2F&user_id=34027962@N02&jump_to=' width='500' height='375'>
</fb:swf>
Here’s the link to the fan page: http://www.facebook.com/pages/Cary-NC/Strategic-Guru/79482840712?
#19 by timware - May 14th, 2010 at 13:41
I see the activation image, but the URL (swfsrc) you’re using is the URL in my example! Needless to say, it should be the URL to *your* Flickr gallery/slideshow. Everything else in your code seems specific to your slideshow, but that URL?
#20 by StrategicGuru - May 17th, 2010 at 06:18
I checked the Flickr embed code again and this is the regular html from there:
<object width="400" height="300"> <param name="flashvars" value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fstrategicguru%2Fshow%2F&page_show_back_url=%2Fphotos%2Fstrategicguru%2F&user_id=34027962@N02&jump_to="></param> <param name="movie" value="http://www.flickr.com/apps/slideshow/show.swf?v=71649"></param> <param name="allowFullScreen" value="true"></param><embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/slideshow/show.swf?v=71649" allowFullScreen="true" flashvars="offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fstrategicguru%2Fshow%2F&page_show_back_url=%2Fphotos%2Fstrategicguru%2F&user_id=34027962@N02&jump_to=" width="400" height="300"></embed></object>It looks like Flickr uses the same URL (swfsrc) but different flashvars?
#21 by timware - May 17th, 2010 at 10:42
Hah! That does seem to be the case.
#22 by StrategicGuru - May 18th, 2010 at 09:38
Any thoughts on why the swf isn’t showing up on our facebook page?
#23 by timware - May 18th, 2010 at 10:26
StrategicGuru: The reason is your “flashvars” value is not copied exactly. In this part:
%2Fpage_show_back_url
there’s a missing “%” after the “%2F”
that’s your problem.
#24 by StrategicGuru - May 18th, 2010 at 12:28
It’s working now! Thanks for the help!
#25 by philippe - May 19th, 2010 at 15:24
sorry
<fb:swf
swfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc='http://www.flickr.com/apps/slideshow/show.swf?v=71649'
imgsrc='http://www.flickr.com/photos/phunziker/sets/72157623972222189/show/with/4615517403/' width='400' height='300'
flashvars='offsite=true&lang=en-us&page_show_url=%2Fphotos%2Fphunziker%2Fsets%2F72157623972222189%2Fshow%2F&page_show_back_url=%2Fphotos%2Fphunziker%2Fsets%2F72157623972222189%2F&set_id=72157623972222189&jump_to=' width='400' height='300'
/>
#26 by timware - May 19th, 2010 at 16:02
Your “imgsrc” link goes to your slideshow! You need it to point to an image — .gif, .jpg, .png.
#27 by philippe - May 19th, 2010 at 16:38
Fantastic! Thank you so much!
#28 by Alexandraa - May 27th, 2010 at 13:05
Sorry forgot to include…
Here is the original:
[ EMBED SOURCE CODE DELETED]
New code:
<fb:swfswfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc=http://www.flickr.com/apps/slideshow/show.swf?v=71649
imgsrc=http://www.flickr.com/photos/50643297@N08/sets/72157624149168348/show/ width='400' height='300'
flashvars="offsite=true〈=en-us&page_show_url=%2Fphotos%2F50643297%40N08%2Fsets%2F72157624149168348%2Fshow%2F&page_show_back_url=%2Fphotos%2F50643297%40N08%2Fsets%2F72157624149168348%2F&set_id=72157624149168348&jump_to=" width="400" height="300"/>
#29 by timware - May 27th, 2010 at 13:20
You don’t have quotes around the values for swfsrc or imgsrc. And the URL for the imgsrc isn’t pointing to an image, and it has to do that. All this was made clear in this post. You should read it carefully. Less wasted time for all of us
#30 by Epicure on a Budget - June 6th, 2010 at 16:20
Hi,
I have put this code iin my FBML editor on my Facebook Page
<fb:swfswfbgcolor="000000"
imgstyle="border-width:3px; border-color:white;"
swfsrc='http://www.flickr.com/apps/slideshow/show.swf?v=71649'
imgsrc='http://farm5.static.flickr.com/4069/4667260196_784ff99c78_b.jpg' width='400' height='300'
flashvars" value="offsite=true&lang=en-us&page_show_url=%2Fphotos%2F49278946%40N06%2Fsets%2F72157624100193328%2Fshow%2F&page_show_back_url=%2Fphotos%2F49278946%40N06%2Fsets%2F72157624100193328%2F&set_id=72157624100193328&jump_to=' width='400' height='300'
/>
The image shows up but no slideshow!
Can you tell me what I am doing wrong?
#31 by timware - June 6th, 2010 at 16:31
Well, your “swfsrc” doesn’t appear to point to a slideshow. I tested the link in a browser and it turns up a black page. So you did something wrong there. You should read the instructions here more carefully.
And what’s this:
flashvars” value=”
That mistake will bring you no happiness, my friend. Read carefully, always. Everyone’s troubles here have to do with either a bad swfsrc URL, or some sloppiness in the code, or the presence of “fancy” quotes instead of straight-up-and-down plain text quotes.
#32 by Epicure on a Budget - June 6th, 2010 at 23:33
OK, thanks. I will try this. I am completey new to all of this stuff
#33 by Epicure on a Budget - June 6th, 2010 at 23:42
As far as the link to the slideshow goes..this is the html code I copied to my clip board exactly as you instructed:
The link to the slideshow from this is:
http://www.flickr.com/apps/slideshow/show.swf?v=71649
But, as you said it is going to a blank page when put in the browser. I don’t understand why.
#34 by Epicure on a Budget - June 7th, 2010 at 00:03
ah! It’s working now!
Thank you, Tim
#35 by Karen - June 17th, 2010 at 05:44
I uploaded a picture of an arrow to photobucket and used that. When I go in I get a big blank square with a small x in the left corner, but if I click on it, the slideshow works fine. Here is my code
#36 by timware - July 29th, 2010 at 18:58
You need to create the complete activation image, not just the arrow. The “small x” would indicate that the URL to your activation image is incorrect. Remember that URLs are case sensitive after the TLD (yourdomain.com).
#37 by Anna - July 29th, 2010 at 04:20
Hi,
just found a problem on my FBML Tab regarding the CSS. On IE8 it seems like the animated table isn’t working when you’re logged out of Facebook. Instead of having each Tab in the table showing up by clicking on it, they’re just underneath each other. When you however refresh the page (still not logged in) it works fine.
I tried it several times also on different computers and also included your style type=”text/css” code. Still doesn’t work.
This is the tab I’m talking about: http://www.facebook.com/SIGMAFoto?v=app_7146470109
Do you have any ideas why it isn”t working?
Thanks so much for your help!!!
Cheers, Anna
#38 by timware - July 29th, 2010 at 19:00
How are you creating the slide effect? Can I see code?