[TIMOB-2254] Android: implement new Facebook Graph SDK as module
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:33.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M05 |
Components | Android |
Labels | android, facebook, feature, release-1.6.0 |
Reporter | Bill Dawson |
Assignee | Bill Dawson |
Created | 2011-04-15T03:14:53.000+0000 |
Updated | 2011-04-17T01:58:33.000+0000 |
Description
Facebook is moving away from the REST api & old Facebook Connect stuff. Particularly with Android, they expect developers to use the official SDK (https://github.com/facebook/facebook-android-sdk)">https://github.com/facebook/facebook-android-sdk). See esp http://bugs.developers.facebook.net/show_bug.cgi?id=13186#c18">this comment from an internal FB dev in a bug report:
The only supported way of logging in via Android apps is to use the Facebook Android SDK which we released last May:
https://github.com/facebook/facebook-android-sdk">https://github.com/facebook/facebook-android-sdk
It uses OAuth, which is a more future-proof and stable authentication method than the older login.php style that you're using. While we are maintaining backwards compatibliity for the iPhone SDK (well, with the exception of unintentional bugs like this one), we have never supported that mechanism for other devices. I suggest you upgrade the SDK.
Ready for internal testing. QA team member who wants to test it should contact me for the module zip file, since it currently cannot be built successfully due to issue #2806 (i.e., I had to hack the build to get the module zip file.)
Verified on G1/1.6 and Nexus One/2.2.1 using build #e1cb22a
One issue that is not related to the API was filed for #2922
(from [e3d8c95b99cf722533d3a25932383475df04ea33]) [#2254] (documentation only) Forgot to document the forceDialogAuth property https://github.com/appcelerator/titanium_mobile/commit/e3d8c95b99cf722533d3a25932383475df04ea33"> https://github.com/appcelerator/titanium_mobile/commit/e3d8c95b99cf...
(from [20f625029e5646620359941b2bef26b23fa0359f]) [#2254] (documentation only) Forgot to document the forceDialogAuth property https://github.com/appcelerator/titanium_mobile/commit/20f625029e5646620359941b2bef26b23fa0359f"> https://github.com/appcelerator/titanium_mobile/commit/20f625029e56...