fbauth2 is missing from your Info.plist under LSAp

2020-05-19 17:25发布

I am getting the log while login with Facebook. Kindly tell me how can i remove this log. I am working on ios8

标签: ios facebook
4条回答
不美不萌又怎样
2楼-- · 2020-05-19 17:31

just follow this link.

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>fbapi</string>
    <string>fbapi20130214</string>
    <string>fbapi20130410</string>
    <string>fbapi20130702</string>
    <string>fbapi20131010</string>
    <string>fbapi20131219</string>    
    <string>fbapi20140410</string>
    <string>fbapi20140116</string>
    <string>fbapi20150313</string>
    <string>fbapi20150629</string>
    <string>fbauth</string>
    <string>fbauth2</string>
    <string>fb-messenger-api20140430</string>
</array>
查看更多
beautiful°
3楼-- · 2020-05-19 17:49

If you're using v4.6.0 or higher of the SDK, you only need to add into your Info.plist:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>fbapi</string>
  <string>fb-messenger-api</string>
  <string>fbauth2</string>
  <string>fbshareextension</string>
</array>
查看更多
▲ chillily
4楼-- · 2020-05-19 17:52

There is a new key, LSApplicationQueriesSchemes, and here you will need to add the list of schemes you want to are canOpenURL on.

enter image description here

查看更多
啃猪蹄的小仙女
5楼-- · 2020-05-19 17:54

In your info.plist, add a row with the key LSApplicationQueriesSchemes. Make sure it is of array type. For it's only element, add the string fbauth2.

enter image description here

Voila

查看更多
登录 后发表回答