[ALOY-893] social.js update to REST API 1.1
GitHub Issue | n/a |
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-03-04T21:30:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tooling |
Labels | social.js |
Reporter | Mauro Parra-Miranda |
Assignee | Tim Poulsen |
Created | 2013-12-03T00:40:17.000+0000 |
Updated | 2018-03-07T22:28:27.000+0000 |
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.
Modifying 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.
See attachment.
Attachments
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 I'm closing this as invalid, though I think it was fixed as part of another ticket.
Closing as invalid. If this is incorrect, please reopen.