Question

I'm creating my own Facebook button by using the following istructions:

http://www.kimwoodbridge.com/how-to-create-your-one-facebook-share-url/

However my title and meta-information is replaced by the information automatically fetched by Facebook.

In other words, the description I append using &t=<title of content>, is replaced by Facebook with the automatically retrieved page title.

How can I disable this ?

thanks

Was it helpful?

Solution

OK. How parameter &t works. If Facebook is unable to reach the page, then it will use the "t" parameter instead. So you’ll probably want to provide a "t" just in case there is a network problem when Facebook tries to connect.

In all other cases, Facebook will use your:

<meta name="title" content="your title" />
<meta name="description" content="your content" />

for thumb

<link rel="image_src" href="http://www.example.com/image.jpg" />

now ok?

OTHER TIPS

If I understood you well, you asked how to change the page title http://www.facebook.com/sharer.php?u=URL&t=TITLE

On your page, where you want to add facebook link, you can use:

<head>
<title>your title</title>
</head>
<body>
<a href="http://www.facebook.com/sharer.php?u=URL&t=TITLE" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>
</body>

and "your title" title, will appear.

When someone click on that link, browser redirect him to http://www.facebook.com/sharer.php?u=URL&t=TITLE page, and he isn't more on your web site. You can't change layout of facebook page, also can't change facebook title and others.

Only what you can do is to delete &t=TITLE. In this case:

<a href="http://www.facebook.com/sharer.php?u=URL" target="_blank">
<img src="http://www.example.com/exampleimage.jpg" /></a>

This does exactly what is needed to generate these buttons automatically and easily http://www.latestseotools.com/tools/socialbuttons-generator/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top