{ "id": "115715", "key": "ALOY-704", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15489", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-12T22:00:46.000+0000", "created": "2013-06-08T15:06:36.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:25:57.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": "13610", "name": "Builtins", "description": "Builtin Javascript libraries" }, { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "I have implemented callback parameters for getting the twitter username and userid when signing in with alloy social:\r\n\r\n{code:javascript}\r\nvar social = require('social');\r\n\r\nvar twitter = social.create({\r\n\tconsumerSecret : \"CONSUMER_SECRET\",\r\n\tconsumerKey : \"CONSUMER_KEY\"\r\n});\r\n\r\ntwitter.authorize(function(e) {\r\n\tTi.API.info(\"username: \" + e.username);\r\n\tTi.API.info(\"userid: \" + e.userid);\r\n}\r\n{code}\r\n\r\nGithub: https://github.com/appcelerator/alloy/pull/128", "attachment": [], "flagged": false, "summary": "Alloy social: adding username and userid", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "257366", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dsefton] do we have a basic test case for this ticket?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-12T14:14:48.000+0000", "updated": "2013-06-12T14:14:48.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }