wordpress - Facebook Like button links to page with extra querystring values -


im creating button web page using

<div id="fb-root"></div> <script type="text/javascript">(function(d, s, id) {   var js, fjs = d.getelementsbytagname(s)[0];   if (d.getelementbyid(id)) return;   js = d.createelement(s); js.id = id;   js.src = "//connect.facebook.net/en_us/all.js#xfbml=1&appid=252715718165799";   fjs.parentnode.insertbefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>  <div class="fb-like" data-href="<?php urlencode(the_permalink()) ?>" data-send="true" data-layout="button_count" data-width="125" data-show-faces="false"></div> 

which when clicked creates nice link image etc on users facebook feed, links page's url large querystring appended

http://example.com/the/page?fb_action_ids=10200196914349100%2c10200196796266148%2c10200196791466028%2c10200196788705959%2c10200196713104069&fb_action_types=og.likes&fb_source=other_multiline&action_object_map=%7b"10200196914349100"%3a10151018009412671%2c"10200196796266148"%3a438799629541199%2c"10200196791466028"%3a336640529795478%2c"10200196788705959"%3a145466598973304%2c"10200196713104069"%3a10150401503152524%2c"10200196704543855"%3a466461563437987%7d 

this url arriving @ wordpress powered site , generating 303 forbidden errors.

how fix code / game facebook linking pages without massive querystring?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -