tdous tdous - 1 year ago 228
PHP Question

Has Facebook sharer.php changed to no longer accept detailed parameters?

We have been opening a sharing popup (via with the URL like[title]=EXAMPLE&p[summary]=EXAMPLE&p[url]=EXAMPLE&p[images][0]=EXAMPLE

and until some unknown point in the last month or so everything was fine.

What is happening now is; the popup dialog appears and correctly includes the Title, Description, Image and URL provided by the query string parameters, but when the post is submitted, the resulting wall post on Facebook is missing the Title, Description and Image, though it still links to the correct URL.

Does anyone know if there have been recent changes which could have suddenly stopped this from working?

Pre-empting some common responses:

  • "sharer.php URL was deprecated" - usage seemed to continue and it
    seemed the consensus was that it was largely considered to be
    sticking around - I haven't seen any specific indication that it
    should have suddenly ceased working - might have missed something

  • "Use JavaScript SDK/these OG meta tags" - not possible in my specific
    situation - just trust me ... I can explain if you REALLY want but
    it's really not relevant.

  • "Use the feed dialog" - not suitable due to lack of support for
    posting with attachments on FB pages

Answer Source

Facebook no longer supports custom parameters in sharer.php

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.

Use dialog/feeds instead of sharer.php

Official answer from fb team

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download