Este es el código que estoy usando (Sólo funciona en IE):
Código:
¿Alguien sabe cómo hacer que el código funcione en todos los navegadores o conoce algún código con el que se pueda publicar en el muro? Gracias. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>Página</title>
</head>
<body><center>
<div id='fb-root'></div>
<script src='http://connect.facebook.net/es_ES/all.js'></script>
<p id='msg'></p>
<a onclick='Chimp(); return false;'><img style="cursor: pointer" src="IMÁGEN" border="0" /></a>
<script>
FB.init({appId: "ID_DE_LA_APLICACIÓN", status: true, cookie: true});
function Chimp() {
// calling the API ...
var obj = {
method: 'feed',
link: 'https://www.facebook.com/',
picture: 'IMÁGEN',
source: 'SWF',
name: ' ',
caption: ' ',
description: ' '
};
function callback(response) {
document.getElementById('msg').innerHTML = "Publicado..";
}
FB.ui(obj, callback);
}
</script>
</center>
</body></html>


