added support for facebook api