Facebook ID taglib ver. 1.1


    Custom JSP tags library for developing Facebook mashups. Lets you obtain ID from any Facebook related URL (name) or show profile images for the given ID. For example:
 


<%@ taglib uri="taglib.tld" prefix="f" %>

<f:FbID>zuck</f:FbID>

<f:FbProfileImage>4</f:FbProfileImage>

and you will get this:
 

4

Tags are:

FbID

Body tag lets you obtain ID for Facebook profile. Tag's body provides either Facebook name or any URL from Facebook. Attributes are:

1) id Optional attribute. Describes a name for a page scope variable (type is java.lang.String) with ID. Without this parameter tag simply prints data.

FbProfileImage

Body tag lets you show image from the Facebook profile. Tag's body describes an ID. Attributes are:

1) size Optional attribute. Describes a size for the image. Possible values are large or small. default value is large.
2) alt Optional attribute. Describes an alt attribute.
3) className Optional attribute. Describes a CSS class.
4) style Optional attribute. Describes a CSS style.

for downloading:

Library: facebookidtag.jar    Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: