{ "id": "109954", "key": "AC-1915", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-02-26T22:04:18.000+0000", "created": "2013-02-21T03:43:27.000+0000", "labels": [ "api", "facebook", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:50.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Ti.Facebook is currently showing login dialog with *Not Logged In* error. Expected behavior is that the dialog should ask for user credentials. With error the dialog also shows *Back to home* option that redirects user to expected login screen. \r\n\r\nSteps to reproduce:\r\n{code:JavaScript}\r\nvar Window = Ti.UI.createWindow();\r\n\r\nTi.Facebook.appid = 'YOUR_APP_ID';\r\n\r\nvar fb_login = Ti.Facebook.createLoginButton();\r\n\r\nWindow.add(fb_login);\r\n{code}\r\n", "attachment": [ { "id": "35656", "filename": "error_screen.png", "author": { "name": "mha", "key": "mha", "displayName": "MHA", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-21T03:43:27.000+0000", "size": 53144, "mimeType": "image/png" }, { "id": "35657", "filename": "expected_screen.png", "author": { "name": "mha", "key": "mha", "displayName": "MHA", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-21T03:43:27.000+0000", "size": 74972, "mimeType": "image/png" } ], "flagged": false, "summary": "Facebook login dialog shows Not Logged In error for first time user", "creator": { "name": "mha", "key": "mha", "displayName": "MHA", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mha", "key": "mha", "displayName": "MHA", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.2.GA\r\nModule: Facebook", "comment": { "comments": [ { "id": "239872", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please refer to the kitchen sink for how to implement the facebook login/logout. I just tested the function in the kitchen sink which successfully prompts user for login credentials when not logged in and specifies when a user has logged in. Working as expected.", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-26T22:03:16.000+0000", "updated": "2013-02-26T22:03:16.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }