How to pass a parameter like title, summary and image in a Facebook sharer URL


I need to pass my content like title, summary and image in a Facebook sharer URL like this:

 <a id="button"

The problem is it's automatically getting some content from the above mentioned URL (, and I don't know where my title and summary data are gone. Is there another way to share my custom title, summary and image via facebooksharer.php?


Looks like Facebook disabled passing parameters to the sharer.

We have changed the behavior of the sharer plugin to be consistent with other plugins and features on our platform.

The sharer will no longer accept custom parameters and facebook will pull the information that is being displayed in the preview the same way that it would appear on facebook as a post from the url OG meta tags.

Here's the URL to the post:

This works at the moment (Oct. 2016), but I can't guarantee how long it will last:[caption]&description=[description]&u=[website]&picture=[image-url]

The only parameter you need right now is ?u=<YOUR_URL>. All other data will be fetched from page or (better) from your open graph meta tags:

<meta property="og:url"                content="" />
<meta property="og:type"               content="article" />
<meta property="og:title"              content="When Great Minds Don’t Think Alike" />
<meta property="og:description"        content="How much does culture influence creative thinking?" />
<meta property="og:image"              content="" />

Example & description here

You can test your page for accordance in the debugger.

On the Developers bugs Facebook site, the last answer about that (parameters with sharer.php), makes me believe it was a bug that was going to be resolved. Am I right?

Ibrahim Faour · · Facebook Platform Team

Apologies for the inconvenience. We aim to update our external reports as soon as we get a resolution on issues. I do understand that sometimes the answer provided may not be satisfying, but we are eager to keep our platform as stable and efficient as possible. Thanks!

I've used the below before, and it has worked. It isn't very pretty, but you can alter it to suit your needs.

The following JavaScript function grabs the location.href & document.title for the sharer, and you can ultimately change these.

function fbs_click() {

            return false;


<a rel="nofollow" href="<;url>" onclick="return fbs_click()" target="_blank">
    Share on Facebook

It looks like this is what you could possibly be looking for: Facebook sharer title / desc....

Need Your Help

Windows Authentication not working on local IIS 7.5. Error 401.1

c# windows iis windows-authentication

I recently had a nasty issue getting Windows Authentication to work on a local instance of IIS 7.5 (Windows 7 Pro) to an 4.0 site. I followed the basic steps.

How do I disable the formatting symbols in eclipse?


I actually can't see anything because of all the formatting symbols. I have no idea what hotkey that was but I can't find any solution how to disable those symbols. Have you any idea if there is a ...