Manel rezgui

Manel rezgui

  • NA
  • 32
  • 1.6k

share FB :Une erreur s’est produite. Veuillez réessay

Sep 6 2015 4:02 PM
plz help me to solve this erreur :
 
 
i have this code to share on facebook:
 
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '715287091908550',
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
};

(function() {
var e = document.createElement('script');
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>



<img id = "share_button" src = "http://app.tabpress.com/fbui_share/share_button.png"/><script type="text/javascript">
$(document).ready(function(){
$('#share_button').click(function(e){
e.preventDefault();
FB.ui(
{
method: 'feed',
name: '',
link: 'https://t....../',
picture: 'http://......png',
caption: '',
description: '',
message: ''
});
});
});
</script> 
 
 it works fine from my Fb but from any other Profile  i have this erreur:   Une erreur s’est produite. Veuillez réessayer plus tard.