mardi 4 août 2015

Facebook share url with query strings

I have the following problem in Sharing pages from my website through Facebook. When I try to Share a complicated URL that containing a lot of query strings and their values using Graph API or Sharer.php or Sharing button, Facebook neglects the query string and omits them. As an example Sharing this URL http://ift.tt/1IK9arH which has been shared through many ways:

1- Through Sharer.php http://ift.tt/1IhJ11X ; Generates error cause all query strings and their values are deleted after sharing.

2- Through Facebook Share Button and embedding the code in my website; Also the same problem happened.

When I debug my url using Facebook debugger ,It gives me the canonical URL without any query string.

Are there any way to share the URL link exactly as it is with its query strings and their values or a way to control the Canonical URL or og:url , Image og:Image, Title og:title, and description og:description, while Sharing any page.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire