<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Use this plugin instead of in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101346#M68796</link>
    <description>&lt;P&gt;Use this plugin instead of facebook connect&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/jeduan/cordova-plugin-facebook4" target="_blank"&gt;https://github.com/jeduan/cordova-plugin-facebook4&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Apr 2016 21:10:19 GMT</pubDate>
    <dc:creator>Amrita_C_Intel</dc:creator>
    <dc:date>2016-04-22T21:10:19Z</dc:date>
    <item>
      <title>Facebook Login IOS</title>
      <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101345#M68795</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;i have a problem implenting the facebook plugin.&lt;/P&gt;

&lt;P&gt;I use this code and have testet several Plugin versions with no other result.&lt;/P&gt;

&lt;P&gt;On Android, the Code works well and the login is ok.&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;....
    $('#facebookLogin').on('click', function () {

        var $permissions = ["email"];


            console.log = function (e) {
                alert(JSON.stringify(e));
            }
            console.error = function (e) {
                alert(JSON.stringify(e));
            }
        console.log("FB:Try to Login");
        facebookConnectPlugin.login($permissions, facebookSuccess, facebookFailure)
    });
.....

function facebookSuccess(data) {
    var $fbToken = data.authResponse.accessToken;
    var $fbUserId = data.authResponse.userID;
    window.localStorage.setItem("facebookId", data.authResponse.userID);
    console.log(data);
    facebookConnectPlugin.api("/me?fields=id,email,gender,last_name,first_name", [], function (result) {
            console.log(result);
            createUserAccount(result, $fbToken, $fbUserId);
        },
        facebookFailure);

}

function createUserAccount(result, token, userId) {
  console.log(result);
  console.log(token);
  console.log(userId);
}&lt;/PRE&gt;

&lt;PRE class="brush:jscript;"&gt;function facebookFailure(data) {
    console.log(data);
}&lt;/PRE&gt;

&lt;P&gt;On Ios, no window appears, the appScreen is hidden for a moment, then my app appears again. But it hangs and nothing can be done.&lt;/P&gt;

&lt;P&gt;Sometimes, the first .login works, but the .api request fails.&lt;/P&gt;

&lt;P&gt;Also, there is no console output on IOS. I test it with testflight.The console.log is redirected to nslog in order to test.&lt;/P&gt;

&lt;P&gt;The only NSLOG there is in relation...&lt;/P&gt;

&lt;PRE class="brush:bash;"&gt;Apr 22 15:40:53 Reemts-iPhone timed[18698] &amp;lt;Notice&amp;gt;: (Error) CoreTime: Error requesting proactive time check job
Apr 22 15:40:53 Reemts-iPhone Facebook[18681] &amp;lt;Warning&amp;gt;: Unbalanced calls to begin/end appearance transitions for &amp;lt;FBTopBarAndContentViewController: 0x15c94e30&amp;gt;.
Apr 22 15:40:54 Reemts-iPhone MobileMail[18688] &amp;lt;Warning&amp;gt;: Received memory warning.
Apr 22 15:40:54 Reemts-iPhone locationd[69] &amp;lt;Notice&amp;gt;: Gesture EnabledForTopClient: 1 (SiriCalled)
Apr 22 15:40:59 Reemts-iPhone Facebook[18681] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "moments://" - error: "(null)"
Apr 22 15:40:59 Reemts-iPhone Storyspot[18622] &amp;lt;Warning&amp;gt;: Received memory warning.
Apr 22 15:41:00 Reemts-iPhone Facebook[18681] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "moments://" - error: "(null)"
Apr 22 15:41:04 Reemts-iPhone Storyspot[18622] &amp;lt;Warning&amp;gt;: Received memory warning.


Apr 22 15:41:05 Reemts-iPhone Facebook[18681] &amp;lt;Error&amp;gt;: LaunchServices: disconnect event received for service com.apple.lsd.mapdb
Apr 22 15:41:05 Reemts-iPhone Facebook[18681] &amp;lt;Error&amp;gt;: LaunchServices: disconnect event received for service com.apple.lsd.openurl
&amp;lt;!---- WHITE SCREEN DISAPPEARS&amp;gt;
Apr 22 15:41:05 Reemts-iPhone mediaserverd[43] &amp;lt;Notice&amp;gt;: '' storyspotwkverlag(pid = 18622) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None
Apr 22 15:41:51 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: Apache Cordova native platform version 3.8.0 is starting.
Apr 22 15:41:51 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: Multi-tasking -&amp;gt; Device: YES, App: YES
Apr 22 15:41:51 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: Unlimited access to network resources
Apr 22 15:41:51 Reemts-iPhone routined[18712] &amp;lt;Warning&amp;gt;: Timed out waiting on the CarKit service
Apr 22 15:41:52 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][splashscreen] 350.143015ms
Apr 22 15:41:52 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][localnotification] 3.584981ms
Apr 22 15:41:52 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][localnotification] 0.069022ms
Apr 22 15:41:52 Reemts-iPhone MobileMail[18729] &amp;lt;Notice&amp;gt;: (Note ) MC: Loaded Message.framework
Apr 22 15:41:52 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][socialsharing] 221.140981ms
Apr 22 15:41:53 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][file] 28.026998ms
Apr 22 15:41:53 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][statusbar] 51.838994ms
Apr 22 15:41:53 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: Init FacebookConnect Session
Apr 22 15:41:53 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][facebookconnectplugin] 79.183042ms
Apr 22 15:41:53 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: [CDVTimer][TotalPluginStartup] 737.901986ms

Apr 22 15:42:07 Reemts-iPhone Storyspot[18734] &amp;lt;Error&amp;gt;: -[WebActionDisablingCALayerDelegate willBeRemoved]: unrecognized selector sent to instance 0x16677560
Apr 22 15:42:07 Reemts-iPhone Storyspot[18734] &amp;lt;Warning&amp;gt;: *** WebKit discarded an uncaught exception in the webView:willRemoveScrollingLayer:withContentsLayer:forNode: delegate: &amp;lt;NSInvalidArgumentException&amp;gt; -[WebActionDisablingCALayerDelegate willBeRemoved]: unrecognized selector sent to instance 0x16677560
&lt;/PRE&gt;

&lt;P&gt;The app starts completely from start after facebook login...&lt;/P&gt;

&lt;P&gt;What can i do??&lt;/P&gt;

&lt;P&gt;IOS Version is 9.0&lt;/P&gt;

&lt;P&gt;King regards,&lt;/P&gt;

&lt;P&gt;Sascha&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 18:28:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101345#M68795</guid>
      <dc:creator>Sascha_B_</dc:creator>
      <dc:date>2016-04-22T18:28:11Z</dc:date>
    </item>
    <item>
      <title>Use this plugin instead of</title>
      <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101346#M68796</link>
      <description>&lt;P&gt;Use this plugin instead of facebook connect&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/jeduan/cordova-plugin-facebook4" target="_blank"&gt;https://github.com/jeduan/cordova-plugin-facebook4&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Apr 2016 21:10:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101346#M68796</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-04-22T21:10:19Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101347#M68797</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;thanks for the answer. I have testet the Plugin.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If there is no native Facebook app on the IPhone, it works. When the Facebook app is installed, there is the same error as before. The last screen is shown, but the WebView don't react anymore.&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;Apr 23 15:08:12 Reemts-iPhone Storyspot[19171] &amp;lt;Warning&amp;gt;: viewServiceDidTerminateWithError: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
Apr 23 15:08:12 Reemts-iPhone SpringBoard[14702] &amp;lt;Warning&amp;gt;: Memory level is not normal or this app was killed by jetsam. Pending auto-relaunch of '&amp;lt;FBApplicationProcess: 0x14748890; MobileMail; pid: -1&amp;gt;'.
Apr 23 15:08:12 Reemts-iPhone SpringBoard[14702] &amp;lt;Warning&amp;gt;: Memory level is not normal or this app was killed by jetsam. Pending auto-relaunch of '&amp;lt;FBApplicationProcess: 0x17896440; WhatsApp; pid: -1&amp;gt;'.
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "bolt://instagram" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "fb-groups://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "hyperlapse://instagram" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "instagram://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "fbmentions://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "fb-pma://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "fb-paper://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "tango://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "rooms://" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "slingshot://navigate" - error: "(null)"
Apr 23 15:08:42 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "fb255620677933453://" - error: "(null)"

Apr 23 15:09:00 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: Unbalanced calls to begin/end appearance transitions for &amp;lt;FBTopBarAndContentViewController: 0x16cdb770&amp;gt;.
Apr 23 15:09:08 Reemts-iPhone SpringBoard[14702] &amp;lt;Warning&amp;gt;: Memory level is not normal or this app was killed by jetsam. Pending auto-relaunch of '&amp;lt;FBApplicationProcess: 0x16d3f2f0; WhatsApp; pid: -1&amp;gt;'.
Apr 23 15:09:10 Reemts-iPhone ReportCrash[19238] &amp;lt;Warning&amp;gt;: saved type '109_WhatsApp' report (2 of max 25) as /var/mobile/Library/Logs/CrashReporter/WhatsApp_2016-04-23-150905_Reemts-iPhone.ips
Apr 23 15:09:10 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "moments://" - error: "(null)"
Apr 23 15:09:12 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "moments://" - error: "(null)"
Apr 23 15:09:12 Reemts-iPhone Facebook[19191] &amp;lt;Warning&amp;gt;: -canOpenURL: failed for URL: "moments://" - error: "(null)"
Apr 23 15:11:28 Reemts-iPhone routined[19299] &amp;lt;Warning&amp;gt;: Timed out waiting on the CarKit service
Apr 23 15:11:29 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: Apache Cordova native platform version 3.8.0 is starting.
Apr 23 15:11:29 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: Multi-tasking -&amp;gt; Device: YES, App: YES
Apr 23 15:11:29 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: Unlimited access to network resources
Apr 23 15:11:30 Reemts-iPhone Facebook[19268] &amp;lt;Warning&amp;gt;: Received memory warning.
Apr 23 15:11:31 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][splashscreen] 958.861053ms
Apr 23 15:11:31 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][localnotification] 7.498980ms
Apr 23 15:11:31 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][localnotification] 0.057995ms
Apr 23 15:11:31 Reemts-iPhone kernel[0] &amp;lt;Notice&amp;gt;: xpcproxy[19319] Container: /private/var/mobile/Containers/Data/Application/A73B1808-E91E-41D7-9DBE-F15F4C0A02B1 (sandbox)
Apr 23 15:11:33 Reemts-iPhone MobileMail[19319] &amp;lt;Notice&amp;gt;: (Note ) MC: Loaded Message.framework
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: timeout messaging Mail to determine CanSendMail state
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][socialsharing] 2039.619982ms
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][file] 22.174954ms
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][statusbar] 90.229034ms
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: Init FacebookConnect Session
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][facebookconnectplugin] 66.398025ms
Apr 23 15:11:33 Reemts-iPhone Storyspot[19317] &amp;lt;Warning&amp;gt;: [CDVTimer][TotalPluginStartup] 3189.136028ms
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 18:36:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101347#M68797</guid>
      <dc:creator>Sascha_B_</dc:creator>
      <dc:date>2016-04-23T18:36:57Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101348#M68798</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;It should not happen. Try this exiting Facebook sample&amp;nbsp;https://github.com/gomobile/sample-facebook-connect&lt;/P&gt;

&lt;P&gt;And check if you are getting same error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:12:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101348#M68798</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-04-26T21:12:50Z</dc:date>
    </item>
    <item>
      <title>And it is also present in XDK</title>
      <link>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101349#M68799</link>
      <description>&lt;P&gt;And it is also present in XDK under samples and demos.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:13:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Facebook-Login-IOS/m-p/1101349#M68799</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2016-04-26T21:13:35Z</dc:date>
    </item>
  </channel>
</rss>

