[TIMOB-2895] Add property for facebook ID / multiple URL schema
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:00:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M07 |
Components | iOS |
Labels | facebook, ios, plist, release-1.6.0, url |
Reporter | Stephen Tramer |
Assignee | Stephen Tramer |
Created | 2011-04-15T03:32:19.000+0000 |
Updated | 2011-04-17T02:00:23.000+0000 |
Description
In order to get facebook to work properly, it requires that the app respond to the "fbAPPID" schema, where APPID is the app's ID on Facebook. There are two possible ways to handle this:
- Have a property to specify the facebook ID of the app (pretty
easy; inflexible)
- Have a property to allow the app to respond to specific URI schemes (flexible; requires the user know something about the iOS fb module, though)
(from [4369ff816676049955be0acf6aa609166ff1a885]) [#2895 state:fixed-in-qa] Check for 'ti.facebook.appid' property on iOS and create a second URL schema if necessary. https://github.com/appcelerator/titanium_mobile/commit/4369ff816676049955be0acf6aa609166ff1a885"> https://github.com/appcelerator/titanium_mobile/commit/4369ff816676...
To test this:
-- In fb: Redirects you to the FB safari/app, and lets you log in. Returns you to the app, and you are now logged in.
-- In nofb: Redirects you to the fb app (NOT to the nofb app). If you re-open the nofb app you will not be logged in.
closing against [INFO] Titanium SDK version: 1.6.0 (02/03/11 09:22 a02f7db) 4GT ipod touch 4.1