Auction function fixed & facebook integration

Please check for the fix.