Nowadays everything depends on AI. All of us use AI. In this era of globalization almost everything is changing day by day. We/Organization share our various daily happenings, trends etc. on Facebook. Based on this, forecasting can be done using AI, known as FbProphet Algorithm. It is an open source software to predict the market trend which was developed in 2017. Interesting matter , Fourier series, linear regression are used as mathematical models.