How to Add a Small Facebook Link to Your Website
One way to share your Facebook page is to make it visible to everyone on the Internet. You can do this by adding a link to your Facebook profile on your website. Some Facebook users who have personalized Facebook names can see their Facebook URLs when they visit their profile pages, while others cannot. You can extract the URL from your Facebook badge and use it to embed a small Facebook link on your website that consists of nothing but text.
Instructions
-
-
1
Visit the Facebook Badges Web page and click "Profile Badge." If the site asks you to log in to Facebook, enter your log-in information in the text boxes provided, then click "Log In." The Profile Badges" page opens.
-
2
Click the "Other" button located on the right side of the page. A text box containing HTML code will appear below the button.
-
-
3
Copy that code, then launch Notepad or any HTML editor.
-
4
Locate the document's "body" section, and paste the code into that section where you want the Facebook link to appear.
-
5
Find the text that begins with "<a href =" in the code you pasted. It will look similar to this:
<a href=http://www.facebook.com/people/John_H_Doe/1213355284>
This is a simple HTML anchor tag. It contains the URL of your Facebook profile. In this example, that URL is "http://www.facebook.com/people/John_H_Doe/1213355284." Everything between the quotes after the word "href=" is the URL to your Facebook profile page.
-
6
Copy the URL text that appears between the quotes. Paste the code shown below into another part of the document's body section:
<a href="PASTE URL HERE">Visit My Facebook Page</a>
Replace "PASTE URL HERE" with the URL you copied, then delete the code you added in the previous step. The code in the previous step generates a large badge containing your Facebook image and other formatted text. By deleting that code and keeping the code created in this step, you produce a small link containing nothing but the words "Visit My Facebook Page" in it.
-
7
Save the document and view it in your browser. Click the "Visit My Facebook Page" link that appears on the Web page to visit your Facebook profile page.
-
1
Tips & Warnings
Change the string "Visit My Facebook Page" to anything you like. This is nothing but descriptive text that does not affect the way the link works. You can also share the URL you copied with others by pasting it into an Email message.