+ Start a Discussion
jpizzalajpizzala 

Generated Facebook FBML not displaying pid for photo tag

I am trying to display Facebook images on a test page and noticed that the generated <fb: photo/> tags were missing the pid attribute.  In looking at the fbComponentController class, I noticed that the following was currently in place:

Code:
<apex:attribute name="pid" type="String" assignTo="{!pid}" required="true"
description="An API-supplied pid of the photo, or any pid found in the query string of a photo URL on Facebook." />

However, the fbPhoto component was assigning the pid value to f_pid.  In changing the fbComponentController to the following, the pid was appropriately output in the generated html (or fbml):

Code:
<apex:attribute name="pid" type="String" assignTo="{!f_pid}" required="true"
description="An API-supplied pid of the photo, or any pid found in the query string of a photo URL on Facebook." />

Is this a bug or am I misinterpreting the relationship between the class and component?