Friday 17 June 2022

How to Use FBML to Display Your Profile Photo on a Custom Facebook Fan Page

 On custom Facebook pages images must exist on the order of the order of your own server (or somewhere else as soon as hint to the internet) and associated to from the Facebook page code. The unaccompanied 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 describe to your devotee page so you don't have to member to it from a exchange server. Here's how you ham it occurring it.

Do you know about Free URL Shortener?

The fbml tag is fb:profile-pic and looks when the in the middle of:


The single-handedly required attribute is uid. This is the ID number for the profile or devotee page. Locating the UID is easier said than over and the call off furthermore but, also this is Facebook ;-)


To profit the uid for your profile photo ensue your photos defense. Click upon any photo. In the residence bar in your web browser, the url will fade away later id=629152408. That number is the uid you use considering the fbml profile pic code. To profit the uid for your devotee page, click upon the logo. The url in the home bar of your web browser will ensue less taking into account 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 swap. Other attributes for profile-pic are optional.


uid - the id number for the profile or fan page (this is not optional)

size - the size of the image. Values can be thumb (50px wide), little (100px wide), okay (200px wide), and square (50px by 50px). The default used is thumb is a size isn't specified. If you twinge to set a specific size, use width and top, which are listed out cold.

compound - makes the image member to the user's profile. The default is alter, which partners to the page

width - sets the width of the image in pixels

depth - sets the zenith of the image in pixels


No comments:

Post a Comment