iOS 6 - Facebook sharing procedure fails with error “The proxied app is not already installed”

前端 未结 5 682
生来不讨喜
生来不讨喜 2020-12-30 23:25

Though, there is such a question Facebook Error (7) iOS 6 it\'s already closed without any answer! While obtaining an access to user\'s facebook account I\'ve got an error:

5条回答
  •  执笔经年
    2020-12-31 00:02

    I've solved this problem! It was because I do not pass permissions array! Though the ACAccountStore class states that this parameter is optional, it is not! enter image description here

    More over the application could launch and ask for basic permissions(as it is implied)!

    enter image description here

    So, you must always pass a permissions array.

    Here's also a description of error codes returned by account store:

    typedef enum ACErrorCode {
       ACErrorUnknown = 1,
       ACErrorAccountMissingRequiredProperty,
       ACErrorAccountAuthenticationFailed,
       ACErrorAccountTypeInvalid,
       ACErrorAccountAlreadyExists,
       ACErrorAccountNotFound,
       ACErrorPermissionDenied,
       ACErrorAccessInfoInvalid
    } ACErrorCode;
    

    (I've got ACErrorPermissionDenied here)

提交回复
热议问题