fb:photo not working even after using new JS SDK

May 24, 2010 at 6:59 AM


I got my connect site working with fb:login-button and other fbml


When displaying "Albums" of the user, I use FBML <fb:photo pid=""></fbml>,where pid is PhotoAlbumSchema.cover_pid ,  The FBML is not rendered.

when checked the wiki and new doc it says 

pid <tt>string</tt> An API-supplied pid of the photo. The pid cannot be longer than 50 characters. (The use of a pid found in the query string of a photo URL on Facebook is deprecated.)

What does this mean. what should I change

Please do help,

Jun 10, 2010 at 4:42 PM
I'm having a similar problem:

My app passes the following fbml to Facebook:
<fb:photo pid="3553657770379389796" size="thumb" />

However, for some reason the photo is not rendered and no error is returned...
Jun 10, 2010 at 5:23 PM
Ok the problem was the app didn't have the correct permissions for the user. I needed to request the "user_photos" permission and that fixed this issue for me. Hope it helps you too.
Jun 11, 2010 at 7:44 AM

I do have user_photos permission. still.....

I noticed you are passing size = "thumb". Where as I am passing "t". I need to try this