{ "id": "149233", "key": "ALOY-1289", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2015-06-29T13:24:25.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "builtins" ], "versions": [], "issuelinks": [ { "id": "57266", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "172845", "key": "TIMOB-26731", "fields": { "summary": "Trying to implement twitter login in my apps", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-19T15:49:43.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13610", "name": "Builtins", "description": "Builtin Javascript libraries" } ], "description": "Authenticating an app via the Alloy social.js built-in no longer works. Twitter returns a long number, which they direct you to enter into the app. The built-in has no support for this, thus the app cannot be authenticated and you can't send tweets.", "attachment": [ { "id": "55991", "filename": "device-2015-06-29-092155.png", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-06-29T13:24:01.000+0000", "size": 424466, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy social.js plug-in incompatible with newest Twitter APIs", "creator": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "environment": null, "comment": { "comments": [ { "id": "356740", "author": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "body": "It appears that the social.js built-in is set up to handle Twitter's PIN-based authentication (https://dev.twitter.com/oauth/pin-based) with the code at https://github.com/appcelerator/alloy/blob/master/Alloy/builtins/social.js#L519. However, it's no longer automatically handling that PIN. Until recently, my app worked just fine using social.js. I have not changed my handling or usage of the library, yet now users are being prompted with the PIN. Perhaps Twitter's response payload has changed.\r\n\r\nThe docs give no guidance on how to manually handle this PIN and there are no sample apps that use it. Maybe this is simply a documentation issue?", "updateAuthor": { "name": "timpoulsen", "key": "timpoulsen", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/Havana" }, "created": "2015-07-02T15:55:46.000+0000", "updated": "2015-07-02T15:55:46.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }