{ "id": "62832", "key": "TIMOB-2200", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11227", "name": "Release 1.5.0 M02", "archived": true, "released": true, "releaseDate": "2010-11-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:23.000+0000", "created": "2011-04-15T03:13:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "facebook" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:23.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
This occurs in todays pull and in 1.4.1.1. In 1.6 and 2.2.
\n1.KS>Mashups>Facebook
\n2.Log in test, tap log in button
results: a blank page appears, output is:
\nD/KrollContext( 1287): (kroll$7) [716,9981877] Running evaluated\nscript: app://examples/facebook_login_logout.js
\nD/FBSession( 1287): FBUserId = 0
\nD/TiFacebook( 1287): (main) [1293,9983170] EXECUTE LOGIN CALLED
\nI/ActivityManager( 76): Starting activity: Intent {\nact=login_dialog\ncmp=com.appcelerator.KitchenSink/ti.modules.titanium.facebook.FBActivity\n(has extras) }
\nI/ActivityManager( 76): Process com.android.calendar (pid 1406) has\ndied.
\nD/FBDialog( 1287): FBDialog onStart
\nD/FBDialog( 1287): FBDialog onResume
\nE/TiUIView( 1287): (main) [2040,9985210] TAP, TAP, TAP on\n[Ti.Facebook.LoginButton]
\nD/dalvikvm( 1287): GC freed 7462 objects / 711784 bytes in\n197ms
\nI/ActivityManager( 76): Displayed activity\ncom.appcelerator.KitchenSink/ti.modules.titanium.facebook.FBActivity:\n2725 ms (total 2725 ms)
(from [d965244922008868150c1020306995ec558862cd])\n[#2200] First push of using oauth in 1_4_X\nfacebook module. Can be disabled by passing oauth:false as\ncreation arg in createLoginButton(), but at the moment the old,\nnon-oauth way is not working. \nhttp://github.com/appcelerator/titanium_mobile/commit/d965244922008...
Standardizing the title and putting ticket into open state since\nit's being actively worked.
(from [2a27cc83c8f8f63a1a2ac68d600c0b489129a530])\n[#2200] Facilitate adding FB permissions via the\nnew oauth mechanism. \nhttp://github.com/appcelerator/titanium_mobile/commit/2a27cc83c8f8f...
(from [3a7d5140b26a538e1852a56148ac3aa27599bcfc])\n[#2200 state:fixed-in-qa] Round out the grafting\nof OAUTH login/authorizations on old API. \nhttps://github.com/appcelerator/titanium_mobile/commit/3a7d5140b26a...
reopening because i need to cherrypick to 1.5
Login & authorization fixed now in 1.5 as well.
(from [09a41c5b8215369533adbc33ec2f18f3d7808429])\n[#2200] First push of using oauth in 1_4_X\nfacebook module. Can be disabled by passing oauth:false as\ncreation arg in createLoginButton(), but at the moment the old,\nnon-oauth way is not working. \nhttps://github.com/appcelerator/titanium_mobile/commit/09a41c5b8215...
(from [f6caabb6fa7a6dbeafece870ffd4dc35aeeff56e])\n[#2200 state:fixed-in-qa] Round out the grafting\nof OAUTH login/authorizations on old API.
\nfixed Conflicts:
\n\nandroid/modules/facebook/src/ti/modules/titanium/facebook/FacebookModule.java
\n
\n\nhttps://github.com/appcelerator/titanium_mobile/commit/f6caabb6fa7a...
(from [e2b8d5c62d7dbde94fa35698aaac830f23164f43])\n[#2200] Facilitate adding FB permissions via the\nnew oauth mechanism. \nhttps://github.com/appcelerator/titanium_mobile/commit/e2b8d5c62d7d...
hi Bill
\nwhat can we do in 1.4.1 to workaround this issue ?
This behavior persists in 1.5.0.fb4b340. G2 (2.2) 2.1\nemulator
It was intended for 1.5 (I should've changed the milestone back\nthen) because we planned to adopt the whole new Facebook SDK by\nthen. It was only a 1_4_X fix for people who wanted to build\nit.
\nBut in fact we dropped the new Facebook SDK from 1.5 milestones,\nso indeed we WILL need to do at least this OAUTH support for 1.5.\nCrap! :)
\nI'll cherry-pick the commits over.
Gosh, I must be confused. I already cherry-picked this to 1.5 on\n11/3/10. @Thomas, I have no trouble running this in 1.5. Did it\njust now with my 2.2 device and 2.1 emulator.
\nI used build 069c20a (very recent) because I couldn't even get\nKS to launch with the build you mentioned.
closing against 1.5.0.91838a G2 (2.2), Droid 1 (2.2)