Welcome Guest, Not a member yet? Register   Sign In
Facebook "Like"-button problem
#1

[eluser]bndk[/eluser]
I'm trying to add a like button for different blog posts on a website, and have used Facebook's default like button-iframe like so:
Code:
<iframe src="https://www.facebook.com/plugins/like.php?href=http://mysite.com/index.php?/blog/view/post1"
        scrolling="no" frameborder="0"
       >/iframe>
Everything works and the "like" appears on Facebook. However, the link from Facebook to the blog doesn't work as all slashes are substituted by "% 2F", thus making the website present a 404 error.

I've googled this problem, but can't find answers. Any help?

Thanks
#2

[eluser]gRoberts[/eluser]
The link is being encoded, it doesn't affect the way it works.
#3

[eluser]CroNiX[/eluser]
Is there an actual space between the % and 2F?
#4

[eluser]bndk[/eluser]
Well, even though it is supposed to be encoded and should work - it doesn't.

And no, sorry about that - there's no space, I just had to put one on here because of the encoding.


- bndk




Theme © iAndrew 2016 - Forum software by © MyBB