Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1289] Alloy social.js plug-in incompatible with newest Twitter APIs

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsBuiltins
Labelsbuiltins
ReporterTim Poulsen
AssigneeIngo Muschenetz
Created2015-06-29T13:24:25.000+0000
Updated2019-03-19T15:49:43.000+0000

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.

Attachments

FileDateSize
device-2015-06-29-092155.png2015-06-29T13:24:01.000+0000424466

Comments

  1. Tim Poulsen 2015-07-02

    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. The 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?

JSON Source