{ "id": "151485", "key": "TIMOB-19577", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-05T22:42:35.000+0000", "created": "2015-09-25T02:52:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "facebook", "facebookSDK", "notable" ], "versions": [], "issuelinks": [ { "id": "49288", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "147997", "key": "TIMOB-19046", "fields": { "summary": "Android: error with requestWithGraphPath and facebook sdk 4.0.3", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50662", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155047", "key": "TIMOB-20435", "fields": { "summary": "NullPointerException is thrown in logcat if you use the latest SDK with latest Facebook module", "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" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "50550", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "154833", "key": "TIMOB-20375", "fields": { "summary": "Android: KitchenSink update for Facebook ", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "50664", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155045", "key": "TIMOB-20434", "fields": { "summary": "Kitchen Sink Crashes on initial install ", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2018-10-10T16:30:03.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": "Facebook SDK has been updated to 4.7.0. Have to look at updating our module to support this.", "attachment": [], "flagged": false, "summary": "Android: Update Facebook Module to support Facebook SDK 4.7.0", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "367524", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Updated Facebook API to 4.7. \r\nBumped fb titanium module Android to 5.0.0.\r\nKitchenSink PR:https://github.com/appcelerator/KitchenSink/pull/80\r\nFacebook PR:https://github.com/appcelerator-modules/ti.facebook/pull/30\r\n\r\nh4. Facebook Test User Accounts\r\n\r\n||User name||User email||\r\n|David Alajdbbcdajgf Greeneman|yuwagqj_greeneman_1444623211@tfbnw.net|\r\n|Barbara Alajeaccejfhc Carrierosky|xpgcjkg_carrierosky_1444623190@tfbnw.net|\r\n|Patricia Alajcfcffdcie Lausen|mtfzvmr_lausen_1444623189@tfbnw.net|\r\nAll passwords are titaniumLion\r\n\r\n(Thanks to [~cng] for the Testing accounts)\r\n\r\nh4. Steps to test\r\n1. install facebook Module, you can get it from here if you don't want to build it (https://gist.github.com/ashcoding/4d3eae3877fcb3278ff5/raw/9e59582682bfb44b4b8d255edd5f88258f1bec93/facebook-android-5.0.0.zip)\r\n2. Run it with titanium SDK > 5.0 on KitchenSink (PR above). The KitchenSink tiapp.xml has been configured with a new Facebook app where the test users indicated can be used\r\n3. Test everything in mashups/facebook\r\n\r\nPR for Titanium SDK master branch will come after this has been reviewed.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-22T09:13:55.000+0000", "updated": "2015-10-22T09:13:55.000+0000" }, { "id": "369149", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR merged and module added to release page in github https://github.com/appcelerator-modules/ti.facebook/releases", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-06T03:23:58.000+0000", "updated": "2015-11-06T03:23:58.000+0000" }, { "id": "370150", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master backport: https://github.com/appcelerator/KitchenSink/pull/82", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-12T23:31:48.000+0000", "updated": "2015-11-12T23:31:48.000+0000" }, { "id": "370177", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR https://github.com/appcelerator/KitchenSink/pull/82 was into stable. It was merged.\r\n\r\nStill requires a PR into master branch. Seems like the default branch for Kitchen Sink is to Stable branch.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-11-13T04:23:30.000+0000", "updated": "2015-11-13T04:23:30.000+0000" }, { "id": "372498", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Master PR Titanium Mobile (5_2_0): https://github.com/appcelerator/titanium_mobile/pull/7562", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-09T06:42:47.000+0000", "updated": "2015-12-09T06:42:47.000+0000" }, { "id": "372501", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Master PR merged.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-12-09T06:59:46.000+0000", "updated": "2015-12-09T06:59:46.000+0000" }, { "id": "376044", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah], I get warnings below after I run the {{Read Stream}} test in {{KS/Facebook}} with the instructions mentioned by [~cng] above:\r\n{code}\r\n[DEBUG] : D/com.facebook.GraphRequestAsyncTask: execute async task: {RequestAsyncTask: connection: null, requests: [{Request: accessToken: {AccessToken token:ACCESS_TOKEN_REMOVED permissions:[public_profile, contact_email, publish_actions, email, user_managed_groups]}, graphPath: me/groups, graphObject: null, httpMethod: GET, parameters: Bundle[{}]}]}\r\n[WARN] : W/FacebookSDK.Request: starting with Graph API v2.4, GET requests for /me/groups should contain an explicit \"fields\" parameter.\r\n[WARN] : W/System.err: java.lang.Exception\r\n[WARN] : W/System.err: \tat com.facebook.internal.Logger.log(Logger.java:92)\r\n[WARN] : W/System.err: \tat com.facebook.internal.Logger.log(Logger.java:77)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequest.validateFieldsParamForGetRequests(GraphRequest.java:1648)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequest.toHttpConnection(GraphRequest.java:1039)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequest.executeBatchAndWait(GraphRequest.java:1147)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequestBatch.executeAndWaitImpl(GraphRequestBatch.java:252)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequestBatch.executeAndWait(GraphRequestBatch.java:201)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequestAsyncTask.doInBackground(GraphRequestAsyncTask.java:169)\r\n[WARN] : W/System.err: \tat com.facebook.GraphRequestAsyncTask.doInBackground(GraphRequestAsyncTask.java:1)\r\n[WARN] : W/System.err: \tat android.os.AsyncTask$2.call(AsyncTask.java:295)\r\n[WARN] : W/System.err: \tat java.util.concurrent.FutureTask.run(FutureTask.java:237)\r\n[WARN] : W/System.err: \tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)\r\n[WARN] : W/System.err: \tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)\r\n[WARN] : W/System.err: \tat java.lang.Thread.run(Thread.java:818)\r\n{code}\r\n\r\nAlso, I don't see any results.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-04T22:04:29.000+0000", "updated": "2016-02-04T22:26:03.000+0000" }, { "id": "376145", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Looks like [this line|https://github.com/appcelerator-modules/ti.facebook/blob/master/android/src/facebook/TiFacebookModule.java#L213] needs to be formatted as stated [here|http://stackoverflow.com/a/29324162/5537752] to contain the {{fields}} key. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-05T20:40:36.000+0000", "updated": "2016-02-05T20:40:36.000+0000" }, { "id": "376149", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "I'm using KitchenSink stable with https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.0.0 that uses Facebook SDK 4.7.0 and do not face that problem.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-05T21:21:54.000+0000", "updated": "2016-02-05T21:21:54.000+0000" }, { "id": "376159", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~msamah],\r\nWhat I saw:\r\n1. Used KS from the PR in Kiat's comment : https://github.com/appcelerator/KitchenSink/pull/80 with 5.0.0 FB module :https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.0.0 --- I see the warnings.\r\n2. Used stable KS : https://github.com/appcelerator/KitchenSink/tree/stable with 5.0.0 FB module : https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.0.0--- Ks crashes when clicked on \"login with FB\".\r\n3. Used master KS : https://github.com/appcelerator/KitchenSink/tree/master with 5.0.0 FB module: https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-5.0.0 --- Ks crashes when clicked on \"login with FB\".\r\n\r\nIs there any other version? Can you give me a link for KS version you used ? ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-05T21:59:38.000+0000", "updated": "2016-02-05T21:59:38.000+0000" }, { "id": "376164", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~lchoudhary]\r\nPlease use stable branch and have this in tiappxml:\r\n{code}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n{code}", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-05T22:25:29.000+0000", "updated": "2016-02-05T22:25:53.000+0000" }, { "id": "376165", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR to update this manifest: https://github.com/appcelerator/KitchenSink/pull/88", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-05T22:28:23.000+0000", "updated": "2016-02-05T22:28:23.000+0000" }, { "id": "376175", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "PR updated to use `user_managed_groups`", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-05T23:10:46.000+0000", "updated": "2016-02-05T23:10:46.000+0000" }, { "id": "376176", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cool [~msamah]", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-05T23:12:25.000+0000", "updated": "2016-02-05T23:12:25.000+0000" }, { "id": "376362", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the implementation.\r\n\r\nChecked by running KS/mashups/facebook tests in KS stable.\r\n\r\nClosing.\r\n\r\n\r\nEnvironment:\r\nAppc Studio : 4.5.0.201602070910\r\nTi SDK : 5.2.0.v20160208101502\r\nTi CLI : 5.0.6\r\nAlloy : 1.7.33\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.3-2\r\nAppc CLI : 5.2.0-249\r\nNode: 4.2.2\r\nNexus 6P - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-09T19:18:23.000+0000", "updated": "2016-02-09T19:18:23.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }