the headline says everything. I get always this error: "method" is a required parameter for FB.ui(). But method is set to 'feed'
Is it because i currently working local on my machine and not on a really server?? App is also registered in facebook.
Any idea?
<span id='share'>SHARE</span> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({appId: '2907534********', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> <script type="text/javascript"> $(document).ready(function(){ $('#share').click(function(e){ e.preventDefault(); FB.ui({ method: 'feed', name: 'This is the content of the "name" field.', link: ' http://www.hyperarts.com/', picture: 'http://www.hyperarts.com/external-xfbml/share-image.gif', caption: 'This is the content of the "caption" field.', description: 'This is the content of the "description" field, below the caption.', message: '' }); }); }); </script>
link) Please ensure your application configured correctly and not blocked.