Refactor #5886: update facebook testcase

request -> api
requestPermission - > login
dialog/apprequests ->appRequest

@VisualSJ  @wuzhiming , please review it