I'm trying to share a link on facebook using its simple Sharer.
I'm passing some parameters in this way:
title="Share this article/post/whatever on Facebook"
href="http://www.facebook.com/sharer.php?
s=100
&p[url]=http://www.mypage.com/index.php?firstID=1&secondID=2
//etc.
but it's only partially working because it only take the firstID but not the second.
My guess is that Facebook thinks that secondID is its own, but it can't use it and it discards the param.
Any guess on how I can escape them?
When using the sharer.php
to share the page you should encode the URL so that it is used by it in appropriate manner or else it might take the parameters like your secondID
as its own parameter and would render the URL incorrectly.