Optimizing Profits in Social Era