Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-14205

iOS: Facebook Login Callback Not Working

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 3.1.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      Alloy 1.1.0,Titanium 3.1.0,Titanium SDK 3.1.0,MAC OSX 10.7.5

      Description

      Problem description
      I have modified the Facebook integration in my app for the SDK version 3.1.0.
      But Login callback for Facebook dialog is not working, it never called.

      I implemented according to this API information as given below:
      http://docs.appcelerator.com/titanium/latest/#!/api/Modules.Facebook

      Test case
      Attached complete sample. Simple app.js test case below.

      var win = Ti.UI.createWindow({
          backgroundColor : "#FFF"
      });
       
      var fb = require('facebook');
      fb.appid = FACEBOOK_APP_ID; // appid goes here
       
      fb.addEventListener('login', facebook_connect);
       
      function facebook_connect(e) {
          // Never called
      }
       
      win.add(fb.createLoginButton({
          top : 50,
          style : fb.BUTTON_STYLE_WIDE
      }));
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ingo Ingo Muschenetz
                Reporter:
                snagpal Saurav Nagpal
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-16725
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration