How to Pass Custom Parameters to Facebook Custom Share Link

Facebook loves changing their platform and API’s and discovering the correct way to do things isn’t always easy.
So there used to be a sharer.php link you would pass parameters to, including images and other things that would be in the post.
This has been replaced with the below version which seems to have much more limited capabilities.
You can read more about it on the Facebook developer center.


https://www.facebook.com/dialog/share?
app_id=145634995501895
&display=popup
&href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F
&redirect_uri=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fexplorer

Note there is also an Open Graph method which would likely use any open graph tags within a page to use in the post, such as images, titles and descriptions.

Leave a Reply

Your email address will not be published. Required fields are marked *