Re: facebook & google plugins

Hello Craig,

Le 21 août 2011 à 15:09, Craig Chant a écrit :

> Thanks for the info and your help in trying to resolve this, however, I
> cannot get the facebook object method to work.
> 
> Part of the problem is my URL contains query string vars, and even URL
> encoding them doesn't seem to work.


According to my tests, %-encoding the URL works.

So if your URL is <http://www.example.com/foo%20bar?foo=0&bar=1#foobar>, you need to use "http://www.example.com/foo%2520bar%3Ffoo%3D0%26bar%3D1%23foobar" as the url or href parameters of the Facebook or Google URLs. Note how the space in the URL gets double-encoded to %2520.

How did you encode your URL when you made your tests?

Regards,

-- 
Etienne Miret

Received on Monday, 22 August 2011 20:39:31 UTC