码迷,mamicode.com
首页 > 其他好文 > 详细

sdkbox 接facebook

时间:2015-10-22 19:04:02      阅读:412      评论:0      收藏:0      [点我收藏+]

标签:

详情参见:http://sdkbox-doc.github.io/en/plugins/facebook/v3-js/#manual-integration

一步不落然后

*** Terminating app due to uncaught exception InvalidOperationException, reason: fbauth2 is missing from your Info.plist under LSApplicationQueriesSchemes and is required for iOS 9.0

 

参考:http://stackoverflow.com/questions/32006033/ios-9-fbauth2-missing-from-info-plist

info.plist添加如下键值

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fbauth2</string>
</array>

 

 

初始化facebook 后

需要

sdkbox.PluginFacebook.requestReadPermissions(["public_profile", "email"]);
sdkbox.PluginFacebook.requestPublishPermissions(["publish_actions"]);

否则会有  Error Domain=com.facebook.sdk.login Code=301

sdkbox 接facebook

标签:

原文地址:http://www.cnblogs.com/pengyingh/p/4901708.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!