Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/08/2012, 18:21
elmaty93
 
Fecha de Ingreso: agosto-2012
Mensajes: 7
Antigüedad: 11 años, 9 meses
Puntos: 0
Problema con botón Me gusta

¡Saludos queridos foreros!

Tengo el siguiente problema... Al hacer click tanto en 'Me Gusta' como en 'Ya no me gusta' (Haciendo click en la 'x' del botón) me detecta el evento del 'Ya no me gusta'.

Dejo del código aquí...

Código Javascript:
Ver original
  1. <script>
  2.     window.fbAsyncInit = function() {
  3.         FB._https = true;
  4.         FB.init({appId: 'XXXXXXXXXXX', status: true, cookie: true, xfbml: true, channelURL : "www.miweb.com"});
  5.         FB.Event.subscribe('edge.create', function(response) {
  6.              alert('Me gusta');
  7.         });
  8.         FB.Event.subscribe('edge.remove', function(response) {
  9.              alert('Ya no me gusta');
  10.         });
  11.     };
  12. </script>


¿Alguna solución? Desde ya, muchas gracias...