Issue #5695: Update Facebook plugin

1. support app request
2. Compatibility adjustment