I'm using this code for facebook like button:
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.mysite.com/#work2.html"
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"></iframe>
If I try to access the link from facebook after I clicked the like button It gives me just "www.mysite.com" If I try to access it manually, I mean to copy and paste the url it works. My website is ajax driven. How can I make the "#" work for facebook ? Thanks!
You'll need to change it to a ? rather than a # for facebook since it doesn't do hash tags. In your app, you can check for either a hash or a query string parameter to do same thing