Facebook like button and rotating urls
HOw do I put an array of urls to redirect the user after he clicks the like button?

this isnt working



    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>       
    
    <script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>     
    
      
    <script type="text/javascript" charset="utf-8">
    
    var favorites = ["http://google.com", "http://yahoo.com", "http://msn.com", "http://apple.com"];
    var favorite = favorites[Math.floor(Math.random() * favorites.length];
    var url = favorite;
    
            FB.Event.subscribe('edge.create', function(response) {
    
                    window.location = '+url+';
    
            });
    
    </script> 
    
    
    
    <fb:like href="http://apple.com" layout="standard" ref="sidebar-max" send="false" show_faces="true" width="300"></fb:like>


Facebook like button and rotating urls
===

HOw do I put an array of urls to redirect the user after he clicks the like button?

this isnt working



    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>       
    
    <script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>     
    
      
    <script type="text/javascript" charset="utf-8">
    
    var favorites = ["http://google.com", "http://yahoo.com", "http://msn.com", "http://apple.com"];
    var favorite = favorites[Math.floor(Math.random() * favorites.length];
    var url = favorite;
    
            FB.Event.subscribe('edge.create', function(response) {
    
                    window.location = '+url+';
    
            });
    
    </script> 
    
    
    
    <fb:like href="http://apple.com" layout="standard" ref="sidebar-max" send="false" show_faces="true" width="300"></fb:like>

