Add xhr support for facebook