{ "id": "159462", "key": "MOD-2241", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-05-08T18:32:40.000+0000", "created": "2016-04-11T12:52:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "ios", "ti.facebook" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-05-08T18:32:41.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14521", "name": "Facebook" } ], "description": "This community PR adds support for likechange events: https://github.com/appcelerator-modules/ti.facebook/pull/27. We take care of the review. *EDIT*: The community PR was rejected due to missing developer support. This feature is *not* implemented, yet.", "attachment": [], "flagged": false, "summary": "Ti.Facebook: Support likechange event", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "383742", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Demo:\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor : \"#fff\"\r\n}); \r\nvar fb = require(\"facebook\");\r\nvar likeButton = fb.createLikeButton({\r\n height: \"50%\", // Note: on iOS setting Ti.UI.SIZE dimensions prevented the button click\r\n width: \"50%\",\r\n objectID: \"https://www.facebook.com/appcelerator\", // URL or Facebook ID\r\n foregroundColor: \"white\", // A color in Titanium format - see Facebook docs\r\n likeViewStyle: 'box_count', // standard, button, box_count - see FB docs\r\n auxiliaryViewPosition: 'inline', // bottom, inline, top - see FB docs\r\n horizontalAlignment: 'left', // center, left, right - see FB docs,\r\n soundEnabled: true // boolean, iOS only\r\n});\r\n\r\nlikeButton.addEventListener(\"statuschange\", function() {\r\n\tTi.API.warn(\"The like status changed!\");\r\n});\r\n\r\nwin.add(likeButton);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-24T20:09:58.000+0000", "updated": "2016-04-24T20:09:58.000+0000" }, { "id": "383757", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "New PR here: https://github.com/appcelerator-modules/ti.facebook/pull/52\r\nCan this ticket be reviewed and resolved? [~hansknoechel] [~apetkov]", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-04-25T02:37:55.000+0000", "updated": "2016-04-26T15:43:17.000+0000" }, { "id": "391501", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Putting this out of 6.0.0, since the community contributor who raised the initial PR did not respond to review-problems so far.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-26T09:49:41.000+0000", "updated": "2016-07-26T09:49:41.000+0000" }, { "id": "419314", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving as {{Won't Fix}} until Facebook supports this officially.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-08T18:32:40.000+0000", "updated": "2017-05-08T18:32:40.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }