[AC-1915] Facebook login dialog shows Not Logged In error for first time user
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-02-26T22:04:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | api, facebook, ios |
Reporter | MHA |
Assignee | Mauro Parra-Miranda |
Created | 2013-02-21T03:43:27.000+0000 |
Updated | 2016-03-08T07:40:50.000+0000 |
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.
Steps to reproduce:
var Window = Ti.UI.createWindow();
Ti.Facebook.appid = 'YOUR_APP_ID';
var fb_login = Ti.Facebook.createLoginButton();
Window.add(fb_login);
Attachments
File | Date | Size |
---|---|---|
error_screen.png | 2013-02-21T03:43:27.000+0000 | 53144 |
expected_screen.png | 2013-02-21T03:43:27.000+0000 | 74972 |
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.