Subversion Repositories SmartDukaan

Rev

Rev 2953 | Rev 3117 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2953 Rev 2956
Line 1... Line 1...
1
window.fbAsyncInit = function() {
1
window.fbAsyncInit = function() {
2
	FB.init({
2
	FB.init({
3
		appId  : '186498998073288',	//209449825766256 
3
		appId  : '209449825766256',	//186498998073288
4
		status : true, // check login status
4
		status : true, // check login status
5
		cookie : true, // enable cookies to allow the server to access the session
5
		cookie : true, // enable cookies to allow the server to access the session
6
		xfbml  : true  // parse XFBML
6
		xfbml  : true  // parse XFBML
7
	});
7
	});
8
 
8
 
Line 55... Line 55...
55
    		var name = $(descElement).children('.name').html();
55
    		var name = $(descElement).children('.name').html();
56
    		var price = $(descElement).children('.price').html();
56
    		var price = $(descElement).children('.price').html();
57
    		var urlParts = $(descElement).children('.buynow').attr('href').split('-');
57
    		var urlParts = $(descElement).children('.buynow').attr('href').split('-');
58
    		var entityId = urlParts[urlParts.length - 1];
58
    		var entityId = urlParts[urlParts.length - 1];
59
    		shareThis(entityId, name, price);
59
    		shareThis(entityId, name, price);
60
//    		console.log(name, price, entityId);
-
 
61
    	});
60
    	});
62
    
61
    
63
	$('#share').click(function(){
62
	$('#share').click(function(){
64
		publishStream();
63
		publishStream();
65
	});
64
	});