{ "id": "123122", "key": "ALOY-893", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-03-04T21:30:27.000+0000", "created": "2013-12-03T00:40:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "social.js" ], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2018-03-07T22:28:27.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "When using the doc example for Alloy.builtin.social, when trying to authorize the app created via the Dev Twitter website, Twitter gives an error regarding the REST API version used which should be 1.1 instead of 1.0.\r\n\r\nModifying the generated social.js file located in /Resources/alloy fix the issue but a new social.js file in generated everytime the app is compiled.\r\n\r\nSee attachment.", "attachment": [ { "id": "44305", "filename": "Capture d’écran 2013-12-03 à 01.39.49.png", "author": { "name": "sskoua", "key": "sskoua", "displayName": "Arthur Roussel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-03T00:40:17.000+0000", "size": 75961, "mimeType": "image/png" } ], "flagged": false, "summary": "social.js update to REST API 1.1", "creator": { "name": "sskoua", "key": "sskoua", "displayName": "Arthur Roussel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "iOS 7", "comment": { "comments": [ { "id": "295620", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Using the code below, I can successfully interact with the Twitter API using Alloy 1.3.1 and Ti SDK 3.2.1.GA. I can authorize the app and send a tweet. Additionally, code in social.js points to https://api.twitter.com/1.1/statuses/update.json\r\n\r\nI'm closing this as invalid, though I think it was fixed as part of another ticket.\r\n\r\n{code}\r\n\r\n\t\r\n\t\t