Facebook iOS SDK not returning to my app

后端 未结 3 659
醉酒成梦
醉酒成梦 2020-12-19 06:25

I\'m trying to implement the new oAuth2 facebook SDK into my app but can\'t for the life of me understand how I\'m supposed to get back to my app once logged in/authenticate

相关标签:
3条回答
  • 2020-12-19 07:03

    Arg, you better open .plist as code source, you should see :

    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb38*******</string>
            </array>
        </dict>
    </array>
    
    0 讨论(0)
  • 2020-12-19 07:07

    I had this same problem. Just to clarify some of the other answers, here's how I fixed the issue for my iPhone app in Xcode 4.2:

    .plist file
        "URL types"
        "Item 0"
            "URL Schemes"
            "Item 0"
                "fb21593853845xxxx"
    
    0 讨论(0)
  • 2020-12-19 07:13

    You must write your AppID to your .plist

    0 讨论(0)
提交回复
热议问题