How to Use FBML to Display Your Profile Photo on a Custom Facebook Fan Page
On custom Facebook pages images must exist nearly your own server (or somewhere else in financial credit to the internet) and associated to from the Facebook page code. The without help images that can be uploaded directly to Facebook are the logo for your lover page and the image used upon your profile page. FBML provides code that will draw your profile or logo characterize to your aficionado page for that footnote you don't have to member to it from a oscillate server. Here's how you make a benefit of it.
Do you know about Free URL Shortener?
The fbml tag is fb:profile-pic and looks following the associated to:
The only required attribute is uid. This is the ID number for the profile or lover page. Locating the UID is easier said than finished but, with this is Facebook ;-)
To profit the uid for your profile photo cumulative your photos savings account. Click upon any photo. In the residence bar in your web browser, the url will call off behind id=629152408. That number is the uid you use gone the fbml profile pic code. To obtain the uid for your follower page, click upon the logo. The url in the residence bar of your web browser will decline later id=84300445447. That number is the uid.
Please note that in the above examples I have used my own uid's. Your numbers will be every uncharacteristic. Other attributes for profile-pic are optional.
uid - the id number for the profile or devotee page (this is not optional)
size - the size of the image. Values can be thumb (50px broad), little (100px broad), recognized (200px broad), and square (50px by 50px). The default used is thumb is a size isn't specified. If you lack to set a specific size, use width and depth, which are listed asleep.
related - makes the image member to the adherent's profile. The default is genuine, which intimates to the page
width - sets the width of the image in pixels
summit - sets the peak of the image in pixels
Comments
Post a Comment