support display option for facebook

This PR adds `display` option for facebook + test cases.