Added facebook API support