douchenhui5569 2013-12-02 06:54
浏览 150
已采纳

如何查看我的Facebook应用程序要求用户的权限?

This seems like a silly question, but I can't figure out how to find exactly what permissions my facebook app asks users for. Ideally, there should be a list somewhere that I can add to/delete from/edit.

When I go to Apps > my_app > Permissions, I get a "Configure your permissions" box, but it does not list what permission my app currently asks for.

  • 写回答

1条回答 默认 最新

  • dongwen5870 2013-12-02 07:03
    关注

    Adding the permissions in the App Settings is for the App Centre only.

    The permissions will actually be asked in the app only if you add them in your login code.

    For eg, if you are using-

    1. PHP SDK

      $params = array(
        'scope' => 'perm1','perm2'..
      );
      
      $loginUrl = $facebook->getLoginUrl($params);
      
    2. Javascript SDK

      FB.login(function(response) {
        // handle the response
      }, {scope: 'perm1, perm2'});
      
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?